diff --git a/tsa/howto/backup.mdwn b/tsa/howto/backup.mdwn index 5f814f9ed030327f5c456fb0921781e1cd6feca0..a6ad1b7e5d62db3b189f6a33d675b469dbd616f0 100644 --- a/tsa/howto/backup.mdwn +++ b/tsa/howto/backup.mdwn @@ -497,12 +497,22 @@ director. cumin -b 5 -p 0 -o txt '*' 'puppet agent -t' -The old server can now be [[decommissioned|retire-a-host]], if it's -still around. + Then make sure the storage and director servers are also up to + date: + + ssh bungei.torproject.org puppet agent -t + ssh bacula-director-01.torproject.org puppet agent -t -TODO: `15:19:55 <weasel> and once that's up and running, it'd probably be smart to upgrade it to 11. pg_upgradecluster -m upgrade --link` + 15. if you held a lock on the scheduler, it can be removed: + + killall flock + +The new scheduler and director should now have completely taken over +the new one, and backups should resume. The old server can now be +[[decommissioned|retire-a-host]], if it's still around, when you feel +comfortable the new setup is working. -TODO: how to switch between the two servers? see below +TODO: `15:19:55 <weasel> and once that's up and running, it'd probably be smart to upgrade it to 11. pg_upgradecluster -m upgrade --link` Get files without a director ---------------------------- diff --git a/tsa/howto/postgresql.mdwn b/tsa/howto/postgresql.mdwn index 5d4cedafd15156913479e435b4ad93c362cb31a1..9461f81d838893a00db8e054c071e1733f62f933 100644 --- a/tsa/howto/postgresql.mdwn +++ b/tsa/howto/postgresql.mdwn @@ -274,6 +274,9 @@ information on how to pick a restore procedure. (e.g. usually `main`) * `$BASEFILE` with something like `$CLUSTERNAME.BASE.$BACKUPSERVER-20191004-062226-$OLDSERVER.torproject.org-$CLUSTERNAME-9.6-backup.tar.gz` + or, fully expanded: + `bacula.BASE.bungei.torproject.org-20191010-184205-dictyotum.torproject.org-bacula-9.6-backup.tar.gz` + where the `$CLUSTERNAME` is the non-default `bacula` The above might hang for a while (yes, maybe even a minute) in the beginning, but it should eventually get started and complete. The