Reseller restore issues - "/bin/tar: backup: Not found in archive"

dingham

Verified User
Joined
Jun 6, 2008
Messages
17
Location
London, England
Hi Guys,
I've been trying different things for a while now & DA keeps throwing this error at me.

Unable to extract the directory 'backup' from the file /home/admin/admin_backups/reseller.admin.user.tar.gz as user user
/bin/tar: backup: Not found in archive
/bin/tar: Error exit delayed from previous errors

I do not understand why this error is occurring. I've seen how DA extracts things & have tried to copy it on the command line, but it works fine.

cd /home/admin/admin_backups
su -p user
mkdir user
cd user
tar -zxvf ../reseller.admin.user.tar.gz

The 'backup' & 'domains' folders & all of their contents are successfully extracted.

Any ideas on what's going on?

Cheers,
 
yup.

cd /home/admin/admin_backups
su -p user
mkdir user
cd user
tar -zxvf ../reseller.admin.user.tar.gz
chown -R user:user *
tar -zcpvf ../reseller.admin.user.tar.gz .

Permissions on the tgz are fine & I've tried setting to both 'admin' & 'user' (one of the initial errors I got said DA was trying to untar the archive as 'user', so I set 'user' to full permissions over both the files & the working directory).

I've already tried several permutations of this, to no avail. It all untars fine on the command line, but restores via the DA interface keeps getting stuck.
 
When we had the problem we simply changed ownership of the tarball to admin:admin and then we were able to do the restore.

If your license includes support from DirectAdmin, you may want to contact them. Otherwise your license provider should be able to support you.

Alternatively, third-party support is available from us and from others who post on these forums.

Jeff
 
Back
Top