rsync issue

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications rsync issue
# 1  
Old 08-29-2010
rsync issue

Hi,

I am using rsync to copy data.

rsync -auzvv --delete --exclude=.snapshot --exclude=dqextracts /gmu/install/data/ /gmuqueue/gmu/install/data
rsync -auzvv --delete --exclude=.snapshot /temp/vap/gmu /gmuqueue/temp/vap/gmu

The above statements are in /home/gmu/rsync_run. this script is scheduled to run using cron job by root user

It appears that the first rync statement is not executing. second rsync command has been running for the last 3 days eventhough both /temp/vap/gmu, /gmuqueue/temp/vap/gmu are in sync.

Data in /gmuqueue/gmu/install/data has not been updated for the last 3 days.

/gmuqueue is not full either. 53% is only used.

I am not able to find out where the problem is w.r.t. rsync. It appears that rsync process hang.

Please help me on this. Appreciate your prompt response
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Issue with rsync: failed to set times on "/tmp/.": Not owner (1)

Hi, Here is my source host and folder details. $ hostname source-host $ id uid=600000208(src-user) gid=64688(src-user) groups=64688(src-user) $ ls -ltrd /web/Trn_File/data/ drwxrwxrwx 3 src-user src-user 4096 Feb 7 15:27 /web/Trn_File/data/ $ ls -ltrd /web/Trn_File/data/* drwxrwxrwx 8... (1 Reply)
Discussion started by: mohtashims
1 Replies

2. Shell Programming and Scripting

Rsync Error: rsync: link_stat failed: No such file or directory (2)

I wish to copy all the files & folder under /web/Transfer_Files/data/ on mymac1 (Linux) to remote server mybank.intra.com (Solaris 10) /tmp/ location I am using Ansible tool synchronize module which triggers the unix rsync command as below:rsync --delay-updates -F --compress --archive --rsh=ssh... (2 Replies)
Discussion started by: mohtashims
2 Replies

3. UNIX for Advanced & Expert Users

Regarding rsync issue.

Hello All, I was performing a data copy by using rsync command as follows. rsync -avz -r -e 'ssh' --rsync-path=/usr/bin/rsync /test/singh_directory/dir /test/singh_directory >> /test/singh_directory/rsync_logs.log 2>&1 Command's logs are getting hung to following: sending incremental... (2 Replies)
Discussion started by: RavinderSingh13
2 Replies

4. Shell Programming and Scripting

Need help on rsync

Hi experts, We need copy 5TB data from one server to another (over a 10Gbps link). We plan to use rsync -av remote:/<path /local on destination server but there're few special requirements like: 1. data copy process should run only from 18:00 Hrs to 07:00 every day until copy is completed. Is... (1 Reply)
Discussion started by: magnus29
1 Replies

5. Shell Programming and Scripting

Rsync issue

Hi Everyone, I am getting error while running Rsync from my machine. I have run this successfully few days before but today I am getting this some error. /opt/csw/bin/rsync -avH /uv1016/u105/home/srd/ --rsync-path=/opt/csw/bin/rsync srd@usa7061uz943.na.xerox.net:/uv1016/u105/home/srd/... (7 Replies)
Discussion started by: lovelysethii
7 Replies

6. UNIX for Advanced & Expert Users

Issue while Rsync

hi All, i am using Rsync from my Production server to Drill server, it has copied most of the direcoties/files available on the source server to the production server. but i have seen a strange situation here. like in one of the directory it has copied maximum of the files but later on it got... (2 Replies)
Discussion started by: lovelysethii
2 Replies

7. Emergency UNIX and Linux Support

rsync transferring multiple files issue

Hi, I want to specify multiple remote directories but want to transfer them in a single command with one connection with remote server. This avoids entering passwords repeatedly and is also efficient. e.g. rsync -vrt --size-only --delete user@host:/home/user1/dir1... (9 Replies)
Discussion started by: sardare
9 Replies

8. Shell Programming and Scripting

using rsync

I'm just trying to use rsync to retreive the file from different servers with script. i want to look for a file, if the file exists, then retreive the file from different servers, and put it in one file. I have the following command. rsync -v -e ssh jerry@openbsd.nixcraft.in:~/webroot.txt /tmp ... (5 Replies)
Discussion started by: s_linux
5 Replies

9. Shell Programming and Scripting

RSYNC issue

Hi experts, this is my script to Synchronize a local directory with a remote directory my problem is server HDD contain data of 79GB but local HDD of 250GB gets full. same script for other server is working i am not getting the exact problem. #!/bin/bash RSYNC=/usr/bin/rsync... (3 Replies)
Discussion started by: jagnikam
3 Replies

10. UNIX for Dummies Questions & Answers

rsync issue

Hello Everyone, this is my first post and i will aprreciate all help/critsisim if i this is not the appropriate area to post this problem. i am brand new to unix/linux ( the admin quit ) and need help with rsync. I need to use rsync from one machine using the ip adress to another, these... (2 Replies)
Discussion started by: bag of hammers
2 Replies
Login or Register to Ask a Question
MRB(8)							      System Manager's Manual							    MRB(8)

NAME
mrb - manage incremental snapshots with rsync/make. SYNOPSIS
mrb command DESCRIPTION
mrb is a simple aid to creating efficient incremental snapshots of a set, or sets, of directories whenever that may be required. It may be used as part of a regular automated backup regime, or for manually checkpointing changes at convenient points in time. COMMANDS
The following commands are recognised (where 'MODULE' is the name of one of your snapshot definitions): new-MODULE Create a skeleton definition for a new snapshot 'MODULE'. dest-MODULE Create the destination dir for 'MODULE'. This directory must exist to create a snapshot. snap-MODULE Create a snapshot of 'MODULE'. sync Create snapshots of all defined modules. If run as root this may be configured to include the modules of other users too (see MRB_SYNC_USERS in ~/.mrb/defaults). help Show mrb's own help text. CONFIGURATION FILES
Per-user configuration The following files may be used to specify global and local configuration options. /etc/default/mrb system default configuration. ~/.mrb/defaults per-user configuration. Per-user options The following options control behaviour for all of a user's modules. MRB_SNAPSHOT_LOG An optional file path where transfer details will be recorded. If unset these details will not be logged. MRB_SYNC_USERS A space separated list of users whose modules should be included in a sync. This is mostly only useful for root, as mrb will assume the identity of each user before creating snapshots of their modules. If unset, only the invoking user's modules will be sync'ed. MRB_CONFDIR An space separated list of the directories to search for module definition (*.mrc) files. They will be searched in the order given, with new modules added by default to the last one listed. There should be few reasons to change the default value. Per-module configuration The default MRB_CONFDIR value will search for module definitions in: /etc/mrb/*.mrc ~/.mrb/*.mrc Those created by new-MODULE will be placed in this latter location by default. Per-module options In each case module below is the name of the particular module that the value set should apply to. These options should be defined in a file named module.mrc. module_SRC A space separated list of the files and (top level) directories to include in the snapshots for this module. module_DEST The directory root where snapshots of module should be stored. module_INCLUDE An optional list of rsync(1) include patterns. module_EXCLUDE An optional list of rsync(1) exclude patterns. module_FILTER An optional list of rsync(1) filter patterns. module_FILTER_FILE An optional filename for rsync(1) dir-merge filtering support. module_RSYNC_OPTIONS Optional additional rsync(1) options to pass verbatim when it is invoked. module_PRECOMMAND An optional shell command to invoke just prior to creating a new snapshot. If the command does not return a successful exit status, then the snapshot creation will be aborted before it begins. It may be used to mount removable media or similar. module_POSTCOMMAND An optional shell command to execute after making the snapshot. It will not be called if the snaphot creation failed at an earlier stage, and its return status may halt a sync operation if it fails with more modules still to process. It may be used, for example, to unmount removable media again. module_USER An optional user name to check that mrb is running as before performing a snapshot. This can be used to ensure you have the correct permisson to access the files being mirrored before you get too far. SEE ALSO
rsync(1), make(1). AUTHOR
mrb was written by Ron <ron@debian.org>. May 9, 2006 MRB(8)