Sponsored Content
Full Discussion: Regarding rsync issue.
Top Forums UNIX for Advanced & Expert Users Regarding rsync issue. Post 303006613 by RavinderSingh13 on Sunday 5th of November 2017 01:09:26 AM
Old 11-05-2017
RedHat Regarding rsync issue.

Hello All,

I was performing a data copy by using rsync command as follows.
Code:
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:
Code:
sending incremental file list
rsync: link_stat "/test/singh_directory/ssh" failed: No such file or directory (2)

I have tried to search it in google but nothing much information on same, I had tried --progress --stats in command too but same information only.
Could anyone please help on same, will be grateful to you.

NOTE: I am on LINUX O.S. And this is on the same server but different paths, so that only user name and server name not mentioned in command above.


Thanks,
R. Singh

Last edited by RavinderSingh13; 11-05-2017 at 03:49 AM..
 

10 More Discussions You Might Find Interesting

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

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

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

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

5. UNIX and Linux Applications

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... (0 Replies)
Discussion started by: giddaluru
0 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. 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

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

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

10. 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
rsync_selinux(8)					rsync Selinux Policy documentation					  rsync_selinux(8)

NAME
rsync_selinux - Security Enhanced Linux Policy for the rsync daemon DESCRIPTION
Security-Enhanced Linux secures the rsync server via flexible mandatory access control. FILE_CONTEXTS SELinux requires files to have an extended attribute to define the file type. Policy governs the access daemons have to these files. If you want to share files using the rsync daemon, you must label the files and directories public_content_t. So if you created a special directory /var/rsync, you would need to label the directory with the chcon tool. chcon -t public_content_t /var/rsync To make this change permanent (survive a relabel), use the semanage command to add the change to file context configuration: semanage fcontext -a -t public_content_t "/var/rsync(/.*)?" This command adds the following entry to /etc/selinux/POLICYTYPE/contexts/files/file_contexts.local: /var/rsync(/.*)? system_u:object_r:publix_content_t:s0 Run the restorecon command to apply the changes: restorecon -R -v /var/rsync/ SHARING FILES
If you want to share files with multiple domains (Apache, FTP, rsync, Samba), you can set a file context of public_content_t and pub- lic_content_rw_t. These context allow any of the above domains to read the content. If you want a particular domain to write to the pub- lic_content_rw_t domain, you must set the appropriate boolean. allow_DOMAIN_anon_write. So for rsync you would execute: setsebool -P allow_rsync_anon_write=1 BOOLEANS
system-config-selinux is a GUI tool available to customize SELinux policy settings. AUTHOR
This manual page was written by Dan Walsh <dwalsh@redhat.com>. SEE ALSO
selinux(8), rsync(1), chcon(1), setsebool(8), semanage(8) dwalsh@redhat.com 17 Jan 2005 rsync_selinux(8)
All times are GMT -4. The time now is 08:35 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy