Backup excluding mirrored repos

#1

Using gogs 0.11.79.1211, on a raspberry pi running debian, and SQLite3.

I am mirroring a few online repos for ease of use and reference. The problem comes when I do my weekly backup of gogs, and it also includes those repos in the backup which makes my backup go to 1 gig, instead of a few hundred megs. Since it’s only a mirror, I think it would be safe to ignore those repos during a backup, right?
Is there any way to exclude specific repositories from the backup, or generally all mirrored ones? Thanks

0 Likes

#2

Kind of but not quite, you mirror because itself is a way of backup and now you want to discard them… lol

Currently no, but you can hack the code. :wink:

0 Likes