aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md6
-rwxr-xr-xprofiles/backup-archive4
2 files changed, 4 insertions, 6 deletions
diff --git a/README.md b/README.md
index ca1f625..323e542 100644
--- a/README.md
+++ b/README.md
@@ -66,8 +66,8 @@ public key to the backup server.
### Enable daily backups
-Copy the provided `alpine-backup.cron` as `/etc/periodic/daily/alpine-backup` to
-make the backup run every night.
+Copy the provided `alpine-backup` to `/etc/periodic/daily` to make the backup
+run every night.
## Backup monitoring
@@ -79,4 +79,4 @@ which will be picked up by Alpine monitoring system.
Older version of LBU have a bug which prevents the cleanup of older local
encrypted backups. see:
-https://git.alpinelinux.org/cgit/alpine-conf/commit/?id=cd395b \ No newline at end of file
+https://git.alpinelinux.org/cgit/alpine-conf/commit/?id=cd395b
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