rbtsync

Link Directory From The Configuration File

Recommended Posts

hi,
 
I need a shared folder link unattended . I have seen in this configuration file :

"shared_folders" :  [    {      "secret" : "MY_SECRET_1", // required field - use --generate-secret in command line to create new secret      "dir" : "/root/bittorrent/test", // * required field      "use_relay_server" : false, //  use relay server when direct connection fails      "use_tracker" : false,      "use_dht" : false,      "search_lan" : true,      "use_sync_trash" : true, // enable SyncArchive to store files deleted on remote devices      "overwrite_changes" : true, // restore modified files to original version, ONLY for Read-Only folders      "known_hosts" : // specify hosts to attempt connection without additional search      [        "192.168.1.2:44444"      ]    }  ]

how I link this device with another?

 

Thanks!!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites

@rbtsync

The trick here is in "secret" parameter. If you are running Sync on Linux - you can use command line to generate a secret. Once you put the same secret on 2 different peers, they'll connect and sync data.

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.