External rsync backup for GhostBsd(how to)
Posted: Sat Dec 24, 2022 8:19 pm
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!
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!