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

Forum Discussion

DOLMark's avatar
DOLMark
Aspirant
Jul 19, 2017

Rsync Remote to local readynas with snapshots on share

Hi All

 

I'm sure this is an FAQ but cant find it anywhere... I am trying to use a RN214 as a backup/archive server.  The setup looks like this;

 

Live Server - Allows RSYNC Read for SHARE

 

ReadyNAS - Backup Job from Remote RSYNC to local SHARE.  Kicks off hourly.

 

All good so far, nothing complicated.

 

What I now need to do is enable smart snapshots for the SHARE.  This creates a snapshots folder inside the SHARE ... in the case /data/SHARE/snapshot.

 

My worry is how will RSYNC respond to having this unknown directory in its way?

 

Is it normal/possible to move the snapshot directory elsewhere?  

 

What is best practice here?

 

Thanks

 

Mark

 

5 Replies

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

    I would use custom snapshots instead (which will give you the ability to set a retention limit).

     

    You can check "only make snapshots on changes" and also uncheck "allow snapshot access".  The latter will remove the snapshots subfolder you are concerned about.

     

    • DOLMark's avatar
      DOLMark
      Aspirant

      Hi StephenB

       

       

      I was looking at smart snapshots as I'd like to use the auto-trimming feature.  User is a photography group who's usage can be very variable to say the least.  When they're in normal operation they should get 3 months snapshots at one a night.  However if they're busy this could come down to a couple of weeks.

       

      Does the 'retain 3 months of snapshots' option get overridden when the disk becomes full like the smart snapshot feature?

       

       

      As far as the snapshot folder is concerned I'd like to put it somewhere as they are used to access historical versions via a windows share.  (old system which died was rsync + hard link copies overnight in to a dated directory. Snapshots should be better :-)

       

       

      Thanks 

      Mark

       

      • StephenB's avatar
        StephenB
        Guru - Experienced User

        DOLMark wrote:

        When they're in normal operation they should get 3 months snapshots at one a night.  However if they're busy this could come down to a couple of weeks.

          

        Three months means three calendar months.  It's not possible to get three months worth of snapshots in a couple of weeks.

         

        Not making snapshots when nothing changes can have a similar effect to auto-trim.

         


        DOLMark wrote:

         

        Does the 'retain 3 months of snapshots' option get overridden when the disk becomes full like the smart snapshot feature? 


        Yes.

         


        DOLMark wrote:

         

        As far as the snapshot folder is concerned I'd like to put it somewhere as they are used to access historical versions via a windows share.  

        With the settings I posted before you can still access them from windows, but right-clicking on the folder and using the view previous versions function built into windows.

         

        But I think the rsync exclude list or not - I'm not 100% sure, but it's easy to test, so maybe try it and see.

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