stanusj Posted September 28, 2014 Report Posted September 28, 2014 I accidentally deleted files on our server, and the backup by site5 just happened to be corrupted too. I have now reinstalled Blesta, but the database is gone. Is there a way to download existing records from WHM into the new Blesta database? stanusj 1 Quote
0 domaingood Posted September 28, 2014 Report Posted September 28, 2014 Did you have cpanel backups? Please open support ticket to site5.If they have backup then they restore for you. Quote
0 Michael Posted September 28, 2014 Report Posted September 28, 2014 As DomainGood said, there's no way to restore a database without a copy of the database. Quote
0 Blesta Addons Posted September 28, 2014 Report Posted September 28, 2014 As DomainGood said, there's no way to restore a database without a copy of the database. i think the OP ask a imported for cpanel/whm account . Quote
0 Michael Posted September 28, 2014 Report Posted September 28, 2014 i think the OP ask a imported for cpanel/whm account . Woops and then it's a no anyway lol Quote
0 stanusj Posted September 28, 2014 Author Report Posted September 28, 2014 Thank you all for the quick response. I sure wished for another answer, but such is life. Quote
0 Michael Posted September 28, 2014 Report Posted September 28, 2014 Thank you all for the quick response. I sure wished for another answer, but such is life. The thing is, trying to do that, which services goes to which customer, or how can it get the details to create a client? Quote
0 flangefrog Posted September 29, 2014 Report Posted September 29, 2014 I accidentally deleted files on our server, and the backup by site5 just happened to be corrupted too. I have now reinstalled Blesta, but the database is gone. Is there a way to download existing records from WHM into the new Blesta database? You said you deleted the files, did you delete the database as well? Reinstalling Blesta shouldn't overwrite the database. Quote
0 Michael Posted September 29, 2014 Report Posted September 29, 2014 You said you deleted the files, did you delete the database as well? Reinstalling Blesta shouldn't overwrite the database. I think he accidently deleted all the cPanel files too which broke the account. Quote
0 stanusj Posted September 29, 2014 Author Report Posted September 29, 2014 I did (the shame), delete all files when deleting a temp FTP account (which had root access, note to self, never do that again). Just for me, our backup files that Site5 does daily just had to be corrupted (which they amazingly fixed after a month). In the meantime, I installed the latest version of Blesta to continue operations, and the amazing team at Site5 has fully restored the old Blesta version (2.5.4) allowing us to export the database. I tried running a import to the latest version of blesta 3.2.2 but had the following error message SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens Question: should I start a new thread, or just continue here? Quote
0 Michael Posted September 29, 2014 Report Posted September 29, 2014 I did (the shame), delete all files when deleting a temp FTP account (which had root access, note to self, never do that again). Just for me, our backup files that Site5 does daily just had to be corrupted (which they amazingly fixed after a month). In the meantime, I installed the latest version of Blesta to continue operations, and the amazing team at Site5 has fully restored the old Blesta version (2.5.4) allowing us to export the database. I tried running a import to the latest version of blesta 3.2.2 but had the following error message SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens Question: should I start a new thread, or just continue here? I'll pass this on to Paul for you. Quote
0 Paul Posted September 29, 2014 Report Posted September 29, 2014 Did you follow the migration guide exactly from here? http://docs.blesta.com/display/user/Migrating+to+Blesta The error seems to indicate that some data may be missing that is expected. Enable error reporting in your v3 /config/blesta.php config file before trying a new import. Also, restore your database from after you did a fresh v3 install, or install again. v3 must have a fresh database before attempting an import. To enable error reporting, edit /config/blesta.php and change Configure::errorReporting(0); to Configure::errorReporting(-1); Then run the import again. If you get an error, there will probably be more in there, include it here. Michael 1 Quote
Question
stanusj
I accidentally deleted files on our server, and the backup by site5 just happened to be corrupted too.
I have now reinstalled Blesta, but the database is gone.
Is there a way to download existing records from WHM into the new Blesta database?
12 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.