How to restore on clustered servers
Posted: Sun Jul 09, 2017 5:23 pm
Hi Good Day to all!!!
I back up a single server (all-in-one)
How can I restore this to a cluster servers?
Thank you in advance.
I back up a single server (all-in-one)
- Code: Select all
# perl /usr/share/astguiclient/ADMIN_backup.pl --debugX
----- DEBUG -----
----- SUPER DEBUG -----
----- Mysql dump -----
DBX- starting to backup database 0: asterisk
/usr/bin/mysqldump --user=cron --password=xxxx --lock-tables --flush-logs asterisk | /usr/bin/gzip > / var/log/astguiclient/archive/temp/XXX.XX.XX.XXXasterisk0.gz
/bin/tar cf /var/log/astguiclient/archive/temp/XXX.XX.XX.XXX_CONF_0.tar /etc/astguiclient.conf /etc/d ahdi /etc/asterisk
/bin/tar: Removing leading `/' from member names
/bin/tar cf /var/log/astguiclient/archive/temp/XXX.XX.XX.XXX_LINUX_0.tar /etc/my.cnf /etc/crontab_snap shot /etc/hosts /etc/resolv.conf
/bin/tar: Removing leading `/' from member names
/bin/tar cf /var/log/astguiclient/archive/temp/XXX.XX.XX.XXX_WEB_0.tar /srv/www/htdocs
/bin/tar: Removing leading `/' from member names
/bin/tar cf /var/log/astguiclient/archive/temp/XXX.XX.XX.XXX_BIN_0.tar /var/lib/asterisk/agi-bin /usr/ share/astguiclient
/bin/tar: Removing leading `/' from member names
/bin/tar cf /var/log/astguiclient/archive/temp/XXX.XX.XX.XXX_SOUNDS_0.tar /var/lib/asterisk/sounds
/bin/tar: Removing leading `/' from member names
/bin/tar cf /var/log/astguiclient/archive/temp/XXX.XX.XX.XXX_VOICEMAIL_0.tar /var/spool/asterisk/voice mail
/bin/tar: Removing leading `/' from member names
/bin/tar cf /var/log/astguiclient/archive/XXX.XX.XX.XXX_ALL_0.tar /var/log/astguiclient/archive/temp
/bin/tar: Removing leading `/' from member names
rm -f /var/log/astguiclient/archive/XXX.XX.XX.XXX_ALL_0.tar.gz
/usr/bin/gzip -9 /var/log/astguiclient/archive/XXX.XX.XX.XXX_ALL_0.tar
rm -fR /var/log/astguiclient/archive/temp
script execution time in seconds: 32 minutes: 0.533333333333333
DONE, Exiting...
How can I restore this to a cluster servers?
Thank you in advance.