[SAC] [OSGeo] #1845: Review Trac backup procedure

#1845: Review Trac backup procedure
---------------------------+--------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords: trac, backup
---------------------------+--------------------------
It turned out 3 trac instances are not being backed up, see
https://lists.osgeo.org/pipermail/sac/2017-January/007874.html

This ticket is to review the procedure and ensure:

  - All instances are backed up
  - New instances are backed up (mostly implies documenting the correct
procedure in
https://wiki.osgeo.org/wiki/Trac_Instances#Creating_a_trac_instance)

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1845&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1845: Review Trac backup procedure
---------------------------+--------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: trac, backup |
---------------------------+--------------------

Comment (by strk):

Wiki page updated:
https://wiki.osgeo.org/index.php?title=Trac_Instances&diff=104712&oldid=104590
Backup script made to read {{{/var/www/trac/trac_instances.txt}}} and
fixed the file to reflect reality. Now would like to change bacula config
to use the script from its new location, but it isn't yet clear to me how
does the director knows which file to transfer (as I see the backup.sh
script prepares a .zip file but the path of the file I dont' see specified
anywhere..)

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1845#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1845: Review Trac backup procedure
---------------------------+--------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: trac, backup |
---------------------------+--------------------

Comment (by strk):

Figured: files to transfer are written in a {{{FileSet}}} section with
{{{Name="TracFile"}}} found in {{{bacula-dir.conf}}} on the backup
machine. Looking at it, there seems to be at least a useless directory
(/osgeo/trac, which is now just 2 symlinks) and /var/www is missing, while
it contains some statically written redirect pages. Any reason not to
backup all of /var/www ?

Also, I guess we'd want another job (or extension in the "TracFile"
FileSet ?) to backup Gogs data directories (as requested in #1657)

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1845#comment:2&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1845: Review Trac backup procedure
--------------------------+-------------------
Reporter: strk | Owner: strk
     Type: task | Status: new
Priority: normal | Milestone:
Component: Trac | Resolution:
Keywords: trac, backup |
--------------------------+-------------------
Changes (by strk):

* owner: sac@… => strk
* component: Systems Admin => Trac

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1845#comment:3&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.