How to restore my backup

Post

Posted
Rating:
#5180 (In Topic #1044)
Hello

I made a backup of my website before it corrupts, I got 2 files : cms_config & all_db

How to restore my backups to my composr cms website ?

Post

Posted
Rating:
#5181
Hello,

I am wondering nobody knows the answer !

Post

Posted
Rating:
#5182

Composr Tutorial: Backing up your site

Open Source CMS with advanced social, interactive and dynamic features. Fully flexible, themeable and extendible: suitable for building powerful websites.

View

may be of assistance to you ;)

Post

Posted
Rating:
#5183
Thank you for your reply KingBast

The link provided is for the website backup, I have already done this step, but I need the ((restore)) backup.

Post

Posted
Rating:
#5186
As discussed on IRC, this does not sound like a Composr backup. cms_config is the name of one of Composr's database tables, and our backup system never names files after individual tables.

A Composr backup consists of a .tar file (or .tar.gz file), which is an archive that contains:
  • The actual website files (including both Composr code and custom files such as uploads). This is not actually included if you chose 'Database backup only'.
  • A readme.txt file that explains how to restore the backup.
  • A restore.php, which is a self-executing PHP script to restore the previous database.
  • A restore_data.php file that contains the actual database structure and contents. This can not be directly executed, but is saved as a PHP file to stop hackers being able to download the contents of your database by accessing the URL. The data from restore_data.php can only be restored using restore.php because it is in a custom Composr format, not a traditional SQL dump format.

When you generate a backup from Admin Zone > Tools > Make backup, it is not automatically downloaded to your computer. You will see a table showing all the backup files, and must download them to your computer if you want to keep a remote backup.

It is important to keep the files and database consistent. For example, if you install an addon, and then end up restoring a database from before the addon was installed, you may get errors due to the database structure being inconsistent with the website code (e.g. missing database tables). This is a mistake we see many people making.

Post

Posted
Rating:
#5187

KingBast said

Composr Tutorial: Backing up your site

Open Source CMS with advanced social, interactive and dynamic features. Fully flexible, themeable and extendible: suitable for building powerful websites.

View

may be of assistance to you ;)

I am going to update this backup tutorial our ours because it is badly outdated.

Post

Posted
Rating:
Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 Item has a rating of 5 (Liked by Adam Edington)
#5195
Hi Chris.

Thank you for your assistant on IRC.

My website is working now.

4 guests and 0 members have recently viewed this.