First commit done from gentoo!
This commit is contained in:
parent
9da856b081
commit
51f139f681
10 changed files with 96 additions and 6 deletions
5
scripts/mkbackup
Executable file
5
scripts/mkbackup
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
BACKUP_DATE=$(date +%m_%d_%Y)
|
||||
|
||||
doas rsync -aHAXS --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /* /mnt/media/usb-drive/"${HOST}"_backup_"${BACKUP_DATE}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue