initial commit via gitinitshit

This commit is contained in:
2025-08-02 12:42:31 -06:00
commit f3b8d793a7
63 changed files with 2173 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
[ "root" != "$USER" ] && exec sudo $0 "$@"
LOCK=/var/lock/backups.lock
if [ ! -f $LOCK ]; then
echo "lock" > $LOCK
rsync -rzvvb --backup-dir=_old_ --suffix=$(date+_%F-%T) --update --times -e ssh /home/ <username>@<server>:~/backups/home
rm -f $LOCK
fi