filesystem syncing


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users filesystem syncing
# 1  
Old 11-22-2004
Question filesystem syncing

Does anyone know if there is free software that can keep 2 filesystem on remote machines , synced.
This will be part of our Disaster Recovery to keep one machine off site , which will take over should the need arise..

Thanks
# 2  
Old 11-22-2004
Have you tried "man rsync"?

Cheers
ZB
# 3  
Old 11-22-2004
If the rsync man pages have not been installed, then you'll see nothing.

If you've not got it already, check out rsync HERE!.
# 4  
Old 11-22-2004
rsync

Thanks for your reply.
Will try rsync.

Cheers!
# 5  
Old 12-02-2004
I'm running rsync to keep two filesystems synced up between two offices and it's working very well for me.

Here is an example of the command I'm using.

The first part, /opt/Files/ is what I'm copying, the second /Volumes/nonboot/opt/Files is where I'm copying it to. --delete is removing anything in the second directory that doesn't exist in the first directory. (Keep in mind, this command is running on the machine that relates to the second directory)

I'm running this via Cron and I have sshkeys setup so it doesn't require me to enter a password. Hope it helps some. Smilie

rsync -v -r -a -e ssh $ipaddress:/opt/Files/ /Volumes/nonboot/opt/Files --delete --progress
# 6  
Old 12-02-2004
Thanks for the help. Smilie)
# 7  
Old 12-03-2004
Quote:
Originally posted by markdr011
Thanks for the help. Smilie)
Haha sure. I've 'used' this forum quite a bit for answers. The least I can do is offer any info I'm able to for someone else. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Kernel panic-not syncing

dear experts linux i am using RHEL 5.5 run on a physical server. i am front of a big trouble, the Rhel can't run correctly , it show me this error message in black screen: reading all physical volumes. this my take a while .. found volume group "VolGroup00" using metadata type lvm2 9... (1 Reply)
Discussion started by: wassimpb
1 Replies

2. UNIX for Advanced & Expert Users

rsync not syncing a file

I am trying to sync the source tree into backup and somehow this one file dumper.c is not in sync, see below after running the script: /u/prj/dir$ l -tr dumper.c /v/tmp/prj_src/dir/dumper.c -rw-rw-r-- 1 prj group 15635 Jun 20 16:28 /v/tmp/prj_src/dir/dumper.c -rw-rw-r-- 1 prj ... (2 Replies)
Discussion started by: migurus
2 Replies

3. Solaris

Syncing Home Directory

We have 2 Data centers in different part of the world , and we are in need to sync our home directory in both the locations .. that is if a file is written to my home dir in DC1 ..i want the file to be there in my home dir at DC2 systems too and vice versa ... the home dir content is stored in... (1 Reply)
Discussion started by: skamal4u
1 Replies

4. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

5. Solaris

Solaris Filesystem vs. Windows FileSystem

Hi guys! Could you tell me what's the difference of filesystem of Solaris to filesystem of Windows? I need to compare both. I have read some over the net but it's so much technical. Could you explain it in a more simpler term? I am new to Solaris. Hope you help me guys. Thanks! (4 Replies)
Discussion started by: arah
4 Replies

6. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

7. Filesystems, Disks and Memory

RAID syncing 2 partitions

Hi all, I tried setting up RAID between 2 partitions and it was success. If I write some things on /dev/md0, both partition got affected. Then I stop the RAID, and I mounted one of my partition and I created a file in it. Now I started the RAID (mdadm --assemble --scan) What I expected... (1 Reply)
Discussion started by: lakshmananindia
1 Replies

8. Solaris

Filesystem - error when extend the filesystem

Hi all, currently , my root filesystem already reach 90 ++% I already add more cylinder in the root partition as below Part Tag Flag Cylinders Size Blocks 0 root wm 67 - 5086 38.46GB (5020/0/0) 80646300 1 swap wu 1 - ... (11 Replies)
Discussion started by: SmartAntz
11 Replies

9. Linux

NTPD seems to be not syncing !!!

Hi Linux Admin Guys My onsite server is always 15 min slow and seems like NTPD (Network Time Protocol (NTP) daemon) not running properly. can anyone suggest me how to rectify this problem? we can't seem to get NTP to properly sync the clock. Any help is resolving the issue will be helpful.... (12 Replies)
Discussion started by: csaha
12 Replies
Login or Register to Ask a Question