Synology - Change shared folder sync destination without recreating task
Post date: Dec 2, 2014 4:16:19 PM
Logon with ssh
cd /usr/syno/etc/
For DSM < 5.1 :
vi S2STask.conf
Change sync_server=
Your IP or Server name
For DSM >= 5.1 :
cd /usr/syno/etc/S2S/
sqlite3
sqlite>.open ./config.sqlite
sqlite>SELECT `_rowid_`,* FROM `task_table` ORDER BY `_rowid_` ASC;
## retrieve the ID of task to be changed
sqlite>UPDATE `task_table` SET `server_name`="
mynewserver.dyn.org" WHERE `_rowid_`=
ID to be changed;
## OR
sqlite>UPDATE `task_table` SET `server_name`="new.dscloud.me" WHERE `server_name`="old.dscloud.me";
sqlite>.quit
Reboot to apply