On 07/05/2010 01:11 PM, Olemis Lang wrote:
scp -r src_folder dest_location

isn't it ?

You'd want:

scp -rp src [u...@]dest_machine:dest

(-p preserves permissions, which I think would be necessary in this case)

but then you'd be scp-ing as root which should be disallowed by good security practice (PermitRootLogin no). I'd rather:

cd trac_parent_dir
sudo tar -cf trac.tar source
scp trac.tar m...@othermachine:.
ssh othermachine
cd trac_parent_dir
sudo tar -xf ~/trac.tar

But that's because I'm a bit paranoid.
--
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to