@utils.arg('backup', metavar='<backup>', help='ID of the backup to restore.')
@utils.arg('--monitor-id', metavar='<monitor-id>', help='Optional ID of the monitor to restore to.', default=None)
@utils.service_type('monitor')
def do_backup_restore(cs, args):
 cs.restores.restore(args.backup, args.monitor_id)

@ utils . arg ( 'backup' , metavar = '<backup>' , help = 'ID of the backup to restore.' ) @ utils . arg ( '--monitor-id' , metavar = '<monitor-id>' , help = 'Optional ID of the monitor to restore to.' , default = None ) @ utils . service_type ( 'monitor' ) def do_backup_restore ( cs , args ) : cs . restores . restore ( args . backup , args . monitor_id )
restore a backup .