Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
##################################################################################
# Author: Gagandeep Arora
# Date: 01-Oct-2014
# Purpose: To sync the rbds using incremenatl snapshots from production ceph cluster
# to backup ceph cluster
##################################################################################
mirrorPool() {
#list all images in the pool
IMAGES=`$SOURCERBDCMD ls $SOURCEPOOL`