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

Forum Discussion

InteXX's avatar
InteXX
Luminary
Sep 11, 2015
Solved

How to backup from remote to local

I'm preparing a script to perform a nightly backup of files from my Windows server to my RN104. After each copy action is complete I'd like the script to compare the checksums for the file as it exis...
  • InteXX's avatar
    InteXX
    Sep 13, 2015

    OK, got it. Here's how:

     

    1. Browse to the ReadyNAS Admin Page
    2. Go to System\Settings and enable SSH
    3. Download and install PuTTY from here: http://www.putty.org/
    4. Add the PuTTY installation folder to your system path (optional)
    5. Create a simple PowerShell script with this code, modifying the file location where necessary: 
      $CheckSum = (plink -pw password root@readynas md5sum /data/ShareName/Folder/File.txt) | Out-String
      $CheckSum
    6. Run the script
    7. Note that the md5 command result is captured to the local variable and then output to the local console
    8. You may process this result using standard PowerShell commands as desired

     

    Note that direct support for SSH in PowerShell is coming soon:

     

    http://blogs.msdn.com/b/powershell/archive/2015/06/03/looking-forward-microsoft-support-for-secure-shell-ssh.aspx

     

    HTH

     

    Thanks,
    Jeff Bowman
    Fairbanks, Alaska

     

     

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