cd /usr/local/directadmin/custombuild
./build set mysql_backup yes
./build mysql_backup
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
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