How to restore my backup

Post

Posted
Rating:
#5595 (In Topic #1300)
Avatar
Standard member
fares9 is in the usergroup ‘Fan in action’
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 ?
Online now: No Back to the top

Post

Posted
Rating:
#5596
Avatar
Standard member
fares9 is in the usergroup ‘Fan in action’
Hello,

I am wondering nobody knows the answer !
Online now: No Back to the top

Post

Posted
Rating:
#5597
Avatar
Site staff
Adam is in the usergroup ‘Super-moderators’
Online now: No Back to the top

Post

Posted
Rating:
#5598
Avatar
Standard member
fares9 is in the usergroup ‘Fan in action’
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.
Online now: No Back to the top

Post

Posted
Rating:
#5601
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’
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.


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
#5602
Avatar
Site director
Chris Graham is in the usergroup ‘Administrators’

KingBast said

Composr Tutorial: Backing up your site - Composr may be of assistance to you ;)

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


Become a fan of Composr on Facebook or add me as a friend. Add me on on Twitter. Follow me on Minds (where I am most active). Support me on Patreon

Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Online now: No Back to the top

Post

Posted
Rating:
Item has a rating of 5 (Liked by Adam)
#5610
Avatar
Standard member
fares9 is in the usergroup ‘Fan in action’
Hi Chris.

Thank you for your assistant on IRC.

My website is working now.

Online now: No Back to the top
1 guest and 0 members have just viewed this.

Statistics

Users online:

Philip, Salman, ManojSree, mytracker, Vaiva, gabriel58, Manu

Forum statistics:
  • 1,257 topics, 5,783 posts, 6,953 members
  • Our newest member is Liamtratravelers
Birthdays:
Back to Top