Non-Timed Incremental Backup between 2 NAS over the Internet

Discussion on remote replication.
Post Reply
linyingyen
New here
Posts: 4
Joined: Thu Jun 08, 2017 10:37 pm

Non-Timed Incremental Backup between 2 NAS over the Internet

Post by linyingyen »

I live in two countries with a NAS at each location.

I want to do incremental backup from NAS-A to NAS-B over the internet (don't transfer what NAS-B already has)

Then go use NAS-B for another few months on LAN, change its files, then do incremental backup to NAS-A over the internet (again, not transfer anything that NAS-A already has.)

I don't want them to sync. I only want one to backup to another when I tell it to. Probabaly the morning of my flight back to the other country.

Is this possible? Thanks in advance!
User avatar
dolbyman
Guru
Posts: 35268
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Non-Timed Incremental Backup between 2 NAS over the Internet

Post by dolbyman »

a non scheduled nas to nas rsync should do that .. just create a job and run it as needed
linyingyen
New here
Posts: 4
Joined: Thu Jun 08, 2017 10:37 pm

Re: Non-Timed Incremental Backup between 2 NAS over the Internet

Post by linyingyen »

dolbyman wrote:a non scheduled nas to nas rsync should do that .. just create a job and run it as needed
Sorry if this is a dumb question.

I understand with rsync when NAS-A backup to NAS-B it will compare NAS-A CURRENT-FILES to NAS-A BACKUP-FILES on NAS-B, and only copy the changes.

However, when Months later I backup NAS-B to NAS-A, will it compare NAS-B CURRENT-FILES to NAS-A CURRENT-FILE? Because NAS-A's current files weren't created by rsync, can it compare and only copy the changes?

If not, and it copy the all the files file, then it changes all the file on NAS-A and next time NAS-A will backup all the files to NAS-B again thinking they were all changed.
linyingyen
New here
Posts: 4
Joined: Thu Jun 08, 2017 10:37 pm

Re: Non-Timed Incremental Backup between 2 NAS over the Internet

Post by linyingyen »

Also, rsync only works one-way.

Does this mean I should setup a rsync job for A->B on NAS-A.
And another rsync job for B->A on NAS-B?

And both will compare their current files to the other NAS's current files?
Even if to that NAS it is doing that rsync job for the very first time?

Thanks!
User avatar
dolbyman
Guru
Posts: 35268
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: Non-Timed Incremental Backup between 2 NAS over the Internet

Post by dolbyman »

Here is how rsync works
https://en.wikipedia.org/wiki/Rsync

A job as you describe it A->B and then A<-B on the other NAS seems fine to me. Replicate in the direction you want it.
linyingyen
New here
Posts: 4
Joined: Thu Jun 08, 2017 10:37 pm

Re: Non-Timed Incremental Backup between 2 NAS over the Internet

Post by linyingyen »

dolbyman wrote:Here is how rsync works
https://en.wikipedia.org/wiki/Rsync

A job as you describe it A->B and then A<-B on the other NAS seems fine to me. Replicate in the direction you want it.
Thanks!

One last question,
After A->B, when I start B->A, B will see that there is a folder with the same name on A even though it has never done a B->A sync before. On Synology NAS it will create another folder instead of sync over the existing folder on A. So the method we talked about wouldn't work on Synology. But it will work and sync over existing folder on Qnap?

Again, thanks!
P3R
Guru
Posts: 13192
Joined: Sat Dec 29, 2007 1:39 am
Location: Stockholm, Sweden (UTC+01:00)

Re: Non-Timed Incremental Backup between 2 NAS over the Internet

Post by P3R »

linyingyen wrote:After A->B, when I start B->A, B will see that there is a folder with the same name on A even though it has never done a B->A sync before.
The job will take longer the first time as nothing is cached but yes, rsync always compare source with destination and copies the differences as configured.
But it will work and sync over existing folder on Qnap?
Yes when using Backup Station, NAS to NAS (which is rsync when used between two Qnaps) and having correctly configured the same (but opposite) source and destination folders in the backup job of each NAS.
RAID have never ever been a replacement for backups. Without backups on a different system (preferably placed at another site), you will eventually lose data!

A non-RAID configuration (including RAID 0, which isn't really RAID) with a backup on a separate media protects your data far better than any RAID-volume without backup.

All data storage consists of both the primary storage and the backups. It's your money and your data, spend the storage budget wisely or pay with your data!
Post Reply

Return to “Remote Replication/ Disaster Recovery”