Backup restoring fails

DSM

Verified User
Joined
Oct 1, 2003
Messages
6
Location
Netherlands
Hello,

Sometimes I get the following error while restoring a backup:
Unable to read /home/myuser/backups/backup/mydomain.nl/email/passwd : Unable to open /home/myuser/backups/backup/mydomain.nl/email/passwd for reading.
Unable to read /home/myuser/backups/backup/mydomain.nl/email/aliases Unable to open /home/myuser/backups/backup/mydomain.nl/email/aliases for reading.
Unable to read /home/myuser/backups/backup/mydomain.nl/email/autoresponder.conf Unable to open /home/myuser/backups/backup/mydomain.nl/email/autoresponder.conf for reading.
Unable to read /home/myuser/backups/backup/mydomain.nl/email/vacation.conf Unable to open /home/myuser/backups/backup/mydomain.nl/email/vacation.conf for reading.

The first time I got this error, was when I made a backup local from an account. When I copied this backup to another server and tried to restore it there, I got this error.

Then I found out, that when I use the ftp option of the backup, I did not have this problem.

It seemed like when a user has not enough space free for the backup, it will leave out some files.

But now I get this error also when I used the backup-to-ftp option.

Anybody who has had this same problem and knows the solution?

Regards,

Dennie Pasman
 
I just got another error by restoring another user account.

The system says it has succesfully restored the backup. However I'm missing 1 domain in the list of domains of that user.

Any solutions? :)

Regards,

Dennie Pasman
 
I think I found the problem of why these errors appear. The domein which gives the error, has been removed from the account a while ago.

However it seems that this domain is still included in the backup for some reason. I checked the domain list file for this user, and the domain does not appear in it.

Any solutions about this problem? Maybe someone from Directadmin support?

Regards,

Dennie Pasman
 
Hello,

Does the account already exist with some domains before doing the restore? I think the restore function will assemble a full list of all domains from the active users domains.list, and from the backup file (looks for backup/domain.com). Once it has the full list, it goes through each domain in the list and tries to restore them. If the domain exists in the active user, but not the backup.. it might explain the errror.

As for the current missing domain, try manualy adding the domain to the users domains.list file (/usr/local/directadmin/data/users/username/domains.list).

Regarding "not enough free space" for the user when making backups, we have a feature avaiable for that:
Admin Level -> Admin Settings -> Allow Users with less than 60% Disk Usage to create Backups.

John
 
Same problem here! The disk usage and domain.list it's ok but i have the same error when i tried to restore the domain in another new server.

This happend with some domains, i check the permission of /etc/virtual/domain.com and all seem to be fine..

any idea ? :rolleyes:
 
Domain Created Successfuly

Unable to read /home/username/backups/backup/domain.com/email/passwd : Unable to open /home/username/backups/backup/domain.com/email/passwd for reading.

Unable to read /home/username/backups/backup/domain.com/email/aliases Unable to open /home/username/backups/backup/domain.com/email/aliases for reading.

Unable to read /home/username/backups/backup/domain.com/email/autoresponder.conf Unable to open /home/username/backups/backup/domain.com/email/autoresponder.conf for reading.

Unable to read /home/username/backups/backup/domain.com/email/vacation.conf Unable to open /home/username/backups/backup/domain.com/email/vacation.conf for reading.

Unable to read /home/username/backups/backup/domain.com/email/email.conf Can't get a lock on /home/username/backups/backup/domain.com/email/email.conf
 
Hello,

Try manually extracing the user.tar.gz file, and checking to see if backup/domain.com/email is there.

John
 
Back
Top