PDA

View Full Version : Linux .. copy directories


jam583
Sun 6th Jul '03, 10:59am
I configured my server to do a daily backup to a folder. I ssh into it and I can see the backup. Now I want to copy the entire "backup" directory which has folders in it for each domain on the server to my local machine.

What is the command to do this? I thought it would be like cat backup > c:\whereIWantIt

That isn't it though .. any help is appreciated! I looked online and couldn't see to find anything and looked in my book I bought and didn't see anything about this either.

Steve Machol
Sun 6th Jul '03, 1:34pm
cp -fR backup whereiwantit

Chris Stewart
Sun 6th Jul '03, 2:30pm
Of course the above assumes you have Samba configured correctly.