Resolution
The hspc-mn-backup utility is used in PBAS migration from one node to another one, or for simple full system backup.Related articles:
http://kb.parallels.com/en/2126
http://download1.swsoft.com/HSPcomplete/3.3/release/doc/HSPC_ADV/16095.htm
This migration utility make one large backup with all files inside directories:
/var/lib/mysql
/var/opt/
/var/www/
/etc/hspc
/etc/hspcd
/etc/httpd
/etc/my.cnf
/etc/powerdns
/vz/
So there is a way to speed up this utility by checking the above directories for some unnecessary files, usually such files are:
- - old dumps in /var/lib/mysql/
- - aspc database copy in /var/lib/mysql/
But in most cases the hugest folder is /vz/tmplrep/ where rpms are stored. Basically, before the migration you may move all /vz/tmplrep/ folder to new server with scp command , and move it on source off /vz/ folder, for example to /root/tmplrep/ .
Also, you may check estimated time how long backup will be created and how much it will take without stopping PBAS with command:
# hspc-mn-backup -b --no-preThis will not stop MySQL or PBAS. If it will be finished successfully you may start migration to new server.