b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Demo
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Installation / Upgrade
  3. FAQ & Troubleshooting (Installation / Upgrade)
  4. If I upgrade, will I lose my posts, comments, settings, uploaded files, etc. ?

If I upgrade, will I lose my posts, comments, settings, uploaded files, etc. ?

Short answer: no! :)

Long answer:

The posts, comments, users, settings, etc. are stored in a MySQL database which is not part of your b2evolution file structure. It is next to impossible to accidentally overwrite and erase that data. It is even quite hard to delete your database on purpose.

The uploaded files (images, etc.) are stored in the /media directory and its subdirectories. When you upload the new files, the files you have uploaded there will typically not be impacted. If you are worried though, just make sure you do not upload the /media directory when upgrading.

The last critical file is /conf/basic_config.php. This file contains the location, login & password information to your MySQL database. Accidentally deleting this file can ruin your day if you need to figure out your MySQL password again (you generally never use it directly). The b2evolution distributions do NOT contain a fresh copy of /conf/basic_config.php so it’s still quite hard to overwrite it by mistake. (The file is created by the installer during the first install).

So basically it’s very hard to lose your data, but, just to be safe, we still recommend you make a backup of your MySQL database as well as your files (if nothing else, at least the /conf and /media folders) before you upgrade.

Created by fplanque • Last edit by fplanque on 2020-06-09 00:24 • •

No feedback yet


Form is loading...

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
    • New Installation
    • Upgrade
    • Configuration files
    • Advanced Setup
    • Migrating from Another System
    • Moving your b2evolution Site
    • FAQ & Troubleshooting (Installation / Upgrade)
      • How to install a language pack
      • If I upgrade, will I lose my posts, comments, settings, uploaded files, etc. ?
      • Where do I need to upload the files for upgrade?
      • I upgraded and now feature X doesn't work any more
      • Media File & evocache Permission Errors
      • System requirements
      • Unexpected SQL Error during upgrade
      • Unable to download automatic updates
      • I'm having weird redirect issues
      • FTP 101: How to upload and manage files on your web server
      • When I do X I get a blank page or only a half page
      • Will my database be affected if I upgrade? (And will I be able to revert to previous version?)
      • "Warning: Cannot modify header information"
      • Solutions to common upgrade problems
      • I get file permission errors. How do I fix them?
      • Troubleshooting Cookie Issues
      • Make a Backup
      • 403 Forbidden
    • Assumed User Skills
  • Front-office Reference
  • Back-office Reference
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Secure CMS

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque