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

Forum Discussion

GeoffSB's avatar
GeoffSB
Aspirant
May 07, 2021

Remote drive backup infinite loop?

I am trying to backup from a remote shared network drive as Source to a folder in a NAS Share. The settings and permissions are all good and the test connection works fine. Problem comes when I execute the backup. It runs forever and is apparently copying huge amounts of data - after >24h it had copied more than 900GB - but the size of the source drive was <500GB - I cancelled the backup at this point. There are no files listed in the Share folder and I cannot see anything in that folder. The overall available size available was also reduced by 900GB - after I deleted the apparently empty Share folder, the 900GB came back to the system. Snaphsots are disabled on this share

 

The only issue I can see is that the Remote drive has a .snapshots folder. The directories in this folder seem to be writing when I am trying to backup with the NAS - they are not part of the remote drive. The log for the backup reports errors trying and failing to access files in these .snapshot directories. I can't find a way to delete the .snapshots folder on the remote drive.

 

Is there anything I can change in the backup settings to get it to ignore this folder? I can't use RSync as I can't load a public key on the remote host.

Thanks,

Geoff

Ready NAS426 6X2TB

12 Replies


  • GeoffSB wrote:

    I am trying to backup from a remote shared network drive as Source to a folder in a NAS Share. ...  I can't use RSync


    What backup protocol and settings are you using?

     

    I'm assuming you mean that you can't use rsync over ssh, as vanilla rsync doesn't need a public key.

     


    GeoffSB wrote:

     

    The only issue I can see is that the Remote drive has a .snapshots folder. The directories in this folder seem to be writing when I am trying to backup with the NAS - they are not part of the remote drive. The log for the backup reports errors trying and failing to access files in these .snapshot directories. I can't find a way to delete the .snapshots folder on the remote drive.

    Is this a remote ReadyNAS? 

     

    I'm not sure what you mean when you say .snapshots is not part of the remote drive.  Are you saying that the remote share doesn't have a hidden .snapshots subfolder?

     

    Or are you saying that the local destination has a .snapshots subfolder?  If this is what you mean, then what snapshot settings are you using for the local destination share?

     

    • GeoffSB's avatar
      GeoffSB
      Aspirant
      Thanks for replying

      StephenB wrote:

      GeoffSB wrote:

      I am trying to backup from a remote shared network drive as Source to a folder in a NAS Share. ...  I can't use RSync


      What backup protocol and settings are you using?

      I was using the Windows/NAS(Timestamp)

       

      I'm assuming you mean that you can't use rsync over ssh, as vanilla rsync doesn't need a public key.

       

      OK - not an expert - tried looking at RSync as it apparently has options to exclude folders, so thought this might be a workaround. The remote is a corporate SAN facility so I do not have any administrative permissions on this system. I am creating a backup for longer term storage of data as the SAN isn't big enough for this and is a more active working space. I didn't try the 'vanilla' RSync

       


      GeoffSB wrote:

       

      The only issue I can see is that the Remote drive has a .snapshots folder. The directories in this folder seem to be writing when I am trying to backup with the NAS - they are not part of the remote drive. The log for the backup reports errors trying and failing to access files in these .snapshot directories. I can't find a way to delete the .snapshots folder on the remote drive.

      What I mean is that I don't think (could be wrong) that the remote drive natively keeps snapshots. If it does, then it seems odd that the only directories in this folder align with the times where I have been trying to run backups from the NAS. It looks like the NAS is making it write to the .snapshots or it is the NAS that is writing it. Either way it doesn't make much sense to me.

      UPDATE

      I switched to Windows Archive Bit - I also noticed a 1h time discrepancy with the NAS system as it was linked to GMT rather than London time so wasn't on British Summer Time - fixed this issue. The Backup now appears to be working. Not sure if it is the different protocol or if the time fix prevented some infinite loop of snapshots.

       

      • GeoffSB's avatar
        GeoffSB
        Aspirant

        Not all of my post seemed to get posted - got confused with attempting to including quotes in replies...

         

        I was previously using Windows(NAS) Timestamp

         

        I didn't try the vanilla form of RSync. I'm not an expert - as you probably gathered - I read that RSync can exclude specific directories so thought this might be a workaround. The remote is a corporate SAN drive so I don't have any administrtive priveleges. 

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