Viewing and Filtering Cloud Backups (CLI)

You can view 100 completed cloud backups at one time, and use the next and previous commands to scroll forward and backward by 100 backups. Additionally, you can filter the list by five properties: target, source, format, dataset, and parent.

  1. Go to configuration services cloud backups.
    hostname:> configuration services cloud backups
  2. Enter ls to view the properties and cloud backups.

    The Backups list contains completed cloud backups, and is in chronological order. Up to one hundred cloud backups are displayed.

    hostname:configuration services cloud backups> ls
    Properties:
       total    = 68
       selected = 68
       target   = (unset)
       format   = (unset)
       source   = (unset)
       dataset  = (unset)
       parent   = (unset)
    Backups:
    BACKUP     UPLOADED           TARGET      SOURCE   DATASET
    backup-000 2019-8-04 17:14:08 oci-phoenix hostname p1/local/default/fs-1@snap2
    backup-001 2019-8-04 17:25:36 oci-phoenix hostname p1/local/default/fs-1@snap31
    backup-002 2019-8-11 10:04:29 oci-phoenix hostname p1/local/default/fs-49@snap100
    backup-003 2019-8-15 11:18:32 oci-phoenix hostname p1/local/default/fs-1@snap1192
    backup-004 2019-8-16 23:09:16 oci-ashburn hostname p1/local/default/fs-22@snap107
    .
    .
    .
    backup-066 2019-8-19 11:28:47 oci-phoenix server38 p1/local/default/fs-386@snap51
    backup-067 2019-8-19 18:13:06 oci-phoenix server38 p1/local/default/fs-386@snap54
    
  3. Use the next command to list the next 100 backups, and use the previous command to list the previous 100 backups.
  4. To filter the list, set a property to a specific value, and then enter ls. To clear the filter, unset the property.

    You can set and unset multiple filters. The properties that can be filtered are: target, source, format, dataset, and parent. The target and parent properties must be an exact match; the other properties can be partial values.

    Note:

    After filtering, the cloud backup numbering begins again at backup-000. You can immediately perform an operation on the new backup numbers. If you do not filter the cloud backups list and then perform an operation, be sure to use the original backup numbers.
    hostname:configuration services cloud backups> set target=oci-ashburn
         target = oci-ashburn
    hostname:configuration services cloud backups> ls
    Properties:
       total    = 68
       selected = 1
       target   = oci-ashburn
       format   = (unset)
       source   = (unset)
       dataset  = (unset)
       parent   = (unset)
    Backups:
    BACKUP     UPLOADED           TARGET      SOURCE   DATASET
    backup-000 2019-8-16 23:09:16 oci-ashburn hostname p1/local/default/fs-22@snap107
    hostname:configuration services cloud backups> unset target
         target = (unset)
    hostname:configuration services cloud backups> set source=server
         source = server
    hostname:configuration services cloud backups> ls
    Properties:
       total    = 68
       selected = 2
       target   = (unset)
       format   = (unset)
       source   = server
       dataset  = (unset)
       parent   = (unset)
    Backups:
    BACKUP     UPLOADED           TARGET      SOURCE   DATASET
    backup-000 2019-8-19 11:28:47 oci-phoenix server38 p1/local/default/fs-386@snap51
    backup-001 2019-8-19 18:13:06 oci-phoenix server38 p1/local/default/fs-386@snap54
    hostname:configuration services cloud backups> unset source
         source = (unset)
    hostname:configuration services cloud backups> set target=oci-phoenix
         target = oci-phoenix
    hostname:configuration services cloud backups> set dataset=snap1
         dataset = snap1
    hostname:configuration services cloud backups> ls
    Properties:
       total    = 68
       selected = 2
       target   = oci-phoenix
       format   = (unset)
       source   = (unset)
       dataset  = snap1
       parent   = (unset)
    Backups:
    BACKUP     UPLOADED           TARGET      SOURCE   DATASET
    backup-000 2019-8-11 10:04:29 oci-phoenix hostname p1/local/default/fs-49@snap100
    backup-001 2019-8-15 11:18:32 oci-phoenix hostname p1/local/default/fs-1@snap1192
    hostname:configuration services cloud backups> unset target
         target = (unset)
    hostname:configuration services cloud backups> unset dataset
         dataset = (unset)
    hostname:configuration services cloud backups> ls
    Properties:
       total    = 68
       selected = 68
       target   = (unset)
       format   = (unset)
       source   = (unset)
       dataset  = (unset)
       parent   = (unset)
    Backups:
    BACKUP     UPLOADED           TARGET      SOURCE   DATASET
    backup-000 2019-8-04 17:14:08 oci-phoenix hostname p1/local/default/fs-1@snap2
    backup-001 2019-8-04 17:25:36 oci-phoenix hostname p1/local/default/fs-1@snap31
    backup-002 2019-8-11 10:04:29 oci-phoenix hostname p1/local/default/fs-49@snap100
    backup-003 2019-8-15 11:18:32 oci-phoenix hostname p1/local/default/fs-1@snap1192
    backup-004 2019-8-16 23:09:16 oci-ashburn hostname p1/local/default/fs-22@snap107
    .
    .
    .
    backup-066 2019-8-19 11:28:47 oci-phoenix server38 p1/local/default/fs-386@snap51
    backup-067 2019-8-19 18:13:06 oci-phoenix server38 p1/local/default/fs-386@snap54