Print Download PDF Send Feedback

Previous

Next

mds_backup

Description

The mds_backup backs up binaries and data from a Multi-Domain Server to a user specified working directory. You then copy the backup files from the working directory to external storage. This command requires Multi-Domain Superuser privileges.

The mds_backup runs the gtar and dump commands to back up all databases. The collected information is stored in one *.tar file. The file name is a combination of the backup date and time and is saved in the current working directory. For example: 13Sep2019-141437.mdsbk.tar

Important - Starting from Take 76 of R80.30 Jumbo Hotfix Accumulator (PMTR-36614), the mds_backup command generates a file with the *.tar extension (<timestamp>mdsbk.tar) instead of the *.tgz extension (<timestamp>mdsbk.tgz).

To back up a Multi-Domain Server:

  1. Run the mds_backup command from a location outside the product directory tree to be backed up. This becomes the working directory.
  2. After the backup completes, copy the backup *.tar file, together with the mds_restore, gtar and gzip binary files, to your external backup location.

Important notes about backing up and restoring in Management High Availability environment:

For more information:

Syntax

mds_backup -h

mds_backup [-g -b [-d <target_directory>] -s [-v] [-l]]

Parameters

Parameter

Description

-h

Shows help text.

-g

Executes without prompting to disconnect GUI clients.

-b

Batch mode - executes without asking anything (-g is implied).

-d <target_directory>

Specifies the output directory.

If not specified explicitly, the backup file is saved to the current directory.

You cannot save the backup file to the root directory.

-s

Stop Multi-Domain processes before the backup starts.

-v

"Dry run" - Show all files to be backed up, but does not perform the backup operation.

-l

Exclude logs from the backup.

Notes: