this post was submitted on 04 Nov 2023
61 points (100.0% liked)

Android

27317 readers
114 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

!android@lemmy.ml


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Fermiverse@feddit.de 13 points 9 months ago (1 children)

Syncthing.

App on the phone and host on the server.

[–] Sibbo@sopuli.xyz 2 points 9 months ago (3 children)

But syncthing deletes images when they are deleted on the phone right? I just tried it, and this is what seems to happen. Is there a way to set it up such that I can delete things on my phone, but they won't be deleted on the server?

[–] macattack@lemmy.world 8 points 9 months ago* (last edited 9 months ago) (1 children)

https://docs.syncthing.net/users/config.html

Adjust the config settings:

sendreceive The folder is in default mode. Sending local and accepting remote changes. Note that this type was previously called “readwrite” which is deprecated but still accepted in incoming configs.

sendonly The folder is in “send only” mode – it will not be modified by Syncthing on this device. Note that this type was previously called “readonly” which is deprecated but still accepted in incoming configs.

receiveonly The folder is in “receive only” mode – it will not propagate changes to other devices.

receiveencrypted Must be used on untrusted devices, where the data cannot be decrypted because no folder password was entered. See Untrusted (Encrypted) Devices.

[–] Sibbo@sopuli.xyz 2 points 9 months ago (1 children)

Yeah, I have the folder on the phone on sendonly. But this sends also deletions to the server, apparently.

[–] Fermiverse@feddit.de 9 points 9 months ago

Ignore delete is a folder feature that you can set on the receiving folder.

[–] MangoPenguin@lemmy.blahaj.zone 2 points 9 months ago* (last edited 9 months ago)

Yup, it's not a good solution.

Look into Foldersync, PhotoSync, Nextcloud, Immich. They all work how you would expect where photos are backed up, and you can then remove them from your device if needed.

[–] onelikeandidie@lemmy.world 2 points 9 months ago (1 children)

You can make it so that you can have a folder ignored by your syncthing on your computer called something like backup but have your phone still recognise that folder as not ignored. Then when you want to delete a photo in your phone, just move it to that folder, wait until it syncs and then delete it. Your computer should not delete the photo since it ignores any changes in that folder. I'll test this when I get home if you would like?

[–] Sibbo@sopuli.xyz 2 points 9 months ago

Thanks, but this is too labourous for me. I would like to be able to delete photos directly from my phone without the need to move them first.

I am now thinking about setting up a cronjob on the server that backs up the pictures every minute or so to a different folder with rsync...