equal
deleted
inserted
replaced
208 else: |
208 else: |
209 print '-> failed to backup instance' |
209 print '-> failed to backup instance' |
210 return |
210 return |
211 if os.system(cmd): |
211 if os.system(cmd): |
212 print '-> error trying to backup with command', cmd |
212 print '-> error trying to backup with command', cmd |
213 if not confirm('Continue anyway?', default_is_yes=False): |
213 if not confirm('Continue anyway?', default='n'): |
214 raise SystemExit(1) |
214 raise SystemExit(1) |
215 else: |
215 else: |
216 print '-> backup file', backupfile |
216 print '-> backup file', backupfile |
217 restrict_perms_to_user(backupfile, self.info) |
217 restrict_perms_to_user(backupfile, self.info) |
218 |
218 |