Opened 5 years ago

Closed 5 years ago

#1843 closed task (fixed)

Add strk to sudoers on backup VM

Reported by: strk Owned by: sac@…
Priority: normal Milestone:
Component: Systems Admin Keywords:
Cc: martin

Description

Needed to ensure backups are in place before starting the Trac upgrade (#1816)

Change History (3)

comment:1 Changed 5 years ago by strk

I'm actually not sure what the policy is on that machine, because I see the sudo group is empty. My public RSA key, in case that's the way to get in:

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDXfHGzxlzPA9gjIpbHPjCQ2SHvWve+QgficecsCwjACiZvOLrh71XalGGGpbxANkzs7amZjbqpvVd6L3tQJAZK8pT5ljVSV1bx3pX4HxxcL9CpAMB+SfmdRjlTxJ5uvmDNZkHKZl17PglVRYaS+fBbGAJe4JCNhMBzN0szmI3YWHjKlaJtnlAK6NVPiTyrcxQoNkb+XsDq53TBUapfK78JrJssI/iyuqZZ0nkrCgQL92UACRl9a7Wlq0fswsASi8/X/5iKKQu3Qfxo7yKIi7EbxvXn6/rUnyoykM7SwKEXiK06ABZxw8/lN9qcZhhO8YEo+zairIyX4S5DfF+5kGn9 strk@cdb

comment:2 Changed 5 years ago by martin

Backup of Trac is three stages (defined in /etc/bacula/bacula-dir.conf on backup):

1.) Create a full database dump on tracsvn using:

/usr/local/sbin/PGDump.sh

2.) Create a Trac-level dump /osgeo/trac_backup.zip on tracsvn using:

/osgeo/backup.sh

3.) Backup /osgeo/trac/ and /osgeo/trac_backup.zip plus the root filesystem containing /var/lib/postgresql/dump/ to Bacula

I'vre now added "strk" to sudo on backup

Last edited 5 years ago by martin (previous) (diff)

comment:3 Changed 5 years ago by strk

Resolution: fixed
Status: newclosed

Thanks ! Will ask next questions on the list.

Note: See TracTickets for help on using tickets.