LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Closed Thread
  Search this Thread
Old 10-06-2009, 04:29 AM   #1
saghi
LQ Newbie
 
Registered: Sep 2008
Posts: 28

Rep: Reputation: 15
rsync error


hi every one
i have a script to mirror one path from server 10.0.4.20 to 10.0.4.19
my scrypt is :

SOURCEPATH='/u01/'
DESTPATH='/u01/'
DESTHOST='10.0.4.19'
DESTUSER='root'
LOGFILE='/root/rsync.log'

echo `date`
echo $'\n\n' >> $LOGFILE
rsync -av --delete --exclude '/u01/app' --exclude '/u01/nfs.cp' --exclude '/u01/symbols.jar' --exclude '/u01/Ssymbols.jar' --exclude '/u01/rar' --exclude '/u01/.bash_history*' --rsh=ssh $SOURCEPATH $DESTUSER@$DESTHOST:$DESTPATH 2>&1 >> $LOGFILE
echo "Completed at: `/bin/date`" > $LOGFILE


but when i run this script i faced to below error:
rsync: rename "/u01/..bash_history.gDvgzT" -> ".bash_history": Operation not permitted (1)
rsync error: some files could not be transferred (code 23) at main.c(702)

but really the ""/u01/..bash_history.gDvgzT" is not exist.
and every time in run this script i faced to this error but the filename is changed.

rsync: rename [B]"/u01/..bash_history.eeoJF6[/B]" -> ".bash_history": Operation not permitted (1)
rsync error: some files could not be transferred (code 23) at main.c(702)

could anyone help me on this error?

thank
saghi
 
Old 10-06-2009, 06:24 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error with rsync DJE007 Linux - Networking 3 09-20-2009 11:51 PM
rsync error: IO error encountered - skipping file deletion lwainscott Linux - General 1 08-21-2009 12:15 PM
rsync error ufmale Linux - Newbie 2 05-31-2008 11:53 AM
rsync error noir911 SUSE / openSUSE 1 08-03-2006 02:22 AM
rsync error irvken Linux - Software 5 04-24-2005 04:12 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration