.. | ||
data | ||
backup_gitea.sh | ||
docker-compose.yml | ||
README.md | ||
reset-gitea-mysql.sql | ||
restore_gitea_container.sh | ||
restore_gitea_data.sh |
Gitea
backup scripts
from https://gist.github.com/sinbad/4bb771b916fa8facaf340af3fc49ee43
Backup
backup_gitea.sh
writes to /mnt/drive/backups/gitea/
Restore
#restore_gitea_data.sh [--dry-run] <source_dir> <dest_dir> <sql_file_dest>
./restore_gitea_data.sh /srv/dev-disk-by-uuid-45e2e732-9e00-4a82-a7cc-9c743e033671/datastore/gitea data