Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue Sep 01, 2009 12:25 pm 
Offline
Newbie

Joined: Tue Jun 30, 2009 2:58 pm
Posts: 2
Location: Colonia, Uruguay
Hello, when I got my Linode 360 a few weeks ago I installed Ubuntu 9.04 64 bits, then added Apache, PHP and MySQL to host six low traffic sites.

Now it seems I'm running out of RAM, my Linode crashed a couple of times during the last week, and I'd like to move to Ubuntu 9.04 32 bits.

How do I change my operating system while keeping my data intact? I'd like to avoid reinstalling everything, at least the websites files and databases.

Is there any way I can take an image of just my data and then reinstall the operating system and server's software and bring back the data?

Or should I just do a manual backup, mysqldump and recreate everything?

Thanks!

_________________
Alexis Bellido


Top
   
PostPosted: Tue Sep 01, 2009 12:33 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
alexisbellido wrote:
Is there any way I can take an image of just my data and then reinstall the operating system and server's software and bring back the data?

Or should I just do a manual backup, mysqldump and recreate everything?

I'd make a tarball of your Web data and configuration files, mysqldump your DB, and redo.

You can plan for this sort of scenario in the future -- the way I run my Linodes is a separate disk image for service data. I host all of my services under /srv, and I have a disk image on my Linodes mounted as /srv; if I need to reinstall the OS, I just need to back up the configuration from /etc and my data is still there (with appropriate twiddling of the configuration profile).

Just like partitions on a PC.

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject:
PostPosted: Tue Sep 01, 2009 12:35 pm 
Offline
Newbie

Joined: Tue Jun 30, 2009 2:58 pm
Posts: 2
Location: Colonia, Uruguay
Thanks!

_________________
Alexis Bellido


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: nqservices and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group