this post was submitted on 11 Aug 2023
9 points (100.0% liked)

Selfhosted

40347 readers
331 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm just diving into self-hosting, and I'd a way to have a constant cloning of my phone in the background, preferably FOSS. Does anything like that exist?

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 1 year ago (1 children)

Syncthing is nice and simple to use on all platforms. I like it.

[–] [email protected] 2 points 1 year ago (1 children)

I use it to synchronize media to my raspberry pi, which then runs restic daily to do the actual backup.

However, you shouldn't use syncthing if you want to delete the files on your phone after they're backed up, because they'll disappear from the server as well. I think you can wrestle syncthing into handling this correctly, but it's not advised as it's not meant for backups.

For that I've been thinking about setting up immich or the like, but for now I have plenty of space on the phone ;)

[–] [email protected] 1 points 1 year ago

Yes, you make a good point. I actually use Syncthing in a similar fashion. It synchronizes my files to my NAS and PC, then I have a weekly incremental backup done, this stays on the NAS and also gets uploaded encrypted to a cloud storage.

[–] [email protected] 6 points 1 year ago (1 children)

On GrapheneOS and lineageOS you'd have Seedvault which does exactly that

[–] LazerDickMcCheese 1 points 1 year ago (1 children)

I'm actually going through the painful process of switiching to lineage right now. It's gonna take a long time for me to manually backup my voice recordings since my phone is unroofed, but I'll look into Seedvault once I get there. Thank you!

[–] [email protected] 1 points 1 year ago (1 children)

Why do you need to manually backup them? Aren't they just files?

[–] LazerDickMcCheese 1 points 1 year ago

Yes, but the stock voice recorder on my phone hides the data behind root access. I'm a musician, so those recordings are precious to me.

[–] [email protected] 4 points 1 year ago (1 children)

You can't backup android App data without root. With root, use Neo Backup and Syncthing for that

[–] [email protected] 1 points 1 year ago (1 children)

Is Neo Backup better than Swift Backup?

[–] [email protected] 2 points 1 year ago

I don't know, haven't tried Swift Backup yet

[–] [email protected] 3 points 1 year ago (1 children)

i'm using Autosync to backup my files on my NAS every day. It doesn't require Root therefore it can't create "real" backups that you could restore from. It can only copy the files from your Phone; Pictures, Files, etc.

[–] [email protected] 2 points 1 year ago

That's useful when you have a backup tool like TitaniumBackup (root needed) to do the backup locally to SD. That negates the need to sync to one of the 3 supported cloud platforms. (where a selfhoster wouldn't want to store the data)

[–] [email protected] 2 points 1 year ago

I use SMBSync2 (f-droid) to back up select folders from my phone to my NAS. And to copy any new music from my NAS to my phone.

Most phone backup solutions won't backup the data (i.e. settings) of your apps, unless you are rooted. The majority will backup either files and/or files, SMS, phone logs, etc.