Restore backup

arky_

Verified User
Joined
Apr 25, 2020
Messages
67
Hello, I have made a backup of two domains and mailboxes in the directadmin panel of the current operator and transferred it to my server. After the operation of restoring the backup, I received the following messages:

Zrzut ekranu (75).png

The name and password are different for my current operator and for me.

I currently have a "Personal" license - 1 account, 10 domains
How can I bring the copies back?
 
You could create the 2 domains under your user on the new server and copy the data (i.e. rsync) manually between servers and and import the databases. If you don't have SSH access on the old server, you can just extract the .tar.gz backup files you have and add all backed up data in the correct places under the newly created domains on your new server.
 
You could create the 2 domains under your user on the new server and copy the data (i.e. rsync) manually between servers and and import the databases. If you don't have SSH access on the old server, you can just extract the .tar.gz backup files you have and add all backed up data in the correct places under the newly created domains on your new server.
And is it possible to use rsync live to transfer data of these two domains and mailboxes?
I have little space with the current operator and I won't make a new copy of today.
 
Sure, just copy them to the right locations and chown them to the correct user on your new server.
 
is there a tutorial somewhere, what content (from where and from) I need to move to make everything work on my server?
 
What’s the name of the backup file? Generally its because the file will be named as the user and not admin. Change the username to admin in the filename and try to restore again.
 
Change the username to admin in the filename and try to restore again.
I wouldn't do that, as this can overwrite the current admin account including the content.

I would just create the domain name in admin on user level. Unpack the backup, restore the website to the public_html folder of that domain, mostly /home/admin/domains/domainname.com/public_html and if there is a mysql database, create a new one on your account and restore the database to it. After that, don't forget to change the database credentials in the website config.
 
The alternative is to rename user.admin.fred.tar.gz to be user.admin.admin.tar.gz, and restore it from ~/admin_backups, keeping in mind that the user.conf settings from the backup would be imposed upon the "admin" account, which is not usually desirable.

So renaming the file not to admin but the user and restore from user level from /home/admin/backups would be an option according to the doc.
 
Back
Top