live_backup.cfg 1.9 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
- live_backup:
    virt_test_type = qemu
    type = live_backup
    no vmdk qed
    kill_vm = yes
    monitor_type = qmp
    monitors = qmp1
    source_image = image1
    transaction = yes
    granularity = 65536
    backup_format = qcow2
    wait_timeout = 60000
    image_chain = "fullbackup incremental0"
    image_name_incremental0 = "images/incremental0"
    clean_cmd = rm -f
    before_full_backup = "stop"
17
    after_full_backup = "resume"
18
    before_incremental = "stop"
19
    after_incremental = "verify_job_info reopen"
20 21 22 23
    check_params = ""
    variants:
        - @default:
            before_full_backup = "create_files reboot stop"
24
            after_incremental += " verify_md5s verify_efficiency"
25
            Linux:
26
                create_command = "dd if=/dev/urandom of=FILE bs=128k count=100"
27
                file_names = "/home/test.img"
28
                test_exists_cmd = "test -f FILE"
29
                sync_cmd = "sync && echo 3 > /proc/sys/vm/drop_caches"
30
            Windows:
31
                create_command = "D:\coreutils\DummyCMD.exe FILE 1073741824 1"
32 33
                file_names = "C:\live_backup_test"
                test_exists_cmd = "dir FILE"
34 35 36 37
                x86_64:
                    sync_cmd = "WIN_UTILS:\Sync\sync64.exe /accepteula"
                i386, i686:
                    sync_cmd = "WIN_UTILS:\Sync\sync.exe /accepteula"
38 39 40 41 42 43 44 45
        - granularity:
            transaction = no
            check_params = "granularity"
            variants:
                - 32768:
                    granularity = 32768
                - 131072:
                    granularity = 131072
46
        - with_data_plane:
47 48 49 50 51 52 53 54
            only Host_RHEL.m7
            only virtio_blk virtio_scsi
            iothreads = iothread0
            virtio_blk:
                blk_extra_params_image1 = "iothread=iothread0"
            virtio_scsi:
                no Host_RHEL.m7.u0, Host_RHEL.m7.u1, Host_RHEL.m7.u2
                bus_extra_params_image1 = "iothread=iothread0"