diff options
-rw-r--r-- | backup.sh | 6 | ||||
-rw-r--r-- | restore.sh | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/backup.sh b/backup.sh new file mode 100644 index 0000000..54c0599 --- /dev/null +++ b/backup.sh @@ -0,0 +1,6 @@ +#!/bin/Sh + +src="/srv/appdrift/rrd" +dst="/srv/appdrift/bak" + +rsync -av "$src" "$dst" diff --git a/restore.sh b/restore.sh new file mode 100644 index 0000000..59af3ab --- /dev/null +++ b/restore.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +src="/srv/appdrift/bak" +dst="/srv/appdrift/rrd" + +rsync -av "$src" "$dst" |