Set Automatic Export of Scheduled Backups

Contents

1Introduction
1.1Prerequisites

2

Procedure

1   Introduction

This document 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.

1.1   Prerequisites

This section describes the prerequisites, which must be fulfilled before using the procedure.

1.1.1   Conditions

The following conditions must apply:

2   Procedure

To set automatic export of scheduled backups:

  1. Navigate to the BrmBackupScheduler managed object, for example:

    >dn ManagedElement=<Node Name>,SystemFunctions=1,BrM=1,BrmBackupManager=USER_DATA,BrmBackupScheduler=USER_DATA

  2. Enter Config mode:

    (BrmBackupScheduler=USER_DATA)>configure

  3. Set the URI of the location where scheduled backups are exported, for example:

    (config-BrmBackupScheduler=USER_DATA)>autoExportUri=sftp://hostuser1@host1/home/hostuser1/

    Note:  
    Only SFTP URIs are supported. The syntax is sftp://<user_id>@<hostname_or_ip_address>/<remote_destination_directory>

    The value of attribute autoExportUri cannot be cleared using ECLI command no autoExportUri.


  4. Is a URI password required?

    Yes: Continue with the next step.

    No: Proceed with Step 6.

  5. Set the URI password used for exporting scheduled backups, for example:

    (config-BrmBackupScheduler=USER_DATA)>autoExportPassword="hostuser1pw" cleartext

  6. Enable export of scheduled backups:

    (config-BrmBackupScheduler=USER_DATA)>autoExport=ENABLED

    Note:  
    The value of attribute autoExport cannot be cleared using ECLI command no autoExport.

  7. Commit the change:

    (config-BrmBackupScheduler=USER_DATA)>commit

  8. Verify the change:

    (BrmBackupScheduler=USER_DATA)>show

    The following is an example output:

BrmBackupScheduler=USER_DATA
   autoExport=ENABLED
   autoExportPassword="1:kkfYDdhqZNDRQ2HY62/ZsJyt1A2UaVN/"
   autoExportUri="sftp://hostuser1@host1/home/hostuser1/"