From 8fe43eb4042f2765c948cbe87c7486074d21235c Mon Sep 17 00:00:00 2001 From: Bruno Fontes Date: Tue, 1 Feb 2022 21:45:08 -0300 Subject: [PATCH] Adding Gitea to backup --- Services/backup-contabo.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Services/backup-contabo.sh b/Services/backup-contabo.sh index d004fd1..78a1cde 100755 --- a/Services/backup-contabo.sh +++ b/Services/backup-contabo.sh @@ -17,6 +17,9 @@ sleep 60 # Backup OXO /bin/rsync --archive --rsh=ssh oxo:~/OXOwebsiteBackup.tar.gz ~/Backups/OXOwebsite/`date '+%Y-%m-%d'`_OXOwebsiteBackup.tar.gz +# Backup Gitea +/bin/rsync --archive --rsh=ssh googlemicro:~/ttt/*.zip ~/Backups/gitea/`date '+%Y-%m-%d'`_gitea.zip + # Delete old backups find $CONTABO_BACKUP_PATH/db -type f -name "*.sql.gz" -mtime +15 -delete find $CONTABO_BACKUP_PATH/keys -type f -name "*.*" -mtime +15 -delete