Create an instant backup of a Ceph OSD node metadata or a Ceph Monitor node

Create an instant backup of a Ceph OSD node metadata or a Ceph Monitor node

After you create a backup schedule as described in Create a backup schedule for Ceph nodes, you may also need to create an instant backup of a Ceph OSD node metadata or a Ceph Monitor node.

Note

The procedure below does not cover the backup of the Ceph OSD node data.

To create an instant backup of a Ceph node:

  1. Verify that you have completed the steps described in Create a backup schedule for Ceph nodes.

  2. Log in to a Ceph node. For example, to cmn01.

  3. Run the following script:

    /usr/local/bin/ceph-backup-runner-call.sh
    
  4. Verify that a complete backup was created locally:

    ls /var/backups/ceph/full
    
  5. Verify that the complete backup was rsynced to the ceph backup server node from the Salt Master node:

    salt -C 'I@ceph:backup:server' cmd.run 'ls /srv/volumes/backup/ceph/full'