Problem when restore data from old VPS

xuancong6000

Verified User
Joined
Oct 12, 2012
Messages
79
I try restore this data from another VPS is ok but on current VPS have an errror:
Code:
Unable to extract the directory 'backup' from the file /home/admin/admin_backups/admin.root.admin.tar.gz as user admin

File '/home/admin/admin_backups/admin.root.admin.tar.gz' was 39408 bytes in size, as read by root.
Unable to read the backed up user.usage file: Unable to get Lock on file:
open error for /home/admin/backups/backup/user.usage.lock: No such file or directory
/home/admin/backups/backup: No such file or directory

Cannot read /home/admin/backups/backup/packages.list to restore packages: Unable to open /home/admin/backups/backup/packages.list for reading.
is that problem on my VPS? please help me resolve thanks!
 
Hello,

try this:

Code:
chmod 711 /home/
chmod 711 /home/admin/
chmod 711 /home/admin/admin_backups/
chmod 755 /home/admin/admin_backups/*.tar.gz

and then try to restore once more time.
 
The subject means nothing without seeing it's content. And even you've got notices about errors while restore, that does not mean that the whole restore failed. Is the account restored? Does your site work OK? Mail? Other?
 
The subject means nothing without seeing it's content. And even you've got notices about errors while restore, that does not mean that the whole restore failed. Is the account restored? Does your site work OK? Mail? Other?
I had tried and nothing is restored so I posted to solve problem but now it's still can't restore data:(
 
yes, that file 39kb I try extract on that VPS ok: tar -xzf admin.root.admin.tar.gz don't have any problem but when try restore from control it have an error
 
Try to run the restore process in a debug mode with:

Code:
/usr/local/directadmin/dataskq d800

Note to set a restore task and then run the command.
 
It seems here is a working solution:

Code:
mkdir -p /home/admin/backups/backup/
chown -R admin:admin /home/admin/backups/backup/
 
Back
Top