diff options
author | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-01-30 15:44:42 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@alpinelinux.org> | 2018-01-30 15:44:42 +0000 |
commit | 58ae9d8355e6aeadb49bdbf03bac0df385237028 (patch) | |
tree | 6fa12841a64bb875e545037a9227c04921a3d093 /profiles | |
parent | 3e01a159cfe7438dee71e23abefd96a427885f7f (diff) | |
download | alpine-backup-58ae9d8355e6aeadb49bdbf03bac0df385237028.tar.bz2 alpine-backup-58ae9d8355e6aeadb49bdbf03bac0df385237028.tar.xz |
remove some debug info and correct readme
Diffstat (limited to 'profiles')
-rwxr-xr-x | profiles/backup-archive | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/profiles/backup-archive b/profiles/backup-archive index ed72be6..623c7e1 100755 --- a/profiles/backup-archive +++ b/profiles/backup-archive @@ -4,10 +4,8 @@ DATE=$(date -u "+%Y%m%d%H%M%S") SRC="$(hostname).apkovl.tar.gz${SUFFIX}" DEST="$(hostname).${DATE}.tar.gz${SUFFIX}" -# Keep a montly copy of the first day of the month +# Keep a montly copy on the first day of the month if [ "$(date +%d)" = "01" ]; then echo "Archiving montly backup" - echo "$SRC" - echo "$DEST" ssh "$BACKUP_SERVER" install -Dm644 "$FQDN"/week/"$SRC" "$FQDN"/month/"$DEST" fi |