The hspc-mn-backup utility is used in PBAS migration from one node to another one, or for simple full system backup.
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
- aspc database copy in
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
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-pre
This will not stop MySQL or PBAS. If it will be finished successfully you may start migration to new server.