Solved

Sync / backup large data over private network

Posted on 2012-03-23
16
357 Views
Last Modified: 2012-07-23
We have a VPN connection to our other facility and need to be able to transfer differential data over the link.
Right now we're using Rsync, but I would like a method that would eliminate the encryption of the transfer so we can speed this up a bit.
Right now we're using the arcfour encryption and getting slightly faster results then we were with blowfish.

How can I eliminate this all together, but still have the sweet advantages of Rsync?
Both hosts are linux based.
0
Comment
Question by:spiz79
  • 6
  • 4
  • 2
  • +3
16 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 37756976
do you still want encription ?
0
 
LVL 11

Expert Comment

by:legolasthehansy
ID: 37756982
Try this
rsync -rvlpogt /host /destination --progress

-r - recursive
v - verbose
l - copy symlinks
p - preserve permissions
o - preserve owner name
g - preserve group name
t - preserve time stamp
0
 

Author Comment

by:spiz79
ID: 37757035
No I still do not want encryption. This is over a private network (VPN) so encryption isn't needed.

right now this is what I'm doing

rsync -ae "ssh -c arcfour" root@192.168.1.2:/backup/VM /backup --progress -z
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 11

Assisted Solution

by:legolasthehansy
legolasthehansy earned 100 total points
ID: 37757045
Remove the -z
This speeds up the transfer in most cases.
0
 
LVL 18

Expert Comment

by:irweazelwallis
ID: 37757202
have a look at that - silly to encrypt over a VPN that is already encrypted

Secure Network Transfers

Set the -e option of rsync to use ssh instead of rsh when copying to a remote system. Modern versions of rsync use ssh by default. While ssh is slower than rsh, the data being transfered will be encrypted, and therefore less likely to be maliciously read or altered, or randomly corrupted in transit.

$ rsync -e 'ssh -ax' -avz example.org:/tmp .

If speed is a concern, use a weaker encryption option to ssh.

$ rsync -e 'ssh -ax -c blowfish' -avz example.org:/tmp .

The -ax options to ssh disable Secure Shell (SSH) agent and X11 forwarding, which are not needed by rsync. Also consider setting -o ClearAllForwardings to ssh, to prevent possible automatic port forwards. For more information on options to OpenSSH, peruse ssh(1) and ssh_config(5).

taken from http://72.14.189.113/howto/rsync/
0
 

Author Comment

by:spiz79
ID: 37757258
So rsync over RSH? how?
0
 
LVL 18

Assisted Solution

by:irweazelwallis
irweazelwallis earned 200 total points
ID: 37757344
by either using -e to specifiy no encryption or forcing rsh

http://okbanlon.com/notes/rsync.html - see halfway down for examples
0
 

Author Comment

by:spiz79
ID: 37757375
thanks for the reply..
this is what I'm currently using..I have -ae ..is that enough?

rsync -ae "ssh -c arcfour" root@192.168.1.2:/backup/VM /backup --progress -z
0
 
LVL 18

Assisted Solution

by:irweazelwallis
irweazelwallis earned 200 total points
ID: 37757402
try taking the e and ssh config element out of it - in that command you are specifying ssh and an algorithm
0
 

Author Comment

by:spiz79
ID: 37757508
rsync -a root@192.168.1.2:/backup/VM /backup --progress

That's what I'm using now and it actually appears to be moving slower.
0
 
LVL 18

Expert Comment

by:irweazelwallis
ID: 37757526
that is odd rsh should be faster than ssh
0
 
LVL 39

Assisted Solution

by:Aaron Tomosky
Aaron Tomosky earned 100 total points
ID: 37757558
You also dropped the compression which could be helping on a wan link. Add the -z back on and see if that helps
0
 
LVL 5

Expert Comment

by:1ly4me
ID: 37765122
mount the remote backup folder locally (you can use samba or NFS) and take backup using tar.
You no need any encryption, Just tar the backup files and copy it to locally mounted backup location
0
 

Author Comment

by:spiz79
ID: 37766065
1ly4me
Would this have the same DIFF capabilities of rsync?
0
 
LVL 5

Accepted Solution

by:
1ly4me earned 100 total points
ID: 37766275
Do you mean differential backup?
Yes it works well.
To backup,
#rsync -trv /local/location  /mounted/location  > /mounted/location/rsync.log

Open in new window

for differential backup
#rsync -trv /local/location  /mounted/location  > /mounted/location/rsync_diff.log
You no need to specify any encryption option.
0
 

Author Comment

by:spiz79
ID: 37766875
so ultimately your saying NFS / Samba will be faster then RSH?

thanks
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How can I copy my DVDs to MP4 file format on my Macbook? 16 160
Measure data download 2 116
Windows Backup image 3 57
Looking for good Imaging Software 6 30
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question