× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: ReadyNAS Rync Backup

dallis11
Aspirant

ReadyNAS Rync Backup

I know there is much discussion on this topic however I can't find a direct answer..  I'm attempting a backup via GUI from a 4312 and a 4360 NAS and am using the backup ui to do so.  I have a pull job (rsync server not rsync serv via ssh) from the 4360 to backup the 4312 and want to also copy the snapshots directory for each share however it's skipping this Directory.  I don't have it listed in "exclusions" but it is skipping anway.  Is this because I'm doing a pull as opposed to a push?  Thanks

Message 1 of 7
StephenB
Guru

Re: ReadyNAS Rync Backup


@dallis11 wrote:

 and want to also copy the snapshots directory for each share however it's skipping this Directory.  I don't have it listed in "exclusions" but it is skipping anway.  Is this because I'm doing a pull as opposed to a push?  


No.  It's because trying to backup the snapshots leads to really bad results, so the system won't let you do that.

 

BTRFS snapshots are practical because the file system uses CoW.  Each snapshot looks like it has the full file system at the time the snapshot was taken when you browse, but the on-disk space usage is incremental.  If you try to copy the snapshot with rsync, SMB, etc you will end up with a full copy of the file system for each snapshot.

 

So if you take daily snapshots of a 500 GB share for 30 days, it would take 30*500GB (15 TB) just to back up those snapshots.  Most people simply don't have the space in the backup device to handle this.

 

What you can do is enable custom snapshots on the destination 4360.  For instance, if you run daily backups you can also take a daily snapshot (ideally timed right before the backup runs).  Then you'd still be able to recover old file versions on the 4360.  The snapshots won't exactly match the snapshot list that is on the source 4312, but it does give you what amounts to a versioned backup set of the 4312.

 

Message 2 of 7
Sandshark
Sensei

Re: ReadyNAS Rync Backup

ReadyDR will copy the snapshots.  The only thing with ReadyDR, though, is that you don't get a usable share on the target device, you just get snapshots.  So, if you need to get access to files, you have to clone a snapshot, which does not include the snapshots before it.  Those snapshots from earlier are still there in the ReadyDR target, but switching to the backup NAS in the event of disaster on the main one is not made easy by all this.

Message 3 of 7
StephenB
Guru

Re: ReadyNAS Rync Backup


@Sandshark wrote:

ReadyDR will copy the snapshots.  The only thing with ReadyDR, though, is that you don't get a usable share on the target device, you just get snapshots.  So, if you need to get access to files, you have to clone a snapshot, which does not include the snapshots before it.  Those snapshots from earlier are still there in the ReadyDR target, but switching to the backup NAS in the event of disaster on the main one is not made easy by all this.


Yes. 

 

Since I want a highly available backup, I don't use ReadyDR.  But if you have 2x the capacity on the 4360, you could potentially do both - mirror the shares with Rsync (no snapshots in the mirror), combined with ReadyDR for snapshot backup.

Message 4 of 7
dallis11
Aspirant

Re: ReadyNAS Rync Backup

Thanks for the responses - I went ahead and went with an hourly rsync for all shares.  Don't have the option of a secondary copy/system for the ReadyDR approach needed a solution that I can cutover in minutes should the primary fail.  The 4312 and 4360 are connected via a bus class 1gbit switch and the rsync's are quite quick.  I was considering purchasing a 10G switch as both has 10G capability but not sure it would be worth it as the rsync job after full rsync runs well below even 1 Gb speed.

Message 5 of 7
dallis11
Aspirant

Re: ReadyNAS Rync Backup

Thanks for the snapshot explanation. I wasn't understanding that it is meerly block pointers to diff RAID disk sectors and not increm. data.  Skipping ReadyDR as the copy RAID disk structure and slow restore would be too slow for us. 

Message 6 of 7
Sandshark
Sensei

Re: ReadyNAS Rync Backup

Restoring a ReadyDR backup to a useable share on the backup system is nearly instantaneous.  That, too, is just setting up a new set of pointers to existing data bloack.  Copying the data from that share back to the original would take the same amount of time as doing so from any other backup.

 

There can be other reasons to use something other than ReadyDR, but I wanted you to know you seem to have one item wrong in your evaluation.

Message 7 of 7
Top Contributors
Discussion stats
  • 6 replies
  • 819 views
  • 0 kudos
  • 3 in conversation
Announcements