Link to home
Start Free TrialLog in
Avatar of raza
razaFlag for United States of America

asked on

mirroring scripts

I have Solaris network on two location. Both networks are accessible by VPN for each other. The speed between two network is slow.

I would like to setup a mirroring scripts to have mirrored directories for both location.

Network1                 Network2
/mirrornet1    ----->   /mirrornet1
/mirrornet2    <-----   /mirrornet2

I need a mirroring script that can mirror a directory and all directory/files under that directory. This script should make sure all the files and directories will get mirrored for any reason if mirror interrupt, It should email the error message. Also after the initial mirrored it should always send email the list of updated directories/files that have been mirrored.

Any help will be appreciated.


Avatar of ahoffmann
ahoffmann
Flag of Germany image

get rsync from http://rsync.samba.org/ then your script consist just of a few rsync commands
Avatar of chris_calabrese
chris_calabrese

Even over the VPN, you may still consider running it over SSH.  www.openssh.org.
Avatar of raza

ASKER

Why? IPsec encription is not enough?


rsync is very nice utility. Can you also let me know the rsync scripts how should it look like.....

ASKER CERTIFIED SOLUTION
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial