[SOLVED] pct restore doesn't work with vma?

kotakomputer

Renowned Member
May 14, 2012
429
13
83
Jakarta, Indonesia
www.proxmoxindo.com
I try to restore a 6GB backup to "local-data" disk with new 1000GB size, but look like PCT does not accept vma format:

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.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!