Help Center


How to collect logs on NAS manually?


Manual log collection depends on the OS you use to connect to your NAS.

Windows

  1. Ensure your NAS allows SSH connection.
    The majority of NAS vendors allow it by default, though some require explicit permission (Allowing SSH for Synology)
  2. Download the pscp tool from putty.org, place it to some empty folder.
  3. Open command line prompt and navigate to the folder where you place pscp.exe
    Example: cd C:\Users\JohnDoe\Downloads
    You can hit tab when typing to auto-complete folder names
  4. Find where Sync keeps logs on your NAS depending on your NAS vendor.
  5. Execute secure copy command:
    pscp -r -scp <admin_or_root_username>@<your_nas_ip_or_name>:<path_to_logs> ./

The whole folder with all Sync internal data will be copied to your computer. Now clean it up leaving only *.log, *.log.zip, *.journal files. Pack them and send to tech support.

Example

Let's assume we have Synology NAS at 192.168.1.10 IP. Sync won't run without admin user, so admin will definitely be enabled in our case. Looking into Where to collect logs on NAS article we realise it is /usr/local/resiliosync/var. You just downloaded pscp to your Downloads folder.

Open terminal and navigate to your Downloads folder:

cd C:\Users\JohnDoe\Downloads

Run command to copy all the file:

pscp -r -scp admin@192.168.1.10:/usr/local/resiliosync/var/ ./

 

Command line will prompt you for admin password and after entering the pass will get all the Sync internal data into your C:\Users\JohnDoe\Downloads\var folder. Now we can clean it up, leaving logs only.

OS X and Linux

  1. Ensure your NAS allows SSH connection.
    Most NAS vendors allow it by default, though some require explicit permission (Allowing SSH for Synology).
  2. Open terminal window.
  3. Navigate to some folder using "cd" command
    Example: cd /home/johndoe
  4. Find where Sync keeps logs on your NAS depending on your NAS vendor.
  5. Execute secure copy command:
    scp -r <admin_or_root_username>@<your_nas_ip_or_name>:<path_to_logs> ./

The whole folder with all Sync internal data will be copied to your computer. Now clean it up leaving only *.log, *.log.zip, *.journal files. Pack them and send to tech support.

Example

Let's assume we have Synology NAS at 192.168.1.10 IP. Sync won't run without admin user, so admin will definitely be enabled in our case. Looking into Where to collect logs on NAS article we realise it is /usr/local/resiliosync/var

Open terminal and navigate to your home folder:

cd /home/johndoe

Run command to copy all the files

scp -r admin@192.168.1.10:/usr/local/resiliosync/var/ ./

terminal will prompt you for admin password and after entering the pass will get all the Sync internal data into your /home/johndoe/var folder. Now we can clean it up, leaving only logs.

Was the article helpful? Yes / No, send feedback on article Thanks!


Please note that we won't mail you back. This is just purely feedback on the article above. If you need help from our Support Team, please use the "Contact Support" link at the top of the page.