How to Backup CMS

Hi ,

How can i backup CMS system and rebuild the same data? if my CMS server is down.

Thanks.

MY CMS install in Server 2012 R2 64bit
i was using XAMPP to install CMS .

What to backup is covered in the CMS getting started guide - which is stickied on the front page

Hi Alex,

Thanks for your reply,

Btw are your mean here: http://xibo.org.uk/manual/en/index.html ?

Thanks.

No here:
https://community.xibo.org.uk/t/xibo-cms-post-installation-setup-guide/522

Hi Alex,

So mean that i just need to backup MySQL database? if i want to rebuild CMS ,i just need to reinstall new CMS and select the existing database?

Thanks.

Hi Alex,

How about Client player need to reconnect or it will auto sync ?

Thanks

You’d take a complete backup - as described in the instructions.

Then delete the CMS install (except your CMS library and the settings.php file), then extract the new CMS files, put the settings.php back where it was, and then it will upgrade.

You cannot downgrade to an earlier version via that method, but you can upgrade.

Hello, I want to install Xibo version 1.8.2; in fact I had version 1.7.5 installed. I tried to install the new version but I made a mistake to not save settings.php config sample so I lost it. Thankfully can you please provide an example of file settings.php so that I can proceed the installation?

<?php
/*
 * Xibo - Digital Signage - http://www.xibo.org.uk
 *
 * This file is part of Xibo - and is automatically generated by the installer
 *
 * You should not need to edit this file, unless your SQL connection details have changed.
 */

defined('XIBO') or die(__("Sorry, you are not allowed to directly access this page.") . "<br />" . __("Please press the back button in your browser."));

global $dbhost;
global $dbuser;
global $dbpass;
global $dbname;

$dbhost = 'localhost';
$dbuser = 'username';
$dbpass = 'password';
$dbname = 'database';

if (!defined('SECRET_KEY'))
define('SECRET_KEY','randomalphastringhere');

?>

That’s the bones of it. Clearly you need to adjust the variables to match the credentials setup on your MySQL server. SECRET_KEY is not the same as your CMS key. It should be an 8 character random alpha-numeric string (with no spaces, punctuation etc). It doesn’t matter if it’s not the same value as it was before.