Delete backup_home.sh
This commit is contained in:
@@ -1,11 +0,0 @@
|
||||
#!/bin/bash
|
||||
echo "Starting backup..."
|
||||
|
||||
BACKUPDIR=/media/$USER/34bde39d-fe97-42f1-ad72-96605867a967/home/$USER
|
||||
|
||||
curl https://gitaly.ru/anpleenko/rsync/raw/branch/main/.rsync-ignore > /tmp/ignorelist
|
||||
|
||||
rsync -av --delete --delete-excluded --exclude-from=/tmp/ignorelist /home/$USER/ $BACKUPDIR/
|
||||
|
||||
echo "Backup finished!"
|
||||
date
|
Reference in New Issue
Block a user