News for hackers. Stuff that matters.
Re:I finally found an use case for my Raspberry Pi Model B+ by agilob on Tuesday November 01, 2022 @02:44AM (#33417793)
Syncthing isn't a real backup, it's a live copy with delayed synchronisation.
Re:I finally found an use case for my Raspberry Pi Model B+ by BLKNSLVR on Tuesday November 01, 2022 @02:51AM (#33417839)
I use Syncthing as a transitory step in my (mobile photos and videos) backup process.

I also set it as "receive only", so any accidental deletes don't cascade.

Re:I finally found an use case for my Raspberry Pi Model B+ by sneak on Tuesday November 01, 2022 @09:15AM (#33420734)
Receive only will still receive deletes sent from the other devices. It just won’t propagate changes from the “receive only” device to other devices.
Re:I finally found an use case for my Raspberry Pi Model B+ by jerf on Tuesday November 01, 2022 @11:23AM (#33422460)
The key phrase is "backup process".

I have a similar set up. I have a NextCloud server set up in my house, running as a docker container. A cron job shuts it down in the middle of the night and runs a full, true backup process up to AWS, and restarts it when done. The convenience of file sync techs with the safety of backup.

(The main utility of docker to me in this case is just being able to assert with absolute certainty, "here are all the directories NextCloud is storing data in". There's nowhere for unbacked-up state to be hiding.)

If I were running this at scale, I'd have some things to worry about, but at this scale, it's fine.

Re:I finally found an use case for my Raspberry Pi Model B+ by frenchman99 on Tuesday November 01, 2022 @03:08AM (#33417963)
To me a live copy with delayed sync sounds like a backup. What defines a backup for you?
Re:I finally found an use case for my Raspberry Pi Model B+ by SyneRyder on Tuesday November 01, 2022 @03:37AM (#33418119)
Consider the ransomware case - while all the files are being encrypted on your work machine, those encrypted versions are also syncing across live and overwriting your "backups". Or if it synchronizes deletes, accidentally deleting the file on your work machine also deletes the file from your "backup" once sync has completed.

File versioning / version history would help, if you have sufficient disk space for all the versions. But you can be more confident in the backup integrity if it is taken offline once completed - eg cloning a drive to an external drive, and then unplugging that external drive and putting it in storage until needed.

Re:I finally found an use case for my Raspberry Pi Model B+ by Aachen on Tuesday November 01, 2022 @09:47AM (#33421184)
There is very little software that is ransom-safe. People talk of cloud object locking, but that's not worth anything if they just cancel the account with the vendor or go into the config and turn that lock off. For the versioning you mention, wouldn't it be possible to just cancel whatever storage you use for these versions? After how long do you delete the data then, can't an attacker encrypt all files that you haven't touched in a year (so you don't notice right away) and wait for all the old backups to be gone, then hold all your old pictures and tax documents you might still need etc. for ransom?

A pi is actually a great solution because it's quiet and tiny, so you can place it at a friend's place and use physical access whenever you need to work on it. No need for the backed-up (potentially ransomed) system to have any access to it, ever, beyond the append-only encryption/authentication key for adding new backup data.

Re:I finally found an use case for my Raspberry Pi Model B+ by flarg on Tuesday November 01, 2022 @03:29AM (#33418075)
Something that doesn't delete a file that I accidently deleted at source.
Re:I finally found an use case for my Raspberry Pi Model B+ by bullion9872 on Tuesday November 01, 2022 @03:35AM (#33418107)
I have my syncthing configured to not do that.
Re:I finally found an use case for my Raspberry Pi Model B+ by elcomet on Tuesday November 01, 2022 @03:49AM (#33418189)
What if the file is wrongly modified ?
Re:I finally found an use case for my Raspberry Pi Model B+ by cassianoleal on Tuesday November 01, 2022 @04:20AM (#33418370)
You can configure Syncthing to keep X versions of a file for N amount of days, etc.

I don't disagree that Syncthing is not ideal as a backup solution but it can be a pretty decent one depending on your use-case.

Re:I finally found an use case for my Raspberry Pi Model B+ by mattbee on Tuesday November 01, 2022 @06:45AM (#33419367)
Read the whole article.

The author describes how he takes immutable filesystem snapshots.