Linode.com Forum Forum Index Linode.com Forum
Linode Community Forums
 


Debian VMWare to Linode migration

Click here to go to the original topic

 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Author Message
rgc



Joined: 15 Jun 2005
Posts: 3

Posted: Wed Jan 02, 2008 9:49 am    Post subject: Debian VMWare to Linode migration  

I have a working Linode running. However, I'm planning to update it. To avoid running two Linode's during testing I did the deployment of the new system on my own workstation in VMWare server.
Testing is done, and the vmware image/system works like it should.

Now I want to migrate it onto my Linode. I plan to do this using rsync. I've mounted the new disk images inside the old system under /new/, /new/usr and /new/var. Now what should I sync/not-sync?

the /new/ partition is a Linode Debian 4.0 deployment. So it should have the /dev partition fully populated. Rsync'ing /proc, /tmp or /sys is probably also useless. Are there any other directories I have to exclude?
Back to top  
SteveG



Joined: 30 Nov 2003
Posts: 196

Posted: Wed Jan 02, 2008 1:05 pm    Post subject:  

You might want to be careful with the networking setup in /etc/network/interfaces. Also, /boot is unneeded on the linode, but I doubt it will do any harm.
Back to top  
rgc



Joined: 15 Jun 2005
Posts: 3

Posted: Wed Jan 02, 2008 7:05 pm    Post subject: Do I need the /lib directory?  

Do I need the /lib directory? It is filled with modules for the kernel on the VMWare system. The kernel for the UML system is not in my filesystem I think. So what part of the /lib directory is redundant?
Back to top  
sweh



Joined: 13 Apr 2004
Posts: 205

Posted: Wed Jan 02, 2008 7:48 pm    Post subject:  

/lib/modules isn't needed. /lib/tls (and /usr/lib/tls) can probably go, but verify the thing still works properly, just in case.

Most everything else in /lib should be left alone.
Back to top  
OverlordQ



Joined: 04 Jun 2004
Posts: 199

Posted: Sun Jan 06, 2008 12:12 pm    Post subject:  

some flavor of rsync probably would of been best.
Back to top  
 
       Linode.com Forum Forum Index -> Linux, Apache, Mysql and PHP (LAMP) Forum
Page 1 of 1