Backup system wrong

10 posts / 0 new
Last post
#1 Mon, 02/18/2008 - 10:52
abkrim

Backup system wrong

Scenario:

I removed the package and webmin virtualmin a system. I reinstalled virtualmin with installs.h script.

Now I need to recover the backup.

Only the details of the servers.

Well use what I said (images http://marcoantonio.name/backupmal.png ) and there is no way. Virtualmin seeks to restore everything with the consequent failure.

This is not the first time I faced with a problem of this gravity, which leads me to remove the entire contents for later restore the backup, as otherwise the instability of the sites (postfix, procmail etc.) is tremendous. I have to do this for the backup system failures.

Why does this happen?

Post edited by: MarcoAntonioMateosSanchez, at: 2008/02/18 11:08<br><br>Post edited by: MarcoAntonioMateosSanchez, at: 2008/02/18 11:09

Mon, 02/18/2008 - 13:14
Joe
Joe's picture

Hey Marco,

I'm not sure...and your linked image doesn't exist, so I'm having a hard time visualizing exactly what problem you're having.

So, you're trying to restore just the virtual servers without the data, mailboxes, etc.?

And it sounds like you're trying to do this because something is wrong with the resulting accounts if you restore everything...so that would be a bug that we should fix, wouldn't it?

--

Check out the forum guidelines!

Mon, 02/18/2008 - 13:20 (Reply to #2)
abkrim

Image it's already fixed...

I'm trying restore only server details (I was deleted virtualmin with apt-get remove virtualmin)

And I ilke fixed a problem with procmail &amp; postfix after re-instal virtualmin pro

Now, fixed.

I'm deleted &amp; restore all accounts on server... (before I keep with rsync all /home/ &amp; /var/lib/mysql don't lost any data)

Too much work.

Mon, 02/18/2008 - 13:22 (Reply to #3)
Joe
Joe's picture

Hehehe...I've asked Jamie to chime in here. That's definitely a bug. Virtualmin is clearly trying to restore things that you've asked it not to. (Filing a bug on things like this will get things fixed faster).

--

Check out the forum guidelines!

Mon, 02/18/2008 - 14:14 (Reply to #4)
Joe
Joe's picture

Hi Marco,

This looks like a bug, perhaps..
Here is what I would suggest :

1) Delete the virtual server you are trying to restore.

2) Go to Webmin -&gt; Servers -&gt; MySQL Database Server, and delete the database 'marco'. Also delete any entries on the 'Database Permissions' page and 'User Permissions' page that refer to it.

3) Re-try the restore.

The problem seems to be that a 'marco' database already exists on the system, even though Virtualmin doesn't expect it to.

--

Check out the forum guidelines!

Mon, 02/18/2008 - 14:34 (Reply to #5)
Joe
Joe's picture

Actually, are you just trying to restore only the mailboxes?
If so, DON'T follow my previous suggestion.

Instead, on the restore form, make sure you select only the 'Mail/FTP users and mail aliases' checkbox under 'Features to restore'.

--

Check out the forum guidelines!

Mon, 02/18/2008 - 21:15 (Reply to #6)
abkrim

Errors after delete all domains in server and restore with last good virtualmin backup.

A lot of problems.

Now, I've use rsync for put on server files from beta server to production server.

No good.

http://marcoantonio.name/errorsafter.png

Mon, 02/18/2008 - 22:01 (Reply to #7)
Joe
Joe's picture

Marco - could you post a screenshot of the selections you have on the restore form, after which you got those validation errors? I'd like to try to understand where they came from, as it looks like many features of the domains were not restored.

Also, are you using rsync to backup and restore /home and /var/lib/mysql , instead of the regular Virtualmin backups?

--

Check out the forum guidelines!

Mon, 02/18/2008 - 22:14 (Reply to #8)
abkrim

Sorry.

My system it's on production and now it's ok restored.

Yes, I used rsync for restore /home &amp; /var/lib/mysql (and before trying restore ONLY for wbemin pourposes, update rsync backups, more new that backup,made at 06:00 AM)

I do not entrust myself in the Virtualmin backup system.

Mon, 02/18/2008 - 20:58
abkrim

That Jaime Cameron say me, it's that I make yesterday for 8 (eigth) servers.

I post problem that I think a bug.

Also problem with restore DNS zones.

This problems are very complish for use Virtualmin Pro on massive producction.

On last two years only I use 6 licenses of 10 mahcines ofr any customers, because this type errors with backups and restores.

I like Virtualmin Pro, because it's not intrusive with System, because use Debian, ... but not use because any problem with backups get too much time for sysadmin.

Now I have made a little script for my own backup system, without problems.

Thanks a nice day.

Topic locked