Rsync to a Remote NAS

Joachim Otahal (privat) Jou at gmx.net
Thu Apr 12 15:20:29 MDT 2012


Chris Arnold schrieb:
> Are you saying the current way we are doing it does NOT support "incremental" backups after the first full backup?

Oh, the rsync itself will do incremental, however if the filesystem 
below is going over VPN it won't work fast. rsync's design expects local 
and fast filesystems, direct HDD oder via direct LAN, and not mounted 
over VPN.

> One of the NAS devices is a readynas duo rnd2100. In the backup section of the gui, it does say backup:remote::rsync but when i select that and fill in the info and click test connection, it does not connect. Does this one support the rsync daemon?

"readynas" says nothing to me.
Maybe it can play a rsync daemon, but it reads like it could backup 
itself via rsync to a remote location. You need an rsync daemon on the 
other side to receive the data or get the data from. If the other side 
is a "real" server and not just a NAS it should be easy, rsync is avail 
on nearly all existing OS-es (well, limited to those with network 
capabilities).

Joachim

>
> ----- Original Message -----
> From: "Joachim Otahal (privat)"<Jou at gmx.net>
> To: "Chris Arnold"<carnold at electrichendrix.com>
> Cc: rsync at lists.samba.org
> Sent: Thursday, April 12, 2012 3:28:42 PM
> Subject: Re: Rsync to a Remote NAS
>
> This is like mounting the remote drive via samba and then do a sync,
> this is like doing a normal copy job without the deltra transfer
> benefits of rsync.
> If at all possible you should run an rsync daemon on the NAS box and
> then run the rsync command on the other side of the VPN. rsync uses port
> 873 by default. Or use an extra box connected via LAN (not vpn) to mount
> the NAS and run the rsync daemon.
> If the NAS is 192.168.123.6 your command on the other side would be:
> rsync  --verbose --progress --stats --compress --recursive --times
> --perms --links --delete /Share/ 192.168.123.6::Backup/EdensLandCorp
>
> You can also turn it around to let the NAS poll the backup, you need to
> run an rsync server on the main site then, but only a few officially
> support it.
>
> regards,
>
> Joachim Otahal
>
> Chris Arnold schrieb:
>> Forgive me if this has been addressed here before. We have a remote office that we need to backup to our NAS. We have a site to site certificate VPN. The remote site has over 51gb that needs to be backed up to our NAS over that VPN. I have tried this command:
>> rsync --verbose --progress --stats --compress --recursive --times --perms --links --delete /Share/* / smb://192.168.123.6/Backup/EdensLandCorp
>>
>> and it just sits there and appears to do nothing. Does rsync make a tarball first and then put it where it is told to put it or does it just copy the files/folders over? Maybe it is the smb://xx.xx.xx.xx/whatever that is breaking it......the bottom line is i need to copy/rsync a directory to a remote server through a VPN. How is this accomplished?



More information about the rsync mailing list