Koozali.org: home of the SME Server
Obsolete Releases => SME Server 6.x => Topic started by: yehaah on November 01, 2006, 08:26:21 AM
-
I want to move one of my homepages to another server.
Instead of making a complete backup to desktop and then picking out the few MB og several GB, I would like to copy the contents of a single "html" folder in a ibay.
I started by making a copy by ftp, but I didn't have the rights I needed to copy image files.
Then I logged on as root, and copied the files from "html" to my "home" with nc. But alass I stille cant upload some of the files from my homedrive to my new server, because of rights issues.
What do I do, so that I can copy theses files with out any problems?????
-
Check out secure copy (scp)
man scp
Works a treat for machine to machine copies.
-
yehaah
> I logged on as root, and copied the files from "html" to my "home" with nc.
You probably "gave" those files root ownership when you copied them.
cd /home/e-smith/files/users/username/home
ls -al
review the current ownerships
chown username:username *
ls -al
to review again
Then copy them to wherever you want.