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

Forum Discussion

BJB's avatar
BJB
Aspirant
Jan 22, 2018
Solved

Push vs. Pull Rsync backup

This FAQ  How do I backup data between two ReadyNAS OS 6 systems describes how to setup a backup job on the source NAS to backup to another NAS.

 

I have seen some posts where users are setting up the RSYNC job on the destination NAS and "pulling" the data from the source.  I didn't see an FAQ for this method.

 

What are the pros and cons of the two different kinds of setup?  One concern is not inadvertantly pulling or pushing something incorrectly and over-writing the wrong NAS in error. In my case the destination is a faster NAS if that makes a difference. 

 

Thanks,

BJB

 


  • BJB wrote:

     

    I have seen some posts where users are setting up the RSYNC job on the destination NAS and "pulling" the data from the source.  I didn't see an FAQ for this method.

      


    It is pretty straightforward, you just need to reverse the source and destination in the faq.  Ignore step 16, it doesn't apply.

     


    BJB wrote:

     

    What are the pros and cons of the two different kinds of setup? 

     


    One advantage of the "push" backup is that the source NAS will make a snapshot, and then back up the snapshot.  That ensures that all the files are coherent (copied at the same time instant), and that a file can't change while it is being backed up.

     

    If the backup NAS is on a power schedule (as mine are), then the "pull" backup ensures that the backup NAS is actually running when the backup starts, and that it won't shut down until the backup is finished.

6 Replies

Replies have been turned off for this discussion
  • StephenB's avatar
    StephenB
    Guru - Experienced User

    BJB wrote:

     

    I have seen some posts where users are setting up the RSYNC job on the destination NAS and "pulling" the data from the source.  I didn't see an FAQ for this method.

      


    It is pretty straightforward, you just need to reverse the source and destination in the faq.  Ignore step 16, it doesn't apply.

     


    BJB wrote:

     

    What are the pros and cons of the two different kinds of setup? 

     


    One advantage of the "push" backup is that the source NAS will make a snapshot, and then back up the snapshot.  That ensures that all the files are coherent (copied at the same time instant), and that a file can't change while it is being backed up.

     

    If the backup NAS is on a power schedule (as mine are), then the "pull" backup ensures that the backup NAS is actually running when the backup starts, and that it won't shut down until the backup is finished.

    • BJB's avatar
      BJB
      Aspirant
      Thanks for clarifying! I plan to use hard drive spin down but not a power schedule so I think push would be okay.
      BJB

    • BJB's avatar
      BJB
      Aspirant

      I was going to set this up when I realized something.  My new RN424 NAS (now blank) should be my new source NAS for my video folder and my old NAS RN104 should be my "backup" NAS for this folder so I am writing to, and streaming from my new NAS in the future. 

       

      So I realized I need to copy that one video folder from the old NAS to the new NAS to start and then copy all new files to the new NAS going forward.  Should I just do an explorer or teracopy for this one-time copy? Settying up a sync I don't think makes sense as in the future it will be going the other way?   

       

      I then think I need to free up some space on the old NAS so there is room for future Syncs of this folder from the new NAS as new videos are added.

       

      So once I add new files to the new NAS I need these files copied to the now backup folder on the old NAS which up until these new file adds were identical.  Can I keep what is there on the old NAS and add to it when I setup the sync or will it need to be an entirely new folder to get the sync going? If it needs to start with a clean folder then I will need to make sure is room for a one-time sync and then delete my original folder afterwards (which is scary to do..). Would prefer the sync just ADD files added to the new NAS to my old NAS so I can keep my original folder and files as they are...

       

      Geez this sounds complicated...

      Thanks again for the help and any suggestions.

      BJB

       

       

       

       

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        BJB wrote:

         

        So I realized I need to copy that one video folder from the old NAS to the new NAS to start and then copy all new files to the new NAS going forward.  Should I just do an explorer or teracopy for this one-time copy?

         


        Personally I've just used rsync share-by-share backup jobs to get the folders onto the NAS.  Using explorer or teracopy will double the network load, since everything would be copied through the PC.  Teracopy is more robust than explorer.

         


        BJB wrote:

         

         

        So once I add new files to the new NAS I need these files copied to the now backup folder on the old NAS which up until these new file adds were identical.  Can I keep what is there on the old NAS and add to it when I setup the sync or will it need to be an entirely new folder to get the sync going?

         


        You can use the existing shares on the old NAS as the backup destination, there is no need to create new shares (or empty existing shares).  It would make sense to turn snapshots off for the initial backup from the RN424 to the RN104.

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