Solved

rsync in linux error

Posted on 2013-06-03
3
572 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

747 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

13 Experts available now in Live!

Get 1:1 Help Now