Backup & Restore issue with DA

Kia

New member
Joined
Oct 12, 2016
Messages
2
Hey guys, my first post here so please be gentle ;-)

I have an issue with my VPS so need to build a new one and transfer all the users from the old to the new.


- I've done a backup with DA at the admin level of all users
- All backed up fine with no errors

What I want to do as a test is to restore a test account back on into DA after I delete the original user (admin) account

I got this error…

Code:
Unable to read the User data files for username

I fixed it by doing this...


Then I got this issue…

Code:
Unable to read /etc/virtual/DOMAIN/passwd Unable to open /etc/virtual/DOMAIN/passwd for reading.

Catch all is now set to :fail:

Unable to read main db file for DOMAIN : Can't open file /var/named/DOMAIN.db for reading

Unable to read the ftp config file for domain DOMAIN

And fixed it by reading this…


Now I got this issue…

Code:
Unable to extract the directory 'backup' from the file /home/admin/admin_backups/user.admin.fwnd.tar.gz as user fwnd

File '/home/admin/admin_backups/user.admin.fwnd.tar.gz' was 31421 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/fwnd/backups/backup/user.usage.lock: No such file or directory
/home/fwnd/backups/backup: No such file or directory

…and I can’t find anything to help me on the net (or this forum). Can anyone here assist?

Basically I’m doing this so I can find out if a backup & restore will work before I restore it on to the new VPS so trying to restore it back to the old VPS to test things out. If it all works fine then I will restore it to the new VPS. But hit last error is bugging me.

Thanks in advance guys!

I’m running CentOS 6 & DirectAdmin
 
Check if the file has been transfered correctly, it may be corrupted.

Also check if the backup file is owned by admin:admin before starting the restore procedure.

Best regards
 
Resolved

Thanks Andrea,

I managed to resolve the issue by rebooting the VPS/DA every time I did one of the processes.

But now all data is safe and sound on the new VPS with no errors.

Cheers again for your input.

Kia.
 
Back
Top