thedocks/gitea
2022-03-23 20:46:54 +00:00
..
data [add] gitea 2021-11-12 16:14:45 +00:00
backup_gitea.sh [mod] gitea backup 2022-03-21 22:48:54 +00:00
docker-compose.yml [add] pihole 2021-11-12 23:14:52 +00:00
README.md [mod] restore 2022-03-23 20:46:54 +00:00
reset-gitea-mysql.sql [add] gitea 2021-11-12 16:14:45 +00:00
restore_gitea_container.sh [mod] restore 2021-12-21 21:08:20 +00:00
restore_gitea_data.sh [mod] restore 2022-03-23 20:46:54 +00:00

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