commit 87ca9e1ddb8b6ca91806a3737863de745124af38
parent 29355e685c3f57fc94799984b6eaeaa98cb81754
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 28 Jan 2021 23:33:23 +0100
parent 29355e685c3f57fc94799984b6eaeaa98cb81754
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 28 Jan 2021 23:33:23 +0100
update scripts
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/scripts/restic-backup-wanderduene.sh b/scripts/restic-backup-wanderduene.sh @@ -1,6 +1,7 @@ #!/usr/bin/env sh -echo "$(date -R)" > /root/backup.last-run +echo "Last run: $(date -R)" > /root/backup.last-run +echo "Status:" >> /root/backup.last-run #backup services for service in pleroma radicale synapse git maddy oeffisearch
diff --git a/scripts/server-status.sh b/scripts/server-status.sh @@ -20,7 +20,12 @@ echo "Oeffisearch-Data: $(du -hs /var/lib/oeffisearch)" echo "PostgreSQL-Data: $(du -hs /var/lib/postgresql)" echo "Prometheus-Data: $(du -hs /var/lib/prometheus)" echo "" + +echo "Restic-Backup:" +echo "$(cat /root/backup.last-run)" +echo "" + +echo "Etc:" echo "Uptime: $(uptime -p)" -echo "Last backup: $(cat /root/backup.last-run)" echo "" echo "$(df -h)" \ No newline at end of file