Solved

rsync in linux error

Posted on 2013-06-03
3
577 Views
Last Modified: 2013-07-08
Dear experts

I had exectuted rsync for 67 GB data transfer from source to destination it had processed until 65gb and ended with error again the same command i exetuted one more gb added hence 66gb but from there on every time i execute the command the same error , posted below for your refernce,

sudo rsync -avz /opt/zimbra/backup/ inoor@192.168.1.238:/opt/zimbra_backup/
sending incremental file list
./
rsync: failed to set times on "/opt/zimbra_backup/.": Operation not permitted (1)

sent 288186 bytes  received 3506 bytes  10606.98 bytes/sec
total size is 71515181665  speedup is 245173.61
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1060) [sender=3.0.7]
inoor@mail:~$
------------------------------------------------------------------------

please suggest me how to resolve this , also where can i find log for this processing. Thanks in advance
0
Comment
Question by:D_wathi
3 Comments
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 39217920
try adding -O (rsync -avzO)
0
 
LVL 68

Assisted Solution

by:woolmilkporc
woolmilkporc earned 250 total points
ID: 39218278
Or try the

--no-super

option.

If the remote side also allows running rsync with sudo you can try:

--rsync-path="/usr/bin/sudo /usr/bin/rsync"

or whatever your paths are.

As for the log - add:

--log-file=/path/to/logfile
0
 
LVL 3

Accepted Solution

by:
rajeev2353 earned 250 total points
ID: 39264928
hi,

you can run rsync from server

rsync --force --ignore-errors --delete --backup --backup-dir=`date +%d-%m-%Y` -av  /opt/zimbra/backup  inoor@192.168.1.238:/opt/zimbra_backup/
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS - HAProxy- KeepAlived 5 41
Need BIOS update Linux for MSI X99A motherboard. 4 41
VMware Tools Install On Linux Problem 3 57
Bash script - Exit out of choice loop 2 25
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now