Storage path is the directory where the Management Console keeps its setting, database files, debug logs and other service information. By default, storage is created in the directories mentioned here.
It's possible to keep the storage on a different location. Follow the steps below for Windows. It is vital that
- the user under who the MC runs has recursive read-write access to the new storage location.
- the new storage location already exists on the server.
1. After the MC is installed, open Services and stop Resilio Connect Management Console service.
2. Open Windows Registry editor and navigate to Computer\\HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\resilio-connect-server
3. Double-click on Image path and put the path to the new storage location with an --appdata
parameter, for example, "--appdata" "K:\server"
Be sure that such a directory already exists on the device!
4. If necessary, copy the files from default storage location to the new location. Do not delete the current storage location until verifying that everything is configured correctly
5. Start the Service. MC will use the new storage location. One of the ways to confirm that is the "Modified" timestamp of common.log and audit.log files - it will be updated to the current time.
1. Stop the Management Console process
2. Copy the content of {path_to_resilio-connect-server}/var
to a new location.
3. Run your service with the --appdata
parameter and path to a new location: /opt/resilio-connect-server/srvctrl start --appdata /new/storage/path