Page MenuHomePhabricator

Figure out paths that needs to be backed up on gallium
Closed, ResolvedPublic

Description

To backup gallium we need a list of paths we want backed up. Most of gallium is puppetized so it is not too hard hopefully.

  • /var/log/zuul (needs compression, T65935)
  • /var/log/jenkins
  • /srv/ssd/zuul/git/**/.git/refs/zuul (ref generated by Zuul)
  • /srv/ , excluding:
    • /srv/deployment (git deploy target)
    • /srv/localhost (puppetized)
    • /srv/ssd (though we want Zuul refs above)

Details

Reference
bz63938
Related Changes in Gerrit:

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:24 AM
bzimport set Reference to bz63938.
bzimport added a subscriber: Unknown Object (MLST).
Krinkle set Security to None.
Krinkle updated the task description. (Show Details)
Krinkle removed a subscriber: Unknown Object (MLST).
Krinkle added a parent task: Restricted Task.Mar 2 2015, 3:44 PM

Change 165991 had a related patch set uploaded (by Dzahn):
Backup /var/lib/jenkins/config.xml on gallium

https://gerrit.wikimedia.org/r/165991

Change 165991 merged by Dzahn:
Backup /var/lib/jenkins/config.xml on gallium

https://gerrit.wikimedia.org/r/165991

on gallium, bacula got installed

Notice: /Stage[main]/Bacula::Client/Package[bacula-fd]/ensure: ensure changed 'purged' to 'present'
Notice: /Stage[main]/Bacula::Client/File[/etc/bacula/bacula-fd.conf] etc..

puppet generated config with gallium.wikimedia.org.pem in it

bacula running . helium is its director.

hashar claimed this task.

Done with Moritz in 5679234aa2407a405dcb15f50773ac6bffba5ab9

bacula::director::fileset { 'contint':
    includes => [ '/srv', '/var/lib/zuul', '/var/lib/jenkins' ],
    excludes => [ '/srv/ssd', ],
}

I had the build records migrated under /var/lib/jenkins/builds/ so we can easily exclude them entirely in the bacula configuration.

Details are on T80385