Sponsored Content
Full Discussion: filesystem syncing
Top Forums UNIX for Advanced & Expert Users filesystem syncing Post 58786 by sysera on Thursday 2nd of December 2004 06:50:03 AM
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
 

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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
filesystem(7)						 Miscellaneous Information Manual					     filesystem(7)

NAME
filesystem - event signalling that filesystems have been mounted SYNOPSIS
filesystem [ENV]... DESCRIPTION
The filesystem event is generated by the mountall(8) daemon after it has mounted all filesystems listed in fstab(5). mountall(8) emits this event as an informational signal, services and tasks started or stopped by this event will do so in parallel with other activity. EXAMPLE
A service that wishes to be running once filesystems are mounted might use: start on filesystem SEE ALSO
mounting(7) mounted(7) virtual-filesystems(7) local-filesystems(7) remote-filesystems(7) all-swaps(7) mountall 2009-12-21 filesystem(7)
All times are GMT -4. The time now is 01:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy