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

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th March 2013, 10:30
cassus cassus is offline
Junior Member
 
Join Date: Sep 2012
Posts: 10
Thanks: 4
Thanked 2 Times in 2 Posts
Default ISPc 3.0.5.1. 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?

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

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 21:25.
Reply With Quote
The Following User Says Thank You to cassus For This Useful Post:
burlyhousetech (7th March 2013)
  #3  
Old 5th March 2013, 13:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

I've added this to our bugtracker, so we will check that.
__________________
Falko
--
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
Reply

Bookmarks

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 17:58
postfix/trivial-rewrite digitalage HOWTO-Related Questions 19 13th March 2013 19:02
Sending mails: fine > recive: bad Moundy General 1 19th June 2012 23:40
Major recovery Toucan Installation/Configuration 18 9th August 2011 11:45
Problem with ISPC 3 and DNS JaguarFR Installation/Configuration 10 9th June 2011 10:28


All times are GMT +2. The time now is 05:51.


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