Backup VM config file

rusty

New Member
Oct 9, 2015
6
0
1
Hi everyone,
I installed proxmox with root zfs single disk just to test some stuff. The problem is when Im trying to zfs set mountpoint=/etc/pve/qemu-server rpool/config then after a reboot /etc/pve dir is wiped out. I've also tried zfs set mountpoint=/etc/pve rpool/config but then I'd get a message that pve dir is not empty and cant be mounted.
All I wanna do is to set a zfs mountpoint to config file dir so I can take snapshots of configs and send them somewhere else if needed. How can this be done ? Thank You
 
Last edited:
All I wanna do is to set a zfs mountpoint to config file dir so I can take snapshots of configs and send them somewhere else if needed. How can this be done ? Thank You

The file system mounted at /etc/pve/ is a distributed, replicated cluster file system (pmxcfs). So you cannot mount anything else there.
 
How about creating a simple script to copy the contents to another destination?
Put it as a cron job and that's it.
 
is there a way to make proxmox duplicate vm config file and paste into vm folder upon a vm creation ? i.e you create vm 100 and a config file goes /etc/pve/qemu-server/ and to /var/lib/vz/images/100/
 

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!