7 ms·
There are a couple of problems with the existing backup: 1. It is non-incremental. This means you'll need about as much free space on your phone as your Signal
by Sesse__ 1y ago
There are a couple of problems with the existing backup:
1. It is non-incremental. This means you'll need about as much free space on your phone as your Signal database takes, and it may take many hours to make if your database is large (mine is 18GB). I used to wake up to find my phone had not even fully charged because it had been so busy writing Signal backups.
2. Once you have it on disk, how do you get it away from your phone? Especially after SyncThing disappeared from Play Store (because it was basically a non-Android app behind a thin Android shell that couldn't easily be upgraded to more modern native APIs), there's nothing super-obvious here.
I would have loved a better solution for local backups, but realistically, $2/month for cloud backup is really cheap, and a pragmatic solution.
- nottorp 1y ago> Once you have it on disk, how do you get it away from your phone? adb pull no worky? At least for HN readers.
- Sesse__ 1y agoAny backup that needs manual intervention is no backup.
- nottorp 1y agoThought people are talking about backups without a "cloud" involved. So you'd need to manually connect your phone to something...
- Sesse__ 1y agoWhat? My phone has a perfectly working 802.11 chipset, which is able to talk to my very own machines that are not in a cloud, no manual connection needed. This is purely a software/ecosystem issue.
- dmesg 1y agoImagine we could run the backup server backend self-hosted and FLOSS. Like Vaultwarden, the upstream bitwarden client API.
- nine_k 1y agoWireguard + syncthing (from F-Droid) work fine. Triggering it when the phone is on the charger makes it very easy to sync things from a computer to the phone, while next to the computer.
- hiq 1y agoTo be clear, Signal + Syncthing also works fine, that's what I have.
- XorNot 1y agoIt absolutely does not work fine. Keeping 2x the size of my database in free space on my phone to let backups work it's no solution at all, which is why I stopped doing it. (The backup creates two files - current and previous, and Syncthing can't remove complete files to another location, so you need an actually rather difficult to write script to do it).
- nine_k 1y agoI see. I was talking about Syncthing in general, not about the specific way of backing up Signal.
- roywiggins 1y agoI never really grokked Syncthing. I recently vibe-coded a crappy Windows Go GUI to grab files off my phone via rclone & sshd4a and then optionally delete them, but it's a very manual process since sshd4a has to be running on the phone before I initiate the pull.
- XorNot 1y agoSyncthing is just open source Dropbox, self hosted. It's entire purpose is "make two folders identical". It's very good at that: so good that I frequently wish it did other things - i.e. if it had some notion of minimum seeding levels so it would destage files off a device provided they were replicated elsewhere (e.g. automatically clearing old photos off your phone would be a good use of it).
- dmesg 1y agoEven automatic backups run at intervals to cause less server load. The article says you absolutely have to write down your restore key too (They say notebook or PW manager). It may seem obvious now, but I know most people will forget and be puzzled if their phone suffers physical damage. A lot about this has mandatory manual steps.
- kelnos 1y agoI think you misunderstand. Any backup that requires a manual step every time a backup is created is not a backup. A backup that requires some one-time manual setup, like recording a restore key, is fine. Yes, there are some people who will forget to do that, or just lose the restore key, but that's the security/usability trade off.
- justoreply 1y agoYou can still use https://f-droid.org/en/packages/com.github.catfriend1.syncthingfork/ https://f-droid.org/en/packages/com.github.catfriend1.syncth...
- autoexec 1y ago> Once you have it on disk, how do you get it away from your phone? plug your phone into a computer? Install Termux and use one of the countless command line programs designed to transfer bits over a network?
- codethief 1y agoI think GP was talking about how to transfer the backup 1) daily, 2) in an automated manner, and 3) reliably and in time (before, 48h later, Signal overrides the existing backup on your phone later with a new one). This is not trivial when each backup archive is in the order of 20 GB.
- zamadatix 1y agoThe $1.99/m is not for the up front work of fixing what sucks about current backups though, it's just bundling those fixes in with YACSS (Yet Another Cloud Storage Subscription) is the only way to get people to pay their "reasonable" recurring fee. People here seem to want to answer the question of how to copy data most directly, but only because that's how the problem was phrased. I'm not convinced "users had no way to sync data on their phone" was/is a real problem worth paying for YACSS for in the first place.
- andrepd 1y agoExplicitly, from TFA: > But secure backups aren’t the end of the road. The technology that underpins this initial version of secure backups will also serve as the foundation for more secure backup options in the near future. Our future plans include letting you save a secure backup archive to the location of your choosing, alongside features that let you transfer your encrypted message history between Android, iOS, and Desktop devices.
- godelski 1y agoNot to mention that this is a pretty good way to fund Signal. That's always been a challenge with Open Source projects as not enough people want to donate. On that note, a lot of companies will do donation matching and just saying, that's one way you could go about it if you feel inclined. For an app I use every day, I don't mind throwing them some beer money (and having work pitch in too). I get more utility out of it than my Spotify subscription
- bmicraft 1y agoFoldersync is a great app
- jcynix 1y ago> Once you have it on disk, how do you get it away from your phone? On Android? Easy, Termux app and then rsync to my Desktop/Laptop. Or via Solid Explorer. Or E-Mail via Blitzmail. Non incremental is a suboptimal design decision, backups should be incremental, e.g. monthly if automated or with from-to dates.
- aftbit 1y agoI would use scp under Termux to copy the backup away personally.
- whatevaa 1y agoOn Linux KDE connect can mount your phones filesystem as FUSE filesystem and then you can use desktop file explorer like dolphin. It's even integrated and automatically apears as an option. Quite convenient, I would say. Performance is pretty good too.
- andrepd 1y agoAny Linux desktop can do that via MTP (Google doesn't allow access as mass storage anymore)
- taylortbb 1y agoDoesn't MTP require plugging in a USB cable? KDE Connect works wirelessly as long as your phone and computer are on the same network.
- godelski 1y agoKDE Connect just uses an SFTP file mount. You can do that on any system that you can ssh. But I wouldn't use that for backups, I'd use rsync. https://wiki.archlinux.org/title/SSHFS https://wiki.archlinux.org/title/SSHFS
- jowea 1y agoMaybe it's just me but doing a big transfer over cable is a crapshot since it will disconnect midtransfer. KDE connect is a bit better but syncthing is the best solution still.
- dns_snek 1y ago> Especially after SyncThing disappeared from Play Store (because it was basically a non-Android app behind a thin Android shell that couldn't easily be upgraded to more modern native APIs), there's nothing super-obvious here. That's not what happened, it was Google who started rejecting their updates on Play store. I believe the original Android app maintainer quit after that but there's a fork on on F-droid which works perfectly.
- graemep 1y agofork that will work perfectly until year after next.
- Zambyte 1y agoWhy?
- cyphar 1y agoPresumably they're referring to Google's plans to roll out developer signing requirements for all apps[1], which will affect F-Droid-installed apps. [1]: https://news.ycombinator.com/item?id=45017028 https://news.ycombinator.com/item?id=45017028
- Sanzig 1y agoAssuming that the developer of Syncthing-Fork doesn't mind providing ID to Google, they shouldn't have an issue getting a signing key (we will see how this works in practice). They aren't doing anything objectionable to Google. The bigger issue for third party apps will be things like Newpipe, where applying for a key will put the developers in danger of a lawsuit because it affects Google's business. (The APK signing requirement is a fiasco, I'm not defending Google. Just pointing out that this app will probably not be as seriously impacted as others).
- sunaookami 1y agoFWIW, adb install will continue to work: https://www.notebookcheck.net/Android-s-app-sideloading-block-has-a-potential-workaround.1107566.0.html https://www.notebookcheck.net/Android-s-app-sideloading-bloc...
- jp191919 1y ago>2. Once you have it on disk, how do you get it away from your phone? I've been using Nextcloud for my backups for the past couple years.
- stevenwalton 1y ago> Once you have it on disk, how do you get it away from your phone? Since we're talking about Android, a great method is to just use Termux and rsync. You can write a pretty quick and dirty shell script to accomplish this. Here, I'll drop mine[0]. It's no the cleanest but it'll get the job done and has some documentation to it. It will check if you're on WiFi and connected to a specific SSID. You can change this around pretty easily to do different things like point at 2 servers, use Tailscale, give a white list of allowed SSIDs, change the rsync to have it delete from the local storage, or whatever. If you don't know how you can reply to this comment or open an issue and I'll respond[1]. Unfortunately this doesn't work on iPhone. I have a shortcut that will do something similar that I can share but that is a lot hackier... [0] https://github.com/stevenwalton/.dotfiles/blob/master/scripts/termux/backup.sh https://github.com/stevenwalton/.dotfiles/blob/master/script... [1] Probably better. I'm normally logged into my alt account
- h4ck_th3_pl4n3t 1y agoHow can an encrypted backup be incremental if it's supposed to be never decrypted on-remote-machines? Ever thought about that?
- palebluedot 1y agoThat seems pretty trivial to implement
- h4ck_th3_pl4n3t 1y agoI dare you to implement this then, where others have failed.
- Sesse__ 1y agotar --listed-incremental=foo.snar -cf - . | gpg --encrypt -r <key> > nightly.gpg You're welcome.
- deleted 1y ago[deleted]
- tremon 1y agoWhy would you need remote data to create an incremental backup?
- codethief 1y agoI'm sure if borgbackup can pull this off, Signal can, too? The solution is to split up your data into encrypted chunks, and only upload the new ones.
- zorgmonkey 1y agoWhy wouldn't it be possible? All it really means is that you need to do the work to make incremental entirely on the local side and not on the remote side.
- Dunedan 1y ago> There are a couple of problems with the existing backup: > > 1. It is non-incremental. I wonder if that's differently with the newly announced functionality. Their announcement doesn't sound like it: > Once you’ve enabled secure backups, your device will automatically create a fresh secure backup archive every day, replacing the previous day’s archive.
- Dunedan 1y ago@greysonp verified they're indeed incremental for media: https://news.ycombinator.com/item?id=45170515#45175402 https://news.ycombinator.com/item?id=45170515#45175402
- UltraSane 1y agoUSB transfer is by far the best way to transfer large amounts of data to and from phones.
- codethief 1y agoReally? Ever since Android devices ceased to be regular USB storage devices and switched to MTP, this has never worked well for me. MTP is incredibly slow.
- UltraSane 1y agoWhat method do you find to be faster?
- kzshantonu 1y agoCopyparty running in termux serving over USB tethering
- codethief 1y agoPretty much any other: Connecting my phone to my computer as USB storage (when it was still possible), connecting a thumb drive to my phone, syncing files using Syncthing, using adb, …
- roywiggins 1y agoMTP is so slow that when I have enough photos and videos on my phone, Windows will crap itself and stall out just trying to list the folder. It's functionally unusable and I don't know how I'd get those files off the phone if I didn't use literally anything else. If it was mass storage I could just rsync it over USB but it isn't so I can't. I ended up using rclone on Windows with an rsync server running on the phone, I think sshd4a usually.
- arccy 1y agoat least on android: you use a good old usb-c cable.
- aaron_m04 1y ago#1 does suck very much. My solution for #2 is an sshd I start up in Termux when I need to backup. I just rsync the file onto my computer.