I am almost ready to release my two xoops sites in 2.3.3 & 2.4.4. Before I go production, I would like to figure out what backup routine I should take.
My host is hostmonster. Using Cpanel, I can make a full backup of my account, including all my files & dbs. Hostmonster says that I can use this backup, only if I were to move to another host. So for disater recovery purpose, I do not think this is the approach to go.
I found the following FAQ,
https://xoops.org/modules/smartfaq/faq.php?faqid=150,
I followed the instructions and backed up xoops files and db at the host. For testing purpose, I wanted to restore the backup onto my local xampp environment. I loaded the db to my local database, and put xoops files in place. The FAQ tells me all I need to do is modify the mainfile.php. Here is my modification for my local xampp environment.
define( 'XOOPS_ROOT_PATH', 'c:\xampp\htdocs\beauty' );
define( 'XOOPS_PATH', 'c:\xampp\beauprod\site_lib' );
define( 'XOOPS_VAR_PATH', 'c:\xampp\beauprod\site_data' );
define( 'XOOPS_URL', 'http://localhost/beauty' );
define( 'XOOPS_DB_USER', 'root' );
define( 'XOOPS_DB_PASS', '' );
define( 'XOOPS_DB_NAME', 'beauprod' );
Unfortunately, my restore does not work. It does not even get to the point that it needs to connect to db.
Could you share your thougts what I should do keep my backup rotine simple and effective? Many thanks in advance.