Previous Topic

Locate topic in Contents

Using Management Node Backup Tool

Management Node can be backed up using the hspc-mn-backup utility shipped with Parallels Business Automation - Standard distribution. After Parallels Business Automation - Standard installation hspc-mn-backup is located at the Management Node in the /usr/sbin directory.

The hspc-mn-backup utility allows you to:

The following Management Node directories are backed up:

Directory

Description

/var/lib/mysql/

Parallels Business Automation - Standard database

/etc/my.cnf

MySQL configuration file

/var/www/.ssh/

Virtuozzo hardware nodes access

/etc/hspc/

Parallels Business Automation - Standard configuration files and license

/etc/httpd/

Frontend configuration files

/etc/hspcd/

Application server configuration files

/var/opt/hspc-root

Customization files

/var/opt/hspc-event-manager/

Event manager templates

/vz/

Parallels Virtuozzo Containers integration files

Management Node backup is a compressed tarball and by default, it is put into a current directory. A backup file is named hspc-mn-backup_YYYY.MM.DD (as design), where YYYY.MM.DD is a backup creation date in the Year.Month.Day format (for example, hspc-mn-backup_2006.09.06.tar.bz2). A backup creation date is also used as a backup identifier (ID) and you can use this ID in the hspc-mn-backup command line to specify a backup file to deal with.

Command line syntax:

hspc-mn-backup [options]

Options:

Option

Description

-u or --usage

Print a brief help and exit.

-? or -h or --help

Print the manual page and exit.

-b or --backup

Start Management Node backup process.

-r or --restore

Start restore process.

-m or --migrate

Start migration process to the node specified.

-v or --verbose

Increase the verbose level. Single use of the option sets the output to debug level.

-q or --quiet

Decrease the verbose level. Single use of the option sets the output only for serious problems.

-C or --directory

Put backup files into a directory specified instead of a current one.

-i or --id

Use a specified backup (ID) instead of a dated of today.

-p or --no-pre

Do not perform pre-backup actions. Pre-backup actions consist in stopping all the services on a Management Node.

-P or --no-post

Do not perform post-backup actions. Post-backup actions consist in starting all services.

-f or --force

Do not perform the check of the ability of restoring backup on a current node.

Please send us your feedback on this help page