Migration

dailyhost

Verified User
Joined
Nov 26, 2019
Messages
39
Hi

Can u guide me how to migration directadmin to directadmin

I m new so please guide and stepps detail wise

Thanks
 
From an admin side, login to your 1st DirectAdmin server and click "Admin Tools" then "Admin Backup/Transfer" and take a backup of the selected accounts either locally or remotely using the "Schedule" option. You can select backups to run once or on a cron automatically.

If it's local, download the backups from the default /home/admin/admin_backups directory and upload them to your 2nd server in the same directory.

To restore them, login to your 2nd DirectAdmin server and click the same page, click the "Restore" option, select your backups and start the process.

For user backups, there is a similarly named page where you can download a full website backup and then you can upload and restore on server two.

For MYSQL backups they can be found at /usr/local/directadmin/custombuild/mysql_backups
You can schedule a SQL backup using the commands:
Code:
cd /usr/local/directadmin/custombuild
./build set mysql_backup yes
./build mysql_backup

They can be restored with the following:
Code:
cd /usr/local/directadmin/custombuild/mysql_backups
wget http://files1.directadmin.com/services/all/mysql/restore_sql_files.sh
chmod 755 restore_sql_files.sh
./restore_sql_files.sh
 
Last edited by a moderator:
From an admin side, login to your 1st DirectAdmin server and click "Admin Tools" then "Admin Backup/Transfer" and take a backup of the selected accounts either locally or remotely using the "Schedule" option. You can select backups to run once or on a cron automatically.

If it's local, download the backups from the default /home/admin/admin_backups directory and upload them to your 2nd server in the same directory.

To restore them, login to your 2nd DirectAdmin server and click the same page, click the "Restore" option, select your backups and start the process.

For user backups, there is a similarly named page where you can download a full website backup and then you can upload and restore on server two.

For MYSQL backups they can be found at /usr/local/directadmin/custombuild/mysql_backups
You can schedule a SQL backup using the commands:
Code:
cd /usr/local/directadmin/custombuild
./build set mysql_backup yes
./build mysql_backup

They can be restored with the following:
Code:
cd /usr/local/directadmin/custombuild/mysql_backups
wget http://files1.directadmin.com/services/all/mysql/restore_sql_files.sh
chmod 755 restore_sql_files.sh
./restore_sql_files.sh


i try but not done properly
 
From an admin side, login to your 1st DirectAdmin server and click "Admin Tools" then "Admin Backup/Transfer" and take a backup of the selected accounts either locally or remotely using the "Schedule" option. You can select backups to run once or on a cron automatically.

If it's local, download the backups from the default /home/admin/admin_backups directory and upload them to your 2nd server in the same directory.

To restore them, login to your 2nd DirectAdmin server and click the same page, click the "Restore" option, select your backups and start the process.

For user backups, there is a similarly named page where you can download a full website backup and then you can upload and restore on server two.

For MYSQL backups they can be found at /usr/local/directadmin/custombuild/mysql_backups
You can schedule a SQL backup using the commands:
Code:
cd /usr/local/directadmin/custombuild
./build set mysql_backup yes
./build mysql_backup

They can be restored with the following:
Code:
cd /usr/local/directadmin/custombuild/mysql_backups
wget http://files1.directadmin.com/services/all/mysql/restore_sql_files.sh
chmod 755 restore_sql_files.sh
./restore_sql_files.sh


i take backup one server how to upload 2nd server
 
Back
Top