1 Description
This instruction describes how to set automatic export of scheduled backups.
Setting automatic export of scheduled backups prevents that these are lost through manual or automated deletion. Scheduled backups can then always be retrieved from an external file storage.
By default the exporting of scheduled backups is disabled.
Exported scheduled backups are not deleted from the local persistent storage media. For information on how to enable automatic deletion of manual backups, refer to Enable Automatic Deletion of Manual Backups.
2 Procedure
2.1 Set Automatic Export of Scheduled Backups
Prerequisites
- No documents are required.
- No tools are required.
- The following condition must apply:
- The backup scheduler is set up and unlocked.
- Note:
- If the backup scheduler is locked, any ongoing scheduled export is cancelled and no alarm is raised.
- The backup type is known.
- If exporting to a local storage location using the FileM
protocol, the backup folder is known. By default, Backup and Restore
Management (BRM) creates the BackupAndRestoreManagementFiles folder to store local backups. It is possible to create subfolders
within BackupAndRestoreManagementFiles.
The format of the FileM URI:
file:///BackupAndRestoreManagementFiles
- If exporting to an external storage location, the URI
of the remote location that receives the exported scheduled backups
is known. Only SSH File Transfer Protocol (SFTP) URIs are supported.
sftp://<user_id>@<hostname_or_ip_address>/<remote_destination_directory>
- The SFTP user password is known (optional for servers that do not require a password).
- An Ericsson Command-Line Interface (ECLI) session in Exec mode is in progress.
- The backup scheduler is set up and unlocked.
Steps
- Navigate to the BrmBackupScheduler managed object, for example:
>dn ManagedElement=NODE06ST,SystemFunctions=1,BrM=1,BrmBackupManager=SYSTEM_DATA,BrmBackupScheduler=SYSTEM_DATA
- Enter Config mode:
(BrmBackupScheduler=SYSTEM_DATA)>configure
- Set the URI of the location where scheduled backups are
exported:
- To export to a remote server:
(config-BrmBackupScheduler=SYSTEM_DATA)>autoExportUri=sftp://hostuser1@host1/home/hostuser1/
- Note:
- The value of attribute autoExportUri cannot be cleared using ECLI command no autoExportUri.
- To export to a local file directory:
(config-BrmBackupScheduler=SYSTEM_DATA)> autoExportUri=file:///BackupAndRestoreManagementFiles
- Note:
- To prevent exceeding disk space, users can add a preventive maintenance policy for BackupAndRestoreManagementFiles. For further information, refer to COM documents about FileGroup and FileGroupPolicy.
- Is a URI password required?
Yes: Continue with the next step.
No: Proceed with Step 6.
- Set the URI password used for exporting scheduled backups,
for example:
(config-BrmBackupScheduler=SYSTEM_DATA)>autoExportPassword="hostuser1pw" cleartext
- Enable export of scheduled backups:
(config-BrmBackupScheduler=SYSTEM_DATA)>autoExport=ENABLED
- Note:
- The value of attribute autoExport cannot be cleared using ECLI command no autoExport.
- Commit the change:
(config-BrmBackupScheduler=SYSTEM_DATA)>commit
- Verify the change:
(BrmBackupScheduler=SYSTEM_DATA)>show
The following is an example output:
BrmBackupScheduler=SYSTEM_DATA autoExport=ENABLED autoExportPassword="1:kkfYDdhqZNDRQ2HY62/ZsJyt1A2UaVN/" autoExportUri="sftp://hostuser1@host1/home/hostuser1/"

Contents