NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
walterwerner
Sep 25, 2009Aspirant
rsync of iSCSI
I've been trying to find this and have not been successful. Can someone describe the steps
to backup from one readynas 2100 to another readynas 2100 using rsync where I want to backup
a iSCSI target.
Specifically....
does the iSCSI target have to exist on the remote ReadyNAS2100 or will it be created automagically
I can select the local iSCSI target in step 1 of the backup.. that makes sense.
however, in step 2, it seems "remote: Rsync Server" is the correct choice, and it seems
the host should be the IP Address or hostname of the remote ReadyNAS. So, what is the PATH set to,
and where do LOGIN and PASSWORD get defined? Are they setup on the remote ReadyNAS in Security - Users and Groups?
What about the option for SSH? If I use that, do I not enter anything into the LOGIN and PASSWORD fields?
How Do I get the public key installed on the remote server?
Is there any benefit to enabling "compression"?
and finally, can the backup of an iSCSI target actually do incrementals, or will it always backup
the entire target?
thanks
to backup from one readynas 2100 to another readynas 2100 using rsync where I want to backup
a iSCSI target.
Specifically....
does the iSCSI target have to exist on the remote ReadyNAS2100 or will it be created automagically
I can select the local iSCSI target in step 1 of the backup.. that makes sense.
however, in step 2, it seems "remote: Rsync Server" is the correct choice, and it seems
the host should be the IP Address or hostname of the remote ReadyNAS. So, what is the PATH set to,
and where do LOGIN and PASSWORD get defined? Are they setup on the remote ReadyNAS in Security - Users and Groups?
What about the option for SSH? If I use that, do I not enter anything into the LOGIN and PASSWORD fields?
How Do I get the public key installed on the remote server?
Is there any benefit to enabling "compression"?
and finally, can the backup of an iSCSI target actually do incrementals, or will it always backup
the entire target?
thanks
12 Replies
Replies have been turned off for this discussion
- ewokNETGEAR Expert
walterwerner wrote:
does the iSCSI target have to exist on the remote ReadyNAS2100 or will it be created automagically
The backup manager will back up the iSCSI disk image, so it is essentially a single large file backup.walterwerner wrote:
I can select the local iSCSI target in step 1 of the backup.. that makes sense.
however, in step 2, it seems "remote: Rsync Server" is the correct choice, and it seems
the host should be the IP Address or hostname of the remote ReadyNAS. So, what is the PATH set to,
and where do LOGIN and PASSWORD get defined? Are they setup on the remote ReadyNAS in Security - Users and Groups?
Path should contain the name of the target share or rsync module. On the ReadyNAS, rsync logins and passwords are configured in the rsync access tab of that share. This is because rsync uses its own password system and does not integrate into the standard authentication mechanisms.walterwerner wrote:
What about the option for SSH? If I use that, do I not enter anything into the LOGIN and PASSWORD fields?
Over SSH, we only allow keys.walterwerner wrote:
How Do I get the public key installed on the remote server?
The option is in the rsync tab for the share.walterwerner wrote:
Is there any benefit to enabling "compression"?
Probably not.walterwerner wrote:
and finally, can the backup of an iSCSI target actually do incrementals, or will it always backup
the entire target?
It's going over rsync, so it should just be doing incrementals. - walterwernerAspirantSo, you didn't answer the question... do I need to create the iScsi target on the remote server?
Next, there is NO rsync tab in the iSCSI target setup (which is in the Volume Setup), rsync configuration only exists in the SHARE setup,
so how do I define the rsync parameters for an iSCSI target?
Basically, it seems I need to know where I setup rsync for iSCSI targets and that should answer all my questions. - ewokNETGEAR Expert
walterwerner wrote: So, you didn't answer the question... do I need to create the iScsi target on the remote server?
I guess I should have been more clear. Short answer: no, you don't need to create an iSCSI target for the backup. Longer answer: no, don't create it, because backing up an iSCSI target using the backup manager will not result in an available iSCSI target on the backup destination. The backup treats the iSCSI disk image as a standard file, and will copy it to a local or remote share, which is not where the iSCSI target disk images are stored on the ReadyNAS. - walterwernerAspirantOK, great. thanks for that.
But what about the rsync information for an iSCSI target? where does that get setup?
And, what if the remote is also a ReadyNAS? Does it still go to a share? If so, then how do I get the
backup file on the remote ReadyNAS to be available as an iSCSI target?
To be clear, what I'm trying to do is replicate one ReadyNAS 2100 to another.. so the goal is they have
identical data.
thanks - ewokNETGEAR Expert
walterwerner wrote:
But what about the rsync information for an iSCSI target? where does that get setup?
The iSCSI target is just a disk image and not a share, so it can't be shared over rsync. The backup manager can push the iSCSI disk image out over rsync, however.walterwerner wrote:
And, what if the remote is also a ReadyNAS? Does it still go to a share? If so, then how do I get the
backup file on the remote ReadyNAS to be available as an iSCSI target?
The backup manager can only access shares, so yes, it would go to a share. To make the disk image into a target, create the target on the remote ReadyNAS, use the backup manager to back the disk image up to a share, then connect to the data volume share (normally C) as the admin user and move the disk image to the root of the data volume. You would need to restart the iSCSI server for the change to take effect. - bsteingraberAspirantWalter, I am trying to accomplish the same task (backing up a iscsi target from a 2100 to a Pro 6) and am wondering if you were ever able to get it to work correctly?
- To be clear, you can NOT backup an iscsi image to another readynas and be able to directly usae that image.
There is no support for syncing or replicating usable iscsi images from one readynas to another.
You can backup the iscsi image file, to another share. It is just a large file, just like a 'virtual hard drive' used in virtual pc etc.
To actually use that isci image, you must do as ewok states above:To make the disk image into a target, create the target on the remote ReadyNAS, use the backup manager to back the disk image up to a share, then connect to the data volume share (normally C) as the admin user and move the disk image to the root of the data volume. You would need to restart the iSCSI server for the change to take effect.
Obviously this is not intended or efficient for realtime replication or failover. - bsteingraberAspirantSo how reference the iscsi target in the path?
- ewokNETGEAR ExpertYour iSCSI volumes should appear in the protocol dropdown.
- Coincidence! [Insert Twilight Zone tune here]
Currently doing this myself. I've set a Frontview backup job to backup the iscsi created, (Ultra2+) which then gets dumped into a custom folder in the 'backup' folder.
Then I can backup the 'backup' folder which contains the iscsi files/folder to my Duo, by just using a standard NFS backup job. (100gb test file just completing right now)
Probably not ideal,or even the correct method for such things, but it looks so far to be working ok.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!