🚧 Adjusted mkbackup and created mkrestore scripts

This commit is contained in:
tomit4 2026-06-21 20:52:53 -07:00
parent bef3e7e410
commit 31ee3ee801
2 changed files with 13 additions and 1 deletions

View file

@ -2,4 +2,4 @@
BACKUP_DATE=$(date +%m_%d_%Y)
doas rsync -aHAXS --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/var/cache/distfiles/*","/var/cache/ccache/*","/home/brian/Documents/books/*","/home/brian/Videos/*","/home/brian/Music/*","/home/brian/Pictures/*","/home/brian/Audio/*","/home/brian/Games/*"} /* /mnt/media/usb-drive/gentoo_backup_"${BACKUP_DATE}"
doas rsync -aHAXS --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/var/cache/distfiles/*","/var/cache/ccache/*","/home/brian/Documents/books/*","/home/brian/Videos/*","/home/brian/Music/*","/home/brian/Pictures/*","/home/brian/Audio/*","/home/brian/Games/*"} / /mnt/media/usb-drive/gentoo_backup_"${BACKUP_DATE}"