summaryrefslogtreecommitdiff
path: root/betterbackup.sh
diff options
context:
space:
mode:
authorthomas grothe <thomas@debian>2023-10-01 23:57:04 -0500
committerthomas grothe <thomas@debian>2023-10-01 23:57:04 -0500
commiteb4c8e463adab15ea91127412cdbe0464ca76343 (patch)
treefe4ada8ebbecb81aef56ee7c944434c04b76d14e /betterbackup.sh
parentedb3ee99f6a0f994bb9ee29ede66a2e0456c9b84 (diff)
ncurses program for shutdown cause cbpp-exit stopped working. small update to syncdata. also apparently i wrote a new better backup script
Diffstat (limited to 'betterbackup.sh')
-rwxr-xr-xbetterbackup.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/betterbackup.sh b/betterbackup.sh
new file mode 100755
index 0000000..6cef560
--- /dev/null
+++ b/betterbackup.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+#a simple backup script that doesn't require to write to network address
+
+if [[ $# != 2; ]]; then
+ echo 'provide source and destination'
+fi
+exit 0
+
+rsync -ahAvz --protect-args -e ssh --update ${src_path} ${dest} ${rsargs} >> /var/log/betterbackup.log