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

Forum Discussion

tonydi's avatar
tonydi
Luminary
Jun 08, 2016

Copy files to USB drive by age

ReadyNAS 10200 on current firmware/OS

 

I'm going to use the ReadyNAS to hold backup images for multiple PC's, one folder for each computer.

 

Each folder will have up to 3 image files.

 

I'm going to offload the latest image file from each folder to an external USB drive once a week.

 

Is there any way to automate this rather than have a user just manually go in and select/copy the files?

4 Replies

Replies have been turned off for this discussion
  • Retired_Member's avatar
    Retired_Member
    As far as I know, there is no way of achieving this with native ReadyNAS functionnality. Maybe with an app.
    Certainly with a custom script (I actually did that at some point), but you need to know what you're doing and be aware that NETGEAR may deny support if any problem.
    • StephenB's avatar
      StephenB
      Guru - Experienced User

      If you re-organize the data, you could automate it, though it is clunky.

       

      For instance

      Create a week-1 share (where the current backup is always stored for each PC), a week-2 share and a week-3 share.  Also create a dummy empty share.

       

      On Thursday automatically backup up week-3 to USB

      On Friday back up week-3 from week-2 (using the option to delete week 2 contents)

      On Saturday back up week-2 from week-1 (using the same option)

      On Sunday back up the dummy empy share to week 1 (again using the option to delete) in order to clear it for new backups. 

       

      Then fresh backups from the user PCs can be written to week-1 from Monday-Friday.

       

       

      If you use snapshots, you can get the similar effect in a different way.  

      Create one backup share, and one dummy empty share. Set the snapshot retention for the backup share to 3 snapshots.

       

      Back up the current contents of the backup share to USB every Saturday

      Make a snapshot on Saturday as well.

      Run the dummy backup on Sunday to delete the current contents of the backup share (migrating those contents to the most recent snapshot).

       

      Once that dummy backup job runs, you'll have 3 backups in the snapshots and an empty share. You'll also have the most recent backup saved to USB drive (not the oldest). 

      • tonydi's avatar
        tonydi
        Luminary

        Wow, Stephen, that's really clever, thank you for that. 

         

        First I must apologize because I can see that I didn't provide enough info on what I'm trying to do. The USB drive will be used for off-site storage and will only be connected once a week for as long as it takes to copy the latest backups. Plus, I don't think your solution is going to work for this situation because if I understand your process, I won't have enough disc space to accomplish this. 

         

        I'm looking at some scripting using forfiles that the local user could run when she plugs in the USB drive.  If I can give her an icon to click then I think we can get a good result.

         

        Thanks again for your help!

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