Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 4th March 2013, 11:30
cassus cassus is offline
Junior Member
Join Date: Sep 2012
Posts: 10
Thanks: 4
Thanked 2 Times in 2 Posts
Default ISPc db restore problem

I want to restore client db backup

when I click on restore button, a get a notice "Restore of the backup has been started... ", there is a new row in sys_remoteaction, but nothings happen to database itself. ispconfig log is clean too.

backup file is on the right place, manual download and restoration is OK, but restore button doesnt work. where the problem may be?

Reply With Quote
Sponsored Links
Old 4th March 2013, 21:52
cassus cassus is offline
Junior Member
Join Date: Sep 2012
Posts: 10
Thanks: 4
Thanked 2 Times in 2 Posts

I figured it out myself. Problem is:

In interface settings, I have database prefix set to "db_". Database backup script then preppend ANOTHER "db_" prefix to backup name, so result is db_db_name.tar.gz. This 2x "_" then confuse the restore script, because it uses for resolve database name this:

$parts = explode('_',$backup['filename']);
$db_name = $parts[1];

so in variable $db_name is "db" and script will fail. Same problem will happen when database name contains "_" .

Last edited by cassus; 4th March 2013 at 22:25.
Reply With Quote
The Following User Says Thank You to cassus For This Useful Post:
burlyhousetech (7th March 2013)
Old 5th March 2013, 14:51
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

I've added this to our bugtracker, so we will check that.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
postfix problems with smtp linkdeb Server Operation 13 15th March 2014 18:58
postfix/trivial-rewrite digitalage HOWTO-Related Questions 19 13th March 2013 20:02
Sending mails: fine > recive: bad Moundy General 1 20th June 2012 00:40
Major recovery Toucan Installation/Configuration 18 9th August 2011 12:45
Problem with ISPC 3 and DNS JaguarFR Installation/Configuration 10 9th June 2011 11:28

All times are GMT +2. The time now is 11:01.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.