Article ID: 6290, created on May 4, 2009, last review on May 11, 2014

  • Applies to:
  • Odin Business Automation Standard 4.x

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:

How to upgrade OS (major) of PBA-S Server or migrate PBA-S to new container

Using Management Node Backup Tool for PBA-S 4.2

Using Management Node Backup Tool for PBA-S 4.3

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-pre

This will not stop MySQL or PBAS. If it will be finished successfully you may start migration to new server.

400e18f6ede9f8be5575a475d2d6b0a6 caea8340e2d186a540518d08602aa065 70a5401e8b9354cd1d64d0346f2c4a3e

Email subscription for changes to this article
Save as PDF