Use tar gzip instead of zip
This commit is contained in:
		
							parent
							
								
									543834a894
								
							
						
					
					
						commit
						5df5d38491
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								backups/create_gitea_backup.sh
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										2
									
								
								backups/create_gitea_backup.sh
									
										
									
									
									
										
										
										Normal file → Executable file
									
								
							|  | @ -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 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue