VPS re-install question

6 posts / 0 new
Last post
#1 Mon, 02/02/2009 - 01:01
flameproof

VPS re-install question

To end my VPS troubles I want to re-install. The easy part:

Backup /home/ This should backup all web directories and mailboxes. Will a backup keep the file and directory permission? I will probably use the VPS backup function, plus TAR the whole directory for storage off-site.

One issue - mailboxes: When I re-create a mailbox user, then move the user directory back in it place it seems all mail is gone. How can I keep the mails in the /homes/user/ directory?

mysql DBs Backup /var/lib/mysql/

Then re-install VPS and re-install webmin

Is there any webmin function to ease it? And how to handle those mailboxes with mails inside?

Mon, 02/02/2009 - 04:59
andreychek

There is a backup function in Virtualmin, under "Backup and Restore", that would allow you to pick and choose what features to backup.

However, the problem with reinstalling is that it doesn't actually resolve the issue. Unless you know exactly what to do differently, there's no reason to expect a different result than what you're seeing now.

The issues you've been having sound a lot like issues with available resources -- perhaps a lack of RAM. Do you have any swap enabled? That would show up in the "free" output.

Not having swap enabled could definitely cause the trouble you've been seeing.
-Eric

Mon, 02/02/2009 - 13:41
flameproof

<i>However, the problem with reinstalling is that it doesn't actually resolve the issue. Unless you know exactly what to do differently, there's no reason to expect a different result than what you're seeing now.</i>

As a newby I probably installed things which have a negative effect on the system. Since I didn't had those problem from the beginning I think that a re-install would let me have a clean system.

Wed, 02/04/2009 - 09:40
Joe
Joe's picture

<div class='quote'>Then re-install VPS and re-install webmin</div>

So, if you're using Virtualmin (and it seems likely that you are), I would hope when you say &quot;re-install webmin&quot; you really mean &quot;run the install.sh script, so that the system is in a known good state at the end of it all...and people here will be able to help more readily as they'll know what your system looks like&quot;. ;-)

But, follow Eric's advice. I'm just butting in to say that &quot;install webmin&quot; is not sane behavior if what you have is a fresh grade A supported OS, and what you want is a working Virtualmin system.

--

Check out the forum guidelines!

Wed, 02/04/2009 - 17:26
flameproof

sure I will use the install.sh script.

I am still not sure how to bring back the users mailboxes to its original state with all mail inside and usable.

When I move the /homes/user/ directory back to were it was before the mailboxes stay blank, as in a complete new setup. What's the trick when backing up mailboxes?

(I didn't use any backup function, I just copied the directory to a safe location before deleting that user completely via virtualmin)

Wed, 02/04/2009 - 18:52 (Reply to #5)
Joe
Joe's picture

<div class='quote'>(I didn't use any backup function, I just copied the directory to a safe location before deleting that user completely via virtualmin)</div>

That would be your problem. You're just hell-bent on making your life harder, aren't you? The &quot;trick&quot; is to use the backup function. ;-)

But, barring that, you'd need to recreate the users manually, and then copy the Maildir folder back into place for each user.

--

Check out the forum guidelines!

Topic locked