I try to restore a 6GB backup to "local-data" disk with new 1000GB size, but look like PCT does not accept vma format:
I have tested to restore using GUI and successful (unfortunately GUI does not support "rootfs" options), so the backup file is good.
Code:
# pct restore 239130 /mnt/backup1/dump/vzdump-qemu-239130-2018_05_19-18_24_35.vma.lzo --rootfs local-data:1000
Formatting '/mnt/data/images/239130/vm-239130-disk-1.raw', fmt=raw size=1073741824000
mke2fs 1.43.4 (31-Jan-2017)
Discarding device blocks: done
Creating filesystem with 262144000 4k blocks and 65536000 inodes
Filesystem UUID: 8d9aa734-05e4-4f10-9b20-4c1b45a7b99a
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968,
102400000, 214990848
Allocating group tables: done
Writing inode tables: done
Creating journal (262144 blocks): done
Multiple mount protection is enabled with update interval 5 seconds.
Writing superblocks and filesystem accounting information: done
file does not look like a template archive: /mnt/backup1/dump/vzdump-qemu-239130-2018_05_19-18_24_35.vma.lzo
I have tested to restore using GUI and successful (unfortunately GUI does not support "rootfs" options), so the backup file is good.