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

Forum Discussion

diamondminer's avatar
diamondminer
Aspirant
Jan 15, 2016
Solved

How to make an exact copy of a share using backup or rsync

I have a ReadyNAS Ultra 2 [X-RAID2] (call this "main") as my main file server and a ReadyNAS Duo [X-RAID] as my backup server (call it "backup").  I have been running a reguler backup routine from "main" to "backup" but upon close inspection I have found that my backups are not exact or mirror copies of "main".  I then used the rsync function to copy a share from "main" to "backup" and have the same result.  For example, if I delete a share folder in "main' after either backup or rsync the share folder on "backup" still exists.  What do I need to do so that my "backup" matches my "main" after either routine.  

 

Thanks to anyone who can help me on this,

Frank

  • StephenB's avatar
    StephenB
    Jan 16, 2016

    diamondminer wrote:
     Which method is better - backup (pushing "main' to "backup") or rsync ( pulling "main" to "backup")?  

     


    rysnc can be used to both "push' and "pull" (and you'll need rsync to get the exact copy you want).  Both methods work equally well.   I am backing up to multiple NAS, and it is a bit easier to manage "pull" (it eliminates having muliple backup jobs for the same share on the main NAS).

     


    diamondminer wrote:

     How does the compression function wok? 

     


    It compresses the data flowing on the network connection.  It is not compressing the files.  If the backup is on the local lan, I'd just leave it off.

     

     

     

     

4 Replies

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

    With rsync in particular, there's a backup option that does what you want.  It's called "Remove deleted files on source.", and is a check box in the "step 1" pane.

     

    For other protocols, that option isn't available.  You can choose to check the "Remove the contents of the backup destination before a full backup is performed." option in step 4 (at the bottom), and schedule an full backup from time to time.  The risk is that main NAS happens to fail in the middle of the full backup, you'll lose data. 

     

    • diamondminer's avatar
      diamondminer
      Aspirant

      Thanks,

       

      Which method is better - backup (pushing "main' to "backup") or rsync ( pulling "main" to "backup")?  How does the compression function wok?  does it compress all files or jsut those that are added on teh backup routine? If this is true, how would I compress all files on "backup"?

       

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        diamondminer wrote:
         Which method is better - backup (pushing "main' to "backup") or rsync ( pulling "main" to "backup")?  

         


        rysnc can be used to both "push' and "pull" (and you'll need rsync to get the exact copy you want).  Both methods work equally well.   I am backing up to multiple NAS, and it is a bit easier to manage "pull" (it eliminates having muliple backup jobs for the same share on the main NAS).

         


        diamondminer wrote:

         How does the compression function wok? 

         


        It compresses the data flowing on the network connection.  It is not compressing the files.  If the backup is on the local lan, I'd just leave it off.

         

         

         

         

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