commit 424b2f253e3c4212f901c166c9720e711d21d9f7
parent ebdb6f2f099edc3df5f9ca58a8d296c4366e618c
Author: Andrew Laack <andrew@laack.co>
Date: Sun, 29 Mar 2026 00:20:57 -0500
Don't include containers
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/backups/simple.sh b/backups/simple.sh
@@ -48,7 +48,10 @@ backup-vps () {
# this contains my matrix server db stuff (sqlite)
mkdir -p /home/backup/vps/var
- rsync -v --delete --recursive root@laack.co:/var/ /home/backup/vps/var
+ rsync -v --delete --recursive \
+ --exclude='/var/lib/containers/' \
+ --exclude='/var/lib/docker/' \
+ root@laack.co:/var/ /home/backup/vps/var
# TODO: Consider refactoring this. This sort of breaks with convention, but there is
# nginx configuration data here that is a source of truth...