Importing Backup file into new site
Permalink
My C5 site is hosted on hostmonster. I had to reset my account and re-load C5 through their automated script install program. I backed up my site through the C5 dashboard (dbu_1447168601.sql) before the reset process was run. I opened the dashboard on the new site but could not find an option to restore or import a site. Because I backed up the files in a different C5 instance the restore option doesn't seem to be available.
Do you have suggestions on how I can import my backup files into my new C5 site?
thank you
Iain
Do you have suggestions on how I can import my backup files into my new C5 site?
thank you
Iain
As long as your new install version is exactly the same as your previously installed version you should be able to access your phpMyAdmin through your host and overwrite the database with your backup. This cannot be done through the Dashboard.
thank you for the reply (please excuse the lower case but my keyboard is acting up). I updated my old site C5 version before I backed up (to 5.3?) but the version that installed on my new site is different (5.6?).
Is there any way I can re-install an older version on the new site to do the import? Is it a given that using the process you suggested won't work with different versions?
Iain
Is there any way I can re-install an older version on the new site to do the import? Is it a given that using the process you suggested won't work with different versions?
Iain
Unfortunately you do need to have the same version of the files and database otherwise the site will not work properly. If you have your backed up files you could follow this process and it should work:
Rename the /concrete folder to /concrete_new
Place the /concrete folder from your backup on the server
Delete all tables from the database (you should probably do a database export before you do this, just in case)
Restore your backup sql file to the database
Normally this will restore your old site to the new server. You should also restore any overrides and packages that you have in your backup when you restore the concrete folder.
Rename the /concrete folder to /concrete_new
Place the /concrete folder from your backup on the server
Delete all tables from the database (you should probably do a database export before you do this, just in case)
Restore your backup sql file to the database
Normally this will restore your old site to the new server. You should also restore any overrides and packages that you have in your backup when you restore the concrete folder.