Current time: 12-23-2024, 01:57 AM Hello There, Guest! (LoginRegister)


Post Reply 
migration to a new server --> permissions in /var/www/virtual
Author Message
soomon Offline
Junior Member
*

Posts: 37
Joined: May 2007
Reputation: 0
Post: #1
migration to a new server --> permissions in /var/www/virtual
hi,

i have ispcp running on my server. now i want to move to a new server.
so i installed ispcp and copied the databases and content of /var/www/ to the new server with scp.
then everything belongs to root....
but I have to copy the permissions, too, because on the old server most things belong to www-data or vuxxx.
then i tried to tar everything on the old server and untar on the new one.
that also didn't help.

how do i move the files correctly?
a friend said that the permissions of files could be bound to the user id's instead of the usernames???

what do i have to do?

thanks & greets,
soomon
06-20-2008 11:37 PM
Find all posts by this user Quote this message in a reply
bashar Offline
Newbie
*

Posts: 6
Joined: May 2008
Reputation: 0
Post: #2
RE: migration to a new server --> permissions in /var/www/virtual
you can use rsync to copy files without changing permission and owner (man rsync)
07-21-2008 08:53 AM
Visit this user's website Find all posts by this user Quote this message in a reply
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #3
RE: migration to a new server --> permissions in /var/www/virtual
tar should also be able to do it, just look at it's manpage for the "preserve permissions" command switch (-p?)
08-12-2008 04:49 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)