Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #240231
| From | Tim Woodall <debianuser@woodall.me.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: write only storage. |
| Date | 2021-09-21 19:50 +0200 |
| Message-ID | <CZS41-3TS-5@gated-at.bofh.it> (permalink) |
| References | <CZQvg-386-5@gated-at.bofh.it> <CZRKF-3ND-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, 21 Sep 2021, Marco M?ller wrote: > On 21.09.21 17:53, Tim Woodall wrote: >> I would like to have some WORM memory for my backups. At the moment >> they're copied to an archive machine using a chrooted unprivileged user >> and then moved via a cron job so that that user cannot delete them >> (other than during a short window). >> >> My though was to use a raspberry-pi4 to provide a USB mass storage >> device that is modified to not permit deleting. If the pi4 is not >> accessible via the network then other than bugs in the mass storage API >> it should be impossible to delete things without physical access to the >> pi. >> >> Before I start reinventing the wheel, does anyone know of anything >> similar to this already in existence? >> >> Things like chattr don't achieve what I want as root can still override >> that. I'm looking for something that requires physical access to delete. >> >> > > The backup tool borg, or borgbackup (this latter is also the package name in > the Debian repository), has an option to create backup archives to which only > data can be added but not deleted. If you can get it managed, that only > borgbackup has access through the network to the backup system but no other > user can access the backup system from the network, then this might be want > you want. I'll take a look but this isn't far from what I have already. My 'online archive' machine is a VM though so can be erased from the host too. At the moment I explicitly allow rm in the chroot (easily removed) and files can be truncated (can be fixed with chattr) but it didn't seem any easier than going the whole hog and having a fully isolated pi.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
write only storage. Tim Woodall <debianuser@woodall.me.uk> - 2021-09-21 18:10 +0200
Re: write only storage. Toni Mas Soler <antomassol@protonmail.com> - 2021-09-21 18:30 +0200
Re: write only storage. "Andrew M.A. Cater" <amacater@einval.com> - 2021-09-21 19:10 +0200
Re: write only storage. Tim Woodall <debianuser@woodall.me.uk> - 2021-09-21 19:40 +0200
Re: write only storage. "Thomas Schmitt" <scdbackup@gmx.net> - 2021-09-21 20:50 +0200
Re: write only storage. Michael Stone <mstone@debian.org> - 2021-09-21 22:10 +0200
Re: write only storage. Stefan Monnier <monnier@iro.umontreal.ca> - 2021-10-01 17:10 +0200
Unclosed DVD-R or BD-R sessions ? was: Re: write only storage. "Thomas Schmitt" <scdbackup@gmx.net> - 2021-09-21 20:50 +0200
Re: write only storage. Michael Stone <mstone@debian.org> - 2021-09-21 19:10 +0200
Write *once* storage (was Re: write only storage) Steve McIntyre <steve@einval.com> - 2021-09-21 19:30 +0200
Re: Write *once* storage (was Re: write only storage) "James H. H. Lampert" <jamesl@touchtonecorp.com> - 2021-09-21 19:40 +0200
Re: Write *once* storage (was Re: write only storage) Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2021-09-22 01:30 +0200
Re: write only storage. Marco Möller <talby@debianlists.mobilxpress.net> - 2021-09-21 19:30 +0200
Re: write only storage. Tim Woodall <debianuser@woodall.me.uk> - 2021-09-21 19:50 +0200
Re: write only storage. Linux-Fan <Ma_Sys.ma@web.de> - 2021-09-21 21:50 +0200
Re: write only storage. Marco Möller <talby@debianlists.mobilxpress.net> - 2021-09-22 18:20 +0200
Re: write only storage. David Christensen <dpchrist@holgerdanske.com> - 2021-09-22 06:20 +0200
Re: write only storage. Tim Woodall <debianuser@woodall.me.uk> - 2021-09-22 10:10 +0200
Re: write only storage. "Thomas Schmitt" <scdbackup@gmx.net> - 2021-09-22 12:30 +0200
Re: write only storage. Tim Woodall <debianuser@woodall.me.uk> - 2021-09-22 16:40 +0200
Re: write only storage. David Christensen <dpchrist@holgerdanske.com> - 2021-09-23 01:00 +0200
csiph-web