Backup at least /var/lib/gitea/
on update
#2
Loading…
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 command:
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:
does the job.
By the way should make sure that
gitea
isn't running anymore after thekillall
call. How to makekillall
waitgitea
to stop running?Use rsnapshot to reduce the size of backups.
Related to Benjamin-Loison/gitea/issues/119.