parser=argparse.ArgumentParser(description='tool to synchronize ceph rbd images between two clusters',usage='python3 main.py --source rbd/image_name --destination rbd_backup/backup_test_destination')
parser=argparse.ArgumentParser(description='tool to synchronize ceph rbd images between two clusters, using ssh',usage='python3 main.py --source username@server:rbd/image_name --destination rbd_backup/backup_test_destination')
parser.add_argument('-w','--whole-object',action="store_true",dest='wholeObject',help='do not diff for intra-object deltas. Dramatically improves diff performance but may result in larger delta backup',required=False,default=True)
parser.add_argument('-healty','--wait-until-healthy',action="store_true",dest='waitHealthy',help='wait until cluster is healthy',required=False,default=True)
parser.add_argument('-no-scrub','--no-scrubbing',action="store_true",dest='noScrubbing',help='wait for scrubbing to finnish and disable scrubbing (does re-enable scrubbing automatically). This implies --wait-until-healthy',required=False,default=False)