Lines Matching full:backup

4 # Tests for incremental drive-backup
48 return transaction_action('drive-backup', job_id=device, device=device,
60 return (self.drive['backup'], None)
85 for backup in self.backups:
86 for image in backup:
115 def add_node(self, node_id, fmt=iotests.imgfmt, path=None, backup=None): argument
118 if backup is None:
119 backup = os.path.join(iotests.test_dir,
120 '%s.full.backup.%s' % (node_id, fmt))
125 'backup': backup,
145 self.vm.cmd('drive-backup', **kwargs)
164 # Backup succeeded.
168 # Backup failed.
185 format=drive['fmt'], target=drive['backup'])
187 self.files.append(drive['backup'])
188 return drive['backup']
262 # Sanity: Create a "hollow" incremental backup
293 Create a bitmap and a full backup before VM execution begins,
329 # Create a cluster_size=128k full backup / "anchor" backup
330 self.img_create(drive0['backup'], cluster_size='128k')
333 target=drive0['backup'],
353 # Prepare a cluster_size=128k backup target without a backing file.
357 # Perform Incremental Backup
368 drive0['backup'], '-F', drive0['fmt'], target)
378 a full backup and synchronize both bitmaps to this backup.
379 Create an incremental backup through both bitmaps and verify that
393 transaction_drive_backup(drive0['id'], drive0['backup'],
397 self.files.append(drive0['backup'])
460 # Create incremental backup targets
464 # Ask for a new incremental backup per-each drive,
465 # expecting drive1's backup to fail. In the 'race' test,
478 # Observe that drive0's backup is cancelled and drive1 completes with
522 drive. Use blkdebug to interfere with the backup on just one drive and
523 attempt to create a coherent incremental backup across both drives.
543 result = self.vm.qmp('drive-backup', device=self.drives[0]['id'],
552 result = self.vm.qmp('drive-backup', device=self.drives[0]['id'],
572 end, do a backup.
574 Incremental backup should not ignore dirty bits past the old
597 '''Incremental backup tests that utilize a BlkDebug filter on drive0.'''
608 Simulate a failure during an incremental backup block job,
609 emulate additional writes, then create another incremental backup
610 afterwards and verify that the backup created is correct.
658 Test an incremental backup that errors into a pause and is resumed.
703 # Start backup
706 self.vm.cmd('drive-backup',
732 # Resume and check incremental backup for consistency