I would like to use the dump
command from the gitea docs.
See:https://docs.gitea.io/en-us/backup-and-restore/
The reason I ask is because I naively installed gitea on a raspberry pi with not much storage, and it is reaching the point where I need to upgrade the storage for the repository's sake.
I would like to perform this command remotely and save the resulting zip file remotely because, naturally, the gitea database is so full that I don't think it would be able to dump locally before all remaining storage space is used.
How can I perform this command remotely and save the resulting .zip file remotely?
./gitea dump -c /path/to/app.ini
EDIT: It just occurred to me that I could dump to a flash drive too. I am open to any option but I need a hand with figuring out how to modify the above command to dump in the right spot.