Opened 9 years ago
Closed 8 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 |
Description
The directory contains attachments to the Gogs ticket, see https://wiki.osgeo.org/wiki/SAC:Gogs#Files_location_and_configuration (which needs to be updated once backups are in place).
It would also be useful to mention what's backed up in https://wiki.osgeo.org/wiki/SAC:Backups
Change History (6)
comment:1 by , 9 years ago
comment:2 by , 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 , 8 years ago
I think I figured out how to do this (https://trac.osgeo.org/osgeo/ticket/1845#comment:2), 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 , 8 years ago
Keywords: | gogs backup tracsvn added |
---|---|
Owner: | changed from | to
Status: | new → assigned |
The database also needs to be backed up via Bacula. I'll take care of this
comment:5 by , 8 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 , 8 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Ok I've added a dump of the gogs database into the /osgeo/backup/bacula* scripts on TracSVN. Closing this as done.
Martin do you receive a notification for this ticket ? Did you add this backup ?