Opened 8 years ago

Closed 7 years ago

#1657 closed task (fixed)

Add backup for tracsvn:/home/git/gogs/data

Reported by: strk Owned by: strk
Priority: normal Milestone:
Component: SysAdmin Keywords: gogs, backup, tracsvn
Cc: martinspott


The directory contains attachments to the Gogs ticket, see (which needs to be updated once backups are in place).

It would also be useful to mention what's backed up in

Change History (6)

comment:1 by strk, 8 years ago

Martin do you receive a notification for this ticket ? Did you add this backup ?

comment:2 by strk, 8 years ago

This is still needed. I'm unable to tell if backups are in place or not. Can anyone help ?

comment:3 by strk, 7 years ago

I think I figured out how to do this (, only have a decision to make about whether to add more directories to the existing "TracFiles" FileSet or create a new Job for the purpose (ie: a BackupGogs job). I tend to prefer the former, interpreting "Trac" as "The TracSVN machine" in a general sense (the currently backed up files already also contain a full PostgreSQL cluster dump, which is not just used for Trac).

Opinions on the matter, Martin ?

BTW, those bacula configs, I'd also put them under git, if nobody objects

comment:4 by strk, 7 years ago

Keywords: gogs backup tracsvn added
Owner: changed from sac@… to strk
Status: newassigned

The database also needs to be backed up via Bacula. I'll take care of this

comment:5 by strk, 7 years ago

I've added a backup of gogs attachments and avatar directory, leaving out sessions and temporary dir. But I've also realized the database dump is not backed up, so am working on that next.

comment:6 by strk, 7 years ago

Resolution: fixed
Status: assignedclosed

Ok I've added a dump of the gogs database into the /osgeo/backup/bacula* scripts on TracSVN. Closing this as done.

Note: See TracTickets for help on using tickets.