Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Feb 16, 2011 10:02 am 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Is there a way to keep my site data if i want to install my distro and packages again?
Thank you.


Top
   
 Post subject:
PostPosted: Wed Feb 16, 2011 12:02 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Easiest way would be to resize your existing image to a smaller size, then use the resulting free space to install your new OS. You can then edit your new deployment's configuration profile to add the new disk image, then mount it.

You can use df -h to figure out how much space you're using:

Code:
$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/xvda             8.8G  5.7G  3.1G  65% /
varrun                250M   56K  250M   1% /var/run
varlock               250M     0  250M   0% /var/lock
devshm                250M     0  250M   0% /dev/shm


In this case, I can resize down to 6 GB (~6000 MB), leaving about 10 GB for new stuff.

If you're packed to the gills and can't shrink your filesystem far enough, you can also add some extra disk space on the Extras tab and remove it when you're done.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Wed Feb 16, 2011 3:48 pm 
Offline
Senior Member

Joined: Fri Feb 11, 2011 1:36 pm
Posts: 118
Thanks, that gave me a direction.


Top
   
 Post subject:
PostPosted: Wed Feb 16, 2011 7:06 pm 
Offline
Senior Member

Joined: Fri Jan 09, 2009 5:32 pm
Posts: 634
The other option would be to just buy a new linode, set it up, migrate your data, delete the old one. It's all prorated, so you'll get credit back and only end up paying for the overlapping time.


Top
   
 Post subject:
PostPosted: Thu Feb 17, 2011 12:41 am 
Offline
Newbie

Joined: Mon Apr 27, 2009 12:06 am
Posts: 2
glg wrote:
The other option would be to just buy a new linode, set it up, migrate your data, delete the old one. It's all prorated, so you'll get credit back and only end up paying for the overlapping time.


I was going to do that then I got attached to having two linodes.


Top
   
 Post subject:
PostPosted: Thu Feb 17, 2011 12:14 pm 
Offline
Senior Member

Joined: Thu Apr 03, 2008 12:02 am
Posts: 103
AOL: derole
stephenmg wrote:
I was going to do that then I got attached to having two linodes.


Haha, same problem here...


Top
   
 Post subject:
PostPosted: Sun Mar 06, 2011 2:11 am 
Offline
Senior Newbie

Joined: Tue Sep 07, 2010 12:19 pm
Posts: 14
AOL: 7000+Springs+LN
Location: United States
oliver wrote:
stephenmg wrote:
I was going to do that then I got attached to having two linodes.


Haha, same problem here...


Same here. It's a curse I say..


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


Who is online

Users browsing this forum: fos and 0 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