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
3c9f4ef1
Verified
Commit
3c9f4ef1
authored
1 year ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
expand on known issues with bacula
Closes:
team#41474
parent
ca521118
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/backup.md
+38
-0
38 additions, 0 deletions
howto/backup.md
with
38 additions
and
0 deletions
howto/backup.md
+
38
−
0
View file @
3c9f4ef1
...
...
@@ -1706,6 +1706,14 @@ This service is maintained by TPA, mostly by anarcat.
## Backups
This is the backup service, so it's a bit circular to talk about
backups. But the Bacula director server
*is*
backed up to the storage
server like any other server,
[
disaster recovery
](
#disaster-recovery
)
procedures
explain how to restore in catastrophic failure cases.
An improvement to the backup setup would be two have two storage
servers, see
[
tpo/tpa/team#41557
](
https://gitlab.torproject.org/tpo/tpa/team/-/issues/41557
)
for followup.
## Other documentation
*
[
upstream manual
](
https://www.bacula.org/9.4.x-manuals/en/main/index.html
)
(
has
formatting problems, the
[
PDF
](
https://www.bacula.org/9.4.x-manuals/en/main/main.pdf
)
looks better)
...
...
@@ -1724,13 +1732,43 @@ TODO: populate Discussion section.
## Security and risk assessment
Bacula is pretty good, security-wise, as it "pulls" backups from
servers. So even if a server is compromised, an attacker cannot move
laterally to destroy the backups.
It is, however, vulnerable to a cluster-wide compromise: if, for
example, the Puppet or Bacula director servers are compromised, all
backups can be destroyed or tampered with, and there's no clear
workaround for this problem.
There are concerns about the consistency of backups. During a GitLab
incident, it was found that some log files couldn't be restored
properly (
[
tpo/tpa/team#41474
](
https://gitlab.torproject.org/tpo/tpa/team/-/issues/41474
)
). It's unclear what the cause of
this problem was.
## Technical debt and next steps
Bacula has been lagging behind upstream, in Debian, where we have been
stuck with version 9 for three major releases (buster on 9.4 and
bullseye/bookworm on 9.6). Version 13 was uploaded to unstable in
January 2024 and may ship with Debian trixie (13). But Bacula 15
already came out, so it's possible we might lag behind.
Bacula was forked in 2013 into a project called BareOS but that was
never widely adopted. BareOS is not, for example, packaged in Debian.
We have a significant amount of legacy built on top of Bacula. For
example, we have our own scheduler, because the Bacula scheduler was
perceived to be inadequate. It might be worth reconsidering this.
Bacula is old software, designed for when the state of the art in
backups was tape archival. We do not use tape (see below) and are
unlikely ever to. This tape-oriented design makes working with normal
disks a bit awkward.
Bacula doesn't deduplicate between archives the way more modern backup
software (e.g. Borg, Restic) do, which leads to higher disk usage,
particularly when keeping longer retention periods.
## Proposed Solution
...
...
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