r/synology • • 3d ago

Solved Usbcopy error -2

Hello.
I got an error -2 on one file while saving from the NAS to an external USB HDD. It is a minor ithmb file but I can’t find a definitive answer to my question : did the copy finished after the error or did it stopped?

0 Upvotes

10 comments sorted by

3

u/uluqat 3d ago

It is insane to assume that it didn't fail, so assume it failed.

1

u/FFA66470 3d ago

This seems reasonable but starting a new copy of millions of files because one is missing moreover which will be automatically regenerate when necessary isn’t

2

u/gadget-freak Have you made a backup of your NAS? Raid is not a backup. 3d ago

Check the number of files on source and destination.

1

u/FFA66470 3d ago

This Is not an option in my case. There are millions of file and the number in the source can have already change

1

u/Empyrealist DS923+ | DS1019+ | DS218 3d ago

View and Filter Logs

  1. Go to the left panel, and click Log (the document icon).
  2. In the pop-up window, you can browse logs, or filter them in either way:

    • Keyword filter: Enter a task name, folder name, or filename in the upper-right field and press Enter.
    • Advanced filter: Click on the magnifying glass icon and specify the criteria below:

      • Keyword: Enter a task name, folder name, or filename.
      • Type: Select Information to find processing-related logs; Error for task error logs; Warning for file error logs.
      • Log description type: Select specific types of log description.
      • Date Range: Select a time range when targeted copy events occurred.

Source: https://kb.synology.com/en-global/DSM/help/USBCopy/usbcopy_general

0

u/FFA66470 3d ago

Sorry but this is not the point. I use USBCopy for months as a weekly backup. Today I have an error on one autogenerated file so knowing if the whole copy fails or just this file makes a great difference

2

u/Empyrealist DS923+ | DS1019+ | DS218 3d ago

And looking at the logs doesn't tell you the answer to that question?

1

u/FFA66470 3d ago

Finally looking at the /var/log/usbcopyd.log I was able to find that the error on the specified file occured before the end of the task sending the error only when it has finished.
So no need to restart the backup task before next week.

1

u/MediocreAdvantage 3d ago

You got an error trying to back up your files. Nobody here can tell you whether your backup finished or not. I personally would not trust a backup that errored at any point in the process, and I'd retry it. It seems like you're against retrying the backup and ultimately it's up to you on what you trust or do not.

1

u/FFA66470 3d ago

As I write earlier I was able to confirm the task finished after the error reporting it only at the end. Anyway I’ll check on next backup what happens.