[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 602
  • Last Modified:

rsync in linux error

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
D_wathi
Asked:
D_wathi
2 Solutions
 
Seth SimmonsSr. Systems AdministratorCommented:
try adding -O (rsync -avzO)
0
 
woolmilkporcCommented:
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
 
rajeev2353Commented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now