From 5df5d384912515a751d67ead6b37975afec8a66b Mon Sep 17 00:00:00 2001 From: Tibo De Peuter Date: Sun, 2 Jul 2023 21:52:26 +0200 Subject: [PATCH] Use tar gzip instead of zip --- backups/create_gitea_backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 backups/create_gitea_backup.sh diff --git a/backups/create_gitea_backup.sh b/backups/create_gitea_backup.sh old mode 100644 new mode 100755 index f2dd247..d91edd6 --- a/backups/create_gitea_backup.sh +++ b/backups/create_gitea_backup.sh @@ -27,7 +27,7 @@ docker exec --env-file "${PASSFILE}" "${database_container}" pg_dump 'gitea' -cw docker cp "${database_container}":"${internal_database_backupfile}" "${BACKUP_DEST}" # Backup files -zip -r "${BACKUP_DEST}/gitea-data_$( date +'%Y%m%d' ).zip" '/mnt/APPS/hugit' +tar czvf "${BACKUP_DEST}/gitea-data_$(date +'%Y%m%d').tar.gz" -C "/mnt/APPS/hugit" # Disable maintenance mode # TODO