Page 1 of 1

External rsync backup for GhostBsd(how to)

Posted: Sat Dec 24, 2022 8:19 pm
by Morty
For my Linux distro's (ext4), i enter this in command line:

sudo rsync -aAXv --delete --dry-run --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* --exclude=/run/* --exclude=/mnt/* --exclude=/media/* --exclude ="swapfile" --exclude="lost+found" --exclude=".cache" --exclude="Downloads" --exclude=".encryptfs" /source /destination device

included 'dry-run' in example. Most of the 'exclude=' files are attributed to the kernel at boot and don't need to be backed up,from what i understand. It works great. What i need to know is what files attributed to the kernel at boot in the zfs (i believe it was zfs on install or file system that starts with 'z') for GhostBsd that need to be '--exclude=' for GhostBsd file system.i'm sure it will be different for GhostBsd than Linux.Thanks!

Re: External rsync backup for GhostBsd(how to)

Posted: Mon Dec 26, 2022 6:07 pm
by hans.wolters
When you want snapshots like that then rsnapshot might be the tool to look for. You can also use zfs snapshots and send them to a different location.