this post was submitted on 25 Dec 2024
681 points (98.6% liked)
linuxmemes
21795 readers
1559 users here now
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now. ย
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Damn, that sound pretty cool, thanks for the info!
It's also incredibly useful to backup /sdcard via rsync or Borg every night automatically
Or access the contents of your phone via SFTP
I like using syncthing. It syncs all my apps that are backed up with neobackup, my pictures, files etc. to my NAS. Then my NAS runs borg on that directory as well as all the other important NAS directories to make the legit backups.
I have termux installed but I honestly rarely use it. Hate typing on the phone in the terminal... if I need to do it then I'll just adb connect from my computer and do it from there on a real keyboard.
I also did the same as you but because they discontinued the official syncthing app on Android I skipped the "sync to PC first step. Now I directly go to Borg from phone night time only when charging, the automate app is able to invoke termux and run the backup script
Many times it happened the syncthing app crashed in background and I didn't notice before after several days, now if the Borg repository server (borgwarehouse, it's a must have) doesn't see activity after some user specified time sends me a warning email
Syncthing-fork has been recommended over Syncthing for the last few years. That's what I've been running for about that long with no issues. I like having access to a copy of the actual files on the NAS too which a borg backup doesn't provide unless you do an additional borg mount. Syncthin-fork does other things too, light keeping a keepass database synced on devices. But yeah, nothing syncthing can do over a scheduled rsync script... I just have not found that to be as reliable on Android as it is in Linux.
Syncthin-fork has never stopped working for me. I would notice because it also puts my pictures into a folder that gets read by immich and I often check immich to look at my photos. I run immich differently than intended where I don't do the photo backups with it. I only use it as a gallery client on my existing organized directory structure of images. It only has read only access.