Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsync failing - No such file or directory

Status
Not open for further replies.

Tim2525

Technical User
Feb 7, 2005
51
0
0
US
Hi All,

Attempting to run rsync but getting "no such file or directory" message. What looks like is happening is solaris is removing the "space" between ../db2_backup and db2inst1@enolagay.. As a result rsync creates a new dir on the same box with the files in it. Not sure what to do. VERY new to unix and rsync.

bash-2.03$ rsync -e ssh -av /export/home/db2inst1/db2_backup/* db2inst1@enolagay: /export/home/db2inst1/db2_backup
building file list ... rsync: link_stat "/export/home/db2inst1/db2_backup/db2inst1@enolagay:" failed: No such file or directory (2)
done

sent 194 bytes received 20 bytes 428.00 bytes/sec
total size is 633405440 speedup is 2959838.50
rsync error: some files could not be transferred (code 23) at main.c(791)
bash-2.03$ ls -l
total 1237776
-rw-r----- 1 db2inst1 db2iadm1 612401152 Aug 31 08:54 CAMPMOR5.0.db2inst1.NODE0000.CATN0000.20050831085320.001
-rw-r----- 1 db2inst1 db2iadm1 21004288 Aug 29 16:35 WAS.0.db2inst1.NODE0000.CATN0000.20050829163512.001
bash-2.03$ rsync -e ssh -av /export/home/db2inst1/db2_backup db2inst1@enolagay: /export/home/db2inst1/db2_backup
building file list ... rsync: link_stat "/export/home/db2inst1/db2_backup/db2inst1@enolagay:" failed: No such file or directory (2)
done
db2_backup/
db2_backup/CAMPMOR5.0.db2inst1.NODE0000.CATN0000.20050831085320.001
db2_backup/WAS.0.db2inst1.NODE0000.CATN0000.20050829163512.001

sent 633483071 bytes received 70 bytes 3396692.45 bytes/sec
total size is 633405440 speedup is 1.00
rsync error: some files could not be transferred (code 23) at main.c(791)
bash-2.03$

Any pointers most appreciated.

TIA,
T
 
There should not be a space between "db2inst1@enolagay:" and "/export/home/db2inst1/db2_backup".

Annihilannic.
 
Thanks for all your help Annihilannic. That did it.

T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top