TL;DR Is copying the datastore (the files) of PBS to a remote destination a sufficient backup solution? Can I use them files to recreate my VM on a new system if the old fails? How can approach automatically running a rclone command when a backup is done without knowing anything about scripting in Linux or what hook script is.
Hi there, I've been trying to learn Proxmox and the world of Linux for about a year now and have an old Intel nuc as my Proxmox machine mainly using it for a Home Assistant OS VM and a Ubuntu server VM with some docker containers. For the first time I feel I need to start looking at backup soluations as I've just started up with a self hosted Bookstack.
So here is what I've done. I run PBS on the host and does backups to USB-HDD that is connected to the nuc. I've also installed and configured Rclone to sync my USB-HDD with my OneDrive account. So on OneDrive I now have .cunk dir, vm, dir, .gc-status file, .lock file. Is this enough as a remote backup? Can I somehow use these files to recreate my VM and their files on a new Proxmox server if mine where to go down? My rclone command looking like this
I guess as I do a sync and not a copy that when Proxmox Backup Server starts to prune, my OneDrive will also prune them backups that are overdue?
If that is sufficient how can I automate that command to run when a Proxmox backup is done? I've seen a lot of talk about crontab and hook scripts but to be honest I have no clue either where to put a script nor what to type in it.
Thanks in advance, I know this questions is on an absolute noob level and that many of you think this is basic knowledge but I really want to learn this and having searched around now for some time I haven't really found anything that I could understand.
Hi there, I've been trying to learn Proxmox and the world of Linux for about a year now and have an old Intel nuc as my Proxmox machine mainly using it for a Home Assistant OS VM and a Ubuntu server VM with some docker containers. For the first time I feel I need to start looking at backup soluations as I've just started up with a self hosted Bookstack.
So here is what I've done. I run PBS on the host and does backups to USB-HDD that is connected to the nuc. I've also installed and configured Rclone to sync my USB-HDD with my OneDrive account. So on OneDrive I now have .cunk dir, vm, dir, .gc-status file, .lock file. Is this enough as a remote backup? Can I somehow use these files to recreate my VM and their files on a new Proxmox server if mine where to go down? My rclone command looking like this
Code:
rclone sync /mnt/datastore/usb-backup/ onedrive:PBS --progress --progress-terminal-title
If that is sufficient how can I automate that command to run when a Proxmox backup is done? I've seen a lot of talk about crontab and hook scripts but to be honest I have no clue either where to put a script nor what to type in it.
Thanks in advance, I know this questions is on an absolute noob level and that many of you think this is basic knowledge but I really want to learn this and having searched around now for some time I haven't really found anything that I could understand.