Unable to restore backups?

emmanuel

Verified User
Joined
Mar 26, 2007
Messages
88
I've successfully transferred a few accounts from an existing DA server to a new one using the Admin backup/restore.

However, now I've got two accounts that just refuse to be restored.

From what I see, DA extracts the user.conf file, creates the user and home directory then just dies without any error or indication what's wrong.

The backup files can be untar and unzipped manually so it doesn't appear to be corrupted backups. Just in case, I've done the backup and compared checksums of the files on the original server and the downloaded ones.

Anybody has any idea what else can be done?
 
The message system should display what is wrong with the extract.
 
The message system should display what is wrong with the extract.

That's the puzzling part, there's no error message anywhere.
Now I'm untarring the backup again and watching it on console to see if there was some error midway that wasn't obvious.

However, the process has already gone far beyond what DA could do, which was simply extract the user.conf file
 
The tarball was able to unzip fully.

Now doing some other testing, it seems that something went wrong after the user creation process.

Using the web interface, i tried to create an user and directadmin just hangs there. Under the system log, there is an entry that the user is being created. Then nothing else.
 
Try a manual restore ...

http://help.directadmin.com/item.php?id=198

Immediately after you echo it to the taskq file do this:

/usr/local/directadmin/dataskq d

Then you can watch whats happening in ssh and look for any errors.

It's apparently some unknown process/task that was stuck/dead on my server that was preventing DA from going further. No idea what it was but rebooting the server seemed to have solved it.

I've already managed to restore one of the users so hoping the other one goes through as well.
 
Looks like it might be the other user's backup that's causing problem. DA choked again on trying to restore it. :(

Ah it was actually my noobness showing up again. I forgot to remove the manually extracted files and since DA didn't have permission to over-write them, it choked.

Works after I removed the files. So in the end, I still have no real clue what was the problem that stopped DA in the first place before the reboot fixed it.
 
Last edited:
Back
Top