Backup and restore Gitea

I am commissioning Gitea installed from the Catalog.
I have changed the directories used following the suggestions made here; SOLVED - Needed help with gitea setup - web unavailable + how 2 setup directories | TrueNAS Community
It seemed sensible advice to enable me to back up to the cloud and hopefully to make recovery easier.

Everything is backed up to ix-StorJ.

Having created a few repositories I want to test the recovery process and I’m struggling.
The postgres backup directory is empty.
I can’t see a way to automate running the Gitea dump command.
I have copies of the database and data directories in the cloud that I can use to overwrite what is deployed by the app.

What does recovery of Gitea look like when it’s running as a TrueNAS app?
Can I just install and overwrite directories from the cloud backup?

1 Like