| | 8 | Configuration follows the usual opensync procedure. Here's an example how |
|---|
| | 9 | to create a synchronization group with sync4j and file-sync: |
|---|
| | 10 | |
|---|
| | 11 | $ msynctool --addgroup sync4jfile |
|---|
| | 12 | $ msynctool --addmember sync4jfile syncml-client |
|---|
| | 13 | $ msynctool --addmember sync4jfile file-sync |
|---|
| | 14 | $ msynctool --configure sync4jfile 1 |
|---|
| | 15 | |
|---|
| | 16 | This will open an editor and you are required to set some minimal settings (most |
|---|
| | 17 | are already set to a reasonable default value). |
|---|
| | 18 | In node <Auth> set your credentials. |
|---|
| | 19 | In node <Conn> set the url. |
|---|
| | 20 | In node <Sources> adapt <uri> to point to the correct database. |
|---|
| | 21 | |
|---|
| | 22 | $ msynctool --configure sync4jfile 1 |
|---|
| | 23 | Configure the file-sync plugin |
|---|
| | 24 | |
|---|
| | 25 | $ msynctool --discover sync4jfile 1 |
|---|
| | 26 | $ msynctool --discover sync4jfile 2 |
|---|
| | 27 | |
|---|
| | 28 | Now make a sync |
|---|
| | 29 | $ msynctool --sync sync4jfile |
|---|
| | 30 | |
|---|
| | 31 | |
|---|
| | 32 | |
|---|
| | 33 | |
|---|