BorgBackup 2 has no server-side append-only anymore
1–10 of 119 posts
Re: BorgBackup 2 has no server-side append-only anymore
#2Re: BorgBackup 2 has no server-side append-only anymore
#3Is that a big deal? You should probably be doing this with zfs immutable snapshots anyway. Or equivalent feature for your filesystem.
Re: BorgBackup 2 has no server-side append-only anymore
#4Is that a big deal? You should probably be doing this with zfs immutable snapshots anyway. Or equivalent feature for your filesystem.
Are you talking about using ZFS snapshots on the remote backup target? Trying to solve the same problem with local snapshots wouldn't work because the attack presumes that the device that's sending the backups is compromised.
Re: BorgBackup 2 has no server-side append-only anymore
#5Anyone knows when will it come out of beta?
Re: BorgBackup 2 has no server-side append-only anymore
#6Re: BorgBackup 2 has no server-side append-only anymore
#7Is that a big deal? You should probably be doing this with zfs immutable snapshots anyway. Or equivalent feature for your filesystem.
I'm also completely confused why this was at the top of my hacki, seems completely innocuous
I guess some people might have been relying on this feature of borgbackup to implement that requirement
Re: BorgBackup 2 has no server-side append-only anymore
#8Is that a big deal? You should probably be doing this with zfs immutable snapshots anyway. Or equivalent feature for your filesystem.
The purpose of the append-only feature of borgbackup is to prevent an attacker from being able to overwrite your existing backups if they compromise the device being backed up. Are you talking about using ZFS snapshots on the remote backup target? Trying to solve the same problem with local snapshots wouldn't work because the attack presumes that the device that's sending the backups is compromised.
Yes.
Re: BorgBackup 2 has no server-side append-only anymore
#9https://github.com/restic/restic
https://github.com/restic/rest-server
which has to be started with --append-only. I use this systemd unit:
[Unit]
After=network-online.target
[Install]
WantedBy=multi-user.target
[Service]
ExecStart=/usr/local/bin/rest-server --path /mnt/backups --append-only --private-repos
WorkingDirectory=/mnt/backups
User=restic
Restart=on-failure
ProtectSystem=strict
ReadWritePaths=/mnt/backups
I also use nginx with HTTPS + HTTP authentication in front of it, with a separate username/password combination for each server. This makes rest-server completely inaccessible to the rest of the internet and you don't have to trust it to be properly protected against being hammered by malicious traffic.Been using this for about five years, it saved my bacon a few times, no problems so far.
Re: BorgBackup 2 has no server-side append-only anymore
#10Is that a big deal? You should probably be doing this with zfs immutable snapshots anyway. Or equivalent feature for your filesystem.