Sync server for photo images


nicoX

Recommended Posts

We are setting up a sync server for our photographers to sync their photos to our server. According to the FAQ we will be at risk losing old images just because a new image with the same filename will be uploaded.

How can we prevent files to be overwritten on our server?

Is there a way to prevent that in the conf file, write a script or by setting up a file permission in Linux?

 

"What if files with same names are added from different computers?
We give human action first priority and always consider it right. That's why if several files with the same name are added on different devices, BitTorrent Sync will synchronize the file that was the latest added to BitTorrent Sync even if it is not the newest version of the file itself. Previously added files will be deleted, but you can find them in .SyncTrash (if enabled in folder preferences)."

Link to comment
Share on other sites

Hello,

 

BTsync does not have an option to turn off overwriting of files with the same filename. Furthermore, this would not be syncing after all, maybe rsync and the archival function would be better suited for your use case. The only option you would have with BTsync is the .SyncArchive folder, which keeps overwritten files up to a certain number of days, combined with a script acting upon changes to the archive folder could be used as well.

Maybe a simple directory structure with "YYYY-MM-DD" for each corresponding date would be more suitable? 

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.