Problems restoring

FransVanNispen

Verified User
Joined
Oct 14, 2005
Messages
19
I have some trouble restoring reseller backups from a DirectAdmin FreeBSD version to a DirectAdmin CentOS install.

The errors I get:

05he01 is not a valid username
05he02 is not a valid username
05ka01 is not a valid username
05pe01 is not a valid username
Unable to exact backup/user.conf from /home/admin/user_backups/bizzweb.tar.gz : Error while extracting backup/user.conf to /home/admin/user_backups/bizzweb as admin : /bin/tar: /home/admin/user_backups/bizzweb: Cannot chdir: No such file or directory
/bin/tar: Error is not recoverable: exiting now

gzip: stdout: Broken pipe


Cannot read /home/admin/user_backups/bizzweb/backup/user.conf : Unable to open /home/admin/user_backups/bizzweb/backup/user.conf for reading.

Unable to exact backup/user.conf from /home/admin/user_backups/daoine.tar.gz : Error while extracting backup/user.conf to /home/admin/user_backups/daoine as admin : /bin/tar: /home/admin/user_backups/daoine: Cannot chdir: No such file or directory
/bin/tar: Error is not recoverable: exiting now

gzip: stdout: Broken pipe


Cannot read /home/admin/user_backups/daoine/backup/user.conf : Unable to open /home/admin/user_backups/daoine/backup/user.conf for reading.


I have no clue where to look.

We also made a backup from the admin account, but if I put that back, the restore works and the sites are available for browsing, though I have no way of accessing the admin account anymore as the password gets lost, and the old password isn't working either.

Can anyone please help me or give some tips of why I could to to get the sites online again?
 
Recovering the admin password was simple. Did not think of it before, but I could set a new one with 'passwd admin' as root :)
 
I found the solutions:

The /home/admin/user_backups directory was created as root, which made it impossible for DA to write there as admin.

And the usernames on FreeBSD can start with a digit, while this is not allowed on CentOS.

I used 'chown admin:admin' on the directory and backup files, and renamed the 05*.gz files to u05*.gz

That worked.
 
Back
Top