Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
50979abf
Verified
Commit
50979abf
authored
5 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
more bacula switch docs
parent
88686bf7
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tsa/howto/backup.mdwn
+14
-4
14 additions, 4 deletions
tsa/howto/backup.mdwn
tsa/howto/postgresql.mdwn
+3
-0
3 additions, 0 deletions
tsa/howto/postgresql.mdwn
with
17 additions
and
4 deletions
tsa/howto/backup.mdwn
+
14
−
4
View file @
50979abf
...
...
@@ -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
t
w
o
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
----------------------------
...
...
This diff is collapsed.
Click to expand it.
tsa/howto/postgresql.mdwn
+
3
−
0
View file @
50979abf
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment