Good Idea to use pve-zsync on /etc/pve directory?

dbayer

Renowned Member
Apr 15, 2016
69
8
73
55
Hello,

I'm curious on people's thoughts on doing a pve-zsync to storage pool (NOT another node) of the /etc/pve directory? I'm thinking this could be done for disaster recovery purposes, such as having to recreate a node from scratch.

Is it a good or bad idea?

Thanks,
Daniel
 
Thanks for the feedback Dietmar.

Thanks for the tip Udo, but my backup pool is attached to my node. I'm going to guess that I can create a filesystem on that pool and just do a file copy into it. I'll share my results here.
 
Finally got this done.
I created a directory on an external zpool (/bpool/pveback)
Then wrote a script that removes any existing /bpool/pveback/pve and then copies /etc/pve to /bpool/pveback/pve
This runs once a day on a cron schedule.
Works great.