best way to do backups without using replication?

ykhodo

Explorer
Joined
Oct 19, 2017
Messages
52
As of 11.2, my system has been kernel panicking when using replication for local backups (there are already tickets for this).

What would be a good alternative to backing up to a disk plugged in via ESATA? I was considering using restic in a jail, but there are issues mounting jails inside of a jail, so I would be missing things in my backup.

Thank you
 
Joined
Jan 7, 2015
Messages
1,155
If the esata drive is installed and visible as a ZFS drive from the freenas host, just use rsync -avvh --progress /mnt/POOL /mnt/ESATA/

I also frequently use rsync over ssh (lan) although for not large amounts of files, but I think it would work if you have a network destination you could use. People knock rsync alot since zfs replication, but I prefer using it even now, it just works and comes in every box of *nix
 

ykhodo

Explorer
Joined
Oct 19, 2017
Messages
52
If the esata drive is installed and visible as a ZFS drive from the freenas host, just use rsync -avvh --progress /mnt/POOL /mnt/ESATA/

I also frequently use rsync over ssh (lan) although for not large amounts of files, but I think it would work if you have a network destination you could use. People knock rsync a lot since zfs replication, but I prefer using it even now, it just works and comes in every box of *nix
I got caught up in all of the fancy tools, when a simple rsync works. I created a cron job for now.

I would have liked to use incremental backups that restic offers, but this will do nicely as a stop gap until replication is fixed.
 

ykhodo

Explorer
Joined
Oct 19, 2017
Messages
52
Out of curiousity, if I wanted to do cloud backups using restic, how would I mount all jails inside of a jail? Or could I get away with backing up the jail's storage, fstab, and config.json?
 
Joined
Jan 7, 2015
Messages
1,155
rsync is MY king of incremental backups. No jail needed. Never used restic, but you could get clever in the restic fstab to get done what you want.
 
Top