Backup Proxmox OS and all VM config without VM disk

SunTsu

Member
Jun 11, 2020
12
1
8
24
I want to backup only host machine including all modifications to OS that I made and all VM config.
As I know DD/clonezilla backup all things.
I also need easy solution to restore all things.
 
hi,

the configuration files of guests and other PVE-related things (storage, firewall etc.) are stored in /etc/pve/ directory

including all modifications to OS that I made
i'm not sure how you could restore all of that if you didn't document all the changes you made..

i guess the simplest way is to backup the sqlite database located in /var/lib/pve-cluster/config.db (which is what our cluster filesystem uses)

from this thread[0]:
Code:
# sqlite3 /var/lib/pve-cluster/config.db ".backup /path/to/backup/config.db.`date -Isec`"

in the thread there are also some other methods discussed.

hope this helps!

[0]: https://forum.proxmox.com/threads/backing-up-proxmox-the-host-itself-what-and-how.24672/