sync-ohoy

Will Btsync Treat Mounted Folder As Local?

Recommended Posts

Having a share with subfolders synced between several machines.

Now one machine is full so I need to move one of the subfolders onto an external disk. I don't want any changes in the share for any of the other machines.

 

I moved the subfolder to the external disk and symlinked back into the share. Big mistake, btsync doesn't follow symlinks so the subfolder was removed from all other machines and replaced by a (then broken) link...

 

I've spend several hours already restoring the share from .sync and it's still a mess with all timestamps set to just now and lots of older files that already was in .sync when this huge deletion found it's way there...

 

If I instead of symlink back to the share "mount --bind" the folder on external disk into the share will this be treated as a local folder by btsync? Not messing up the share again?

I neither have time nor will to experiment risking a messup again.

 

All machines is various linux.

Share this post


Link to post
Share on other sites

I neither have time nor will to experiment risking a messup again.

In which case, best advice would be to avoid symlinks all together!

If a disk is getting full, consider removing a folder from Sync, physically moving its contents to another disk, and then re-adding the folder in its new location back to Sync.

If you're running out of space due to deleted/archived files within you .sync/archive folders, you could consider reducing the number of days that files persist in these archive folders (via the advanced sync_trash_ttl setting), or prevent files from being moved (deleted) to these folders, by unticking each folders "Store deleted files in folder archive"

Share this post


Link to post
Share on other sites

Thank you but your suggestions does not help much.

If I could move the whole share I would.

I want to keep the main project share in it's current location, it is only one project that has grown too much that I right now need to move elsewhere.

 

Now, how does btsync handle mountpoints?

 

And symlink is usually a quite excellent tool, it's only this particular setup with btsync that is an issue.

Share this post


Link to post
Share on other sites

I am currently using a bind mount point and is it synced correctly.

My first try did not work, but after one or two restarts of the btsync daemon it worked.

Share this post


Link to post
Share on other sites

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.