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?
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.
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.
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?
Syncthing.
App on the phone and host on the server.
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?
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.
Yeah, I have the folder on the phone on sendonly. But this sends also deletions to the server, apparently.
Ignore delete is a folder feature that you can set on the receiving folder.
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.
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?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…