Backup at least /var/lib/gitea/ on update
#2
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Use:
When running my update Bash script:
Don't forget to compress
/var/lib/gitea/./etc/gitea/could be backed up as well.Note that backing up is especially important when update contains breaking change.
Could investigate rsnapshot possibility. Otherwise the Bash script:
does the job.
By the way should make sure that
giteaisn't running anymore after thekillallcall. How to makekillallwaitgiteato stop running?Use rsnapshot to reduce the size of backups.
Related to Benjamin-Loison/gitea/issues/119.