NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

Max_NAS's avatar
Max_NAS
Tutor
Apr 07, 2015

backup from PC data drive to ReadyNAS

I've setup a backup job from a local data drive on my PC to a ReadyNAS folder. It works partially (ie. copies all folders and files to the destination) but throws up the "Error backup job" error and the NAS copies reflect 0kB files. The problem seems to start with the first attempted copy of a file in the recycle bin. "Cannot read $RECYCLE.BIN/S-1-5-21-3114080946-3655224-3349355193-1000/desktop.ini".
Can I exclude the recycle bin from the backup job? The whole point of a recycle bin is not wanting to have a copy of the file.
I've been in touch with support and they suggested I try a third party software. I'd prefer not to, hoping the ReadyNAS software can be made to work for me.

Thanks,

Max

13 Replies

Replies have been turned off for this discussion
  • Ah yes - those dusty old days of a black text box with files scrolling confidently upwards! I had completely forgotten about using classic CMD prompt instructions. Thank you both for the Robocopy reminder. It works perfectly, although I might find a couple of "permissions" related problems as I explore this further. The syntax I'm using is:

    Robocopy R:\ Z:\ /XD "$RECYCLE.BIN" "System Volume Information" /E

    R:\ is my PC data drive containing the four folders
    Z:\ is a mapped network share on my NAS
    /XD is the switch exluding the Recycle Bin and System Volum Information
    /E ensures a destination file isn't deleted, if deleted at source.

    Perfect!

    Thank you,
  • Max_NAS wrote:
    Robocopy R:\ Z:\ /XD "$RECYCLE.BIN" "System Volume Information" /E
    Please note I started with the disk drive and no sub folders, which is not recommended. It's mentioned somewhere in the small print.
    I later found out that it caused some problems, some of which to correct caused other complications. Take my advice and use a disk drive + a sub folder as your top level. I guarantee that it will save you some heartache later on.
    It means replicating code and listing the sub folders (and remembering to add the new ones to this code, when creating a new top level folder).
    If I remember rightly, the effect was subtle, and I now know that 'you just don't do it'.
    I pass this on, FWIW. Please analyse further before totally committing yourself.
  • StephenB's avatar
    StephenB
    Guru - Experienced User
    Max_NAS wrote:
    Ah yes - those dusty old days of a black text box with files scrolling confidently upwards! I had completely forgotten about using classic CMD prompt instructions. Thank you both for the Robocopy reminder. It works perfectly, although I might find a couple of "permissions" related problems as I explore this further. The syntax I'm using is:

    Robocopy R:\ Z:\ /XD "$RECYCLE.BIN" "System Volume Information" /E

    R:\ is my PC data drive containing the four folders
    Z:\ is a mapped network share on my NAS
    /XD is the switch exluding the Recycle Bin and System Volum Information
    /E ensures a destination file isn't deleted, if deleted at source.

    Perfect!

    Thank you,
    This should work, and you can exclude other folders and files if needed.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More