Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sun Sep 20, 2015 3:15 pm 
Offline
Newbie

Joined: Thu Sep 17, 2015 6:20 am
Posts: 4
I am using the following command to rsync files from my old server to my linode server. However this command is not copying directories beneath /home/example/dir1/dir2/ to my linode server. It is my belief that the -a rsync parameter should direct rsync to create those directories, but it is not happening. Do you folks have any ideas?

Code:
/usr/bin/rsync -auvz --stats --checksum -e "/usr/bin/ssh -p 1234"user@www.domain.net:/home/example/dir1/dir2/* .  


Top
   
PostPosted: Mon Sep 21, 2015 5:38 am 
Offline
Newbie

Joined: Thu Sep 17, 2015 6:20 am
Posts: 4
I figured out what was wrong. The command was not formatted correctly.

Bad:
Code:
/usr/bin/rsync -auvz --stats --checksum -e "/usr/bin/ssh -p 1234"user@www.domain.net:/home/example/dir1/dir2/* .


Good:
Code:
/usr/bin/rsync -auvz --stats --checksum -e "/usr/bin/ssh -p 1234" user@www.domain.net:/home/example/dir1/dir2/* .


Top
   
PostPosted: Thu Oct 15, 2015 6:09 am 
Offline
Junior Member
User avatar

Joined: Mon Jun 22, 2015 12:55 am
Posts: 30
Website: http://iserversupport.com/
Yes that space can cause issue, I'm glad that you got it fixed :)

_________________
Server Management with 24x7 monitoring
http://iserversupport.com/on-demand/


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group