Creating backup profiles and scheduling backups - BlueCat Address Manager - 8.3.1

Address Manager Administration Guide

prodname
BlueCat Address Manager
version_custom
8.3.1

How to create and edit backup profiles.

Use configure backup <backup profile name> command to create your own backup profile and configure the settings as you want, or to edit the existing backup profile. You can add scheduled backup information to run the backup automatically.

Note: When configuring a backup profile with a remote host, ports 21 (for FTP) or 22 (for SFTP) must be open on the firewall between Address Manager and the remote host.

To create or edit a backup profile, or to schedule backups:

  1. Log in to the Address Manager Administration Console. For instructions, refer to Using the Administration Console.
  2. From Main Session mode, type configure additional and press ENTER.
  3. Type configure backup <backup profile name> and press ENTER. You enter backup configuration mode and the following default backup settings appear:
    Note:
    • If you are creating a new backup profile, the default values appear.
    • If you are editing an existing backup profile, the current settings for the profile appear.
      • ID—the name of the backup profile.
      • Schedule—the day of the week or the frequency of the backup schedule, and the time of day at which the schedule runs. The default value is none.
      • Files to keep—the number of backup files retained in the local or remote backup directory. Valid values are between 2 and 20. The default value is 10.
      • File Prefix—a prefix appearing at the beginning of the backup file filename. A file prefix is required and must be one to 10 alphanumeric characters, without spaces. The default prefix is backup.
      • Save local—when set to yes, backup files are saved on the local server in the /data/backup directory. When set to no, backup files are not saved on the local server. A backup schedule can save files both locally and remotely.
      • Save remotely—when set to yes, backup files are saved remotely. When set to no, backup files are not saved remotely.
      • Remote host—in a remote backup, the host name or IP address for the remote location where the backup files are saved. The default value is blank.
      • Remote directory—in a remote backup, the directory where the backup files are saved. The default value is blank.
      • Remote user—in a remote backup, the user name used to connect to the remote location. The default value is blank.
      • Remote password—in a remote backup, the password for the user account used to connect to the remote location. The password does not appear on the screen.
      • Transfer protocol—in a remote backup, the protocol used to transfer the backup files to the remote location. The transfer protocol can be ftp or sftp. The default value isftp.
  4. Type schedule <weekday|everyday|none> <time> and press ENTER.
    • The weekday parameter selects the day of the week on which to run the backup. Type any one of these values: everyday, monday, tuesday, wednesday, thursday, friday, saturday or sunday.
    • The time is specified using in the twenty-four hour clock format. For example, the value 200 indicates 2:00 AM, while the value 1400 indicates 2:00 PM.
    • To create a backup that runs only when called by the execute backup command, type none in the weekday parameter.
  5. Type keep-files <2-20> and press ENTER.
  6. Type file-prefix <prefix> and press ENTER. The prefix must contain up to 10 alphanumeric characters without spaces.
  7. Type save-local <yes|no> and press ENTER. When save-local is set to yes, backup files are saved on the local server in the /data/backup directory. When save-local is set to no, backup files are not saved on the local server. A backup schedule can save files both locally and remotely.
  8. Type save-remote <yes|no> and press ENTER. When save-remote is set to yes, backup files are saved at a remote location that you can specify. When save-remote is set to no, backup files are not saved to a remote location. A backup schedule can save files both locally and remotely.
  9. If configuring a remote backup, you must configure the remote host. Type remote-host <hostname> and press ENTER. For hostname, type the host name or IP address for the host. The host name may contain up to 255 characters without spaces. The remote host must be running an FTP service.
    Note: Currently, there is a limitation that the labels of the hostname cannot contain only numbers. For example, 1.example.org is not an accepted hostname; however, 1host.example.org is an accepted hostname.
  10. If configuring a remote backup, you must set the remote directory. Type remote-dir <directorypath> and press ENTER. For directoryPath, type the directory or directory path in which you want to save the backup files on the remote host. The directory path may contain up to 1024 characters without spaces.
  11. If configuring a remote backup, you must set the remote user name. Type remote-user <username> and press ENTER. For username, type the user name used to log in to the remote host. The user name may contain up to 64 characters without spaces.
  12. If configuring a remote backup, you must set the remote user password. Type remote-password and press ENTER. You are prompted to enter a password.
  13. If configuring a remote backup, you can set the file transfer protocol. Type transfer-protocol <ftp|sftp> and press ENTER.
    Note: If you do not specify the transfer protocol, the backup uses FTP as the default transfer protocol.
  14. At the password prompt, type the password to the remote host and press ENTER. The password may contain up to 64 alphanumeric and special characters without spaces. The following characters cannot be used in the password: ~ ; > $ < > ‘’ \ / “” & , : ^ [ ] ( ).
    Note: If reviewing your changes before saving (show), the Remote password field will be left blank, even if you have set a remote password.
  15. Type save and press ENTER.