Proxmox to Truenas Backup

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Does anyone know how I can do this?

I do run ZFS on my proxmox machine.
Would it just be a ZFS send?

How do I schedule a ZFS receive each night on my truenas machine?

I know proxmox does have it's own backup solution built in but I want more options
 

diskdiddler

Wizard
Joined
Jul 9, 2014
Messages
2,377
Fixed spelling mistake!

So yes, my proxmox machine is in a dire state. I'm hoping it doesn't die before I get back from holiday in 2 days.

If it doesn't I need to get backups off it in a variety of ways ASAP.


Any input will be appreciated!
 

Exhorder

Explorer
Joined
Jul 12, 2019
Messages
66
Have a look at pve-zsync. Here a snippet of code:

Code:
DEST_CONFIG_PATH="/mnt/$POOL/"
pve-zsync sync --source "$SOURCE" --dest "$DEST_IP":"$POOL" --compressed --verbose --dest-config-path "$DEST_CONFIG_PATH" --maxsnap "$MAXSNAP" --name "$NAME"


It syncs a ZFS snapshot of the VM/LXC to TrueNAS. It also copies the config files of the VM/LXC to a folder in TrueNAS.
 
Top