4 ms·
i love syncthing. but it is difficult to make backups from my phone where i need the ability to delete files that take up to much space, but that i want to keep
by em-bee 6y ago
i love syncthing. but it is difficult to make backups from my phone where i need the ability to delete files that take up to much space, but that i want to keep on the backup.
there is a function to ignore deletes, but it is hidden in the advanced settings which are difficult to access (some of those advanced settings should be hidden, but ignore delete is not one of them i think)
another thing i miss is an easy ability to see if all files have been sent. currently the status only shows if all files from the remote device are received, but i care more if all local files are sent (and thus backed up)
- thunderbong 6y agoWhen you set up a folder to sync, you can choose the 'Folder Type' under the 'Advanced' tab. This sets up that folder to do bi-directional sync or not.
- em-bee 6y agothat does not matter, backup should sync files from the phone to the backup-device. it should not sync deletes from the phone to the backup-device. but uni-directional still syncs both, only ignoring delete on the backup-device prevents syncing deletes. the point is that it's complicated and the 'ignore delete' is easily missed. also because it is not shown in the status. so every time i have to wonder, did i set this up correctly? and i have to check the status on both the phone and the backup-device to make sure all is right. when i want to delete something on the phone i have to check on the backup-device to make sure that the file is backed up. because the phones status does not tell me that. it only tells me whether it downloaded everything from other devices which is less usefull, i can see which files are on the phone anyways. i can't see what's been uploaded to the backup-device unless i go look. just the other day i realized that for a new folder i had not set up ignore-delete. luckily, because i am paranoid, i made a hard-link duplicate of the backup before starting to delete files on the phone.
- seniorivn 6y agothere is an alternative way, make the sync regular bidirectional but on server have a Cron job that archives(moves to a different directory) backup files that are no longer needed on local devices
- karlicoss 6y agoYeah, I think a cron job to move/rsync is the most robust method.
- em-bee 6y agodoesn't work for me, because the cron job doesn't know when i no longer need the file on the phone. if i sync deletes from the backup device to the phone then a cron job to move files would potentially cause files to be removed from the phone before i am done with them. rsync would cause the files to be duplicated (although i could still hardlink using rsync)
- karlicoss 6y agoHmm, what if you use a special directory where you could move the files on your phone once you don't need them? And then the cron job would move stuff from that directory ah for rsync I meant with --remove-source-files flag -- it's just sometimes rsync is easier to use than move, depending on the hierarchy of your files
- em-bee 6y agofrom the phone i want the files synced to the backup as soon as they are created. if i only sync those that i don't need then the once i do need never get synced. unles you mean to sync first, then move files i want to keep on the backup only out of the way and rsync --remove-source-files those files again. the problem with that is that when i do remove files on the phone, then it's because i need the space. at which point i don't want to wait. syncthing does what i want. that is not the problem. them problem is only that it is easy to forget to set up ignore-delete, and that it's hard to monitor the sync status of the backup from the phone. i appreciate the suggestions, but they don't really do much to help my case. what is really needed is an improvement of the syncthing UI and in particular a redesign of the way the status is handled. for my backup maybe i'll set up an rsync with hard-links to create a second version of all files which protects them from accidental deletion.
- JeremyNT 6y agoI think your complaint is that this is not the simplest use case for syncthing? These complaints seem subjective to me It has all the features you desire, but the UX/UI is streamlined for synchronization, not archiving.
- em-bee 6y agothat is correct. and yes, it is entirely subjective. i am merely reporting my personal experience
- unhammer 6y agoHm, I just move them on my laptop from ~/Phone/DCIM/ to ~/Pictures/fromPhone/ (where only the first dir is synced with the phone). I can't go through stuff on my phone and move from there, but I find it faster to go through pictures and videos on my laptop anyway …