Backup

From Lanius CMS Wiki

Lanius CMS offers different backup tools for partial and complete backups.

Considering a running Lanius CMS installation, we can individuate 3 groups of files:

  1. Lanius CMS sources, which are only run by server
  2. database tables, which might not reside in the private/<database name> directory depending on your configuration
  3. custom published and unpublished files, which include custom XHTML pages, custom PHP scripts, gallery images, custom icons, downloads etc. (basically, all files which are not included in (1))

Backup of (1) is ignored during website manual updates (see Manual Update) and only useful for website relocation purposes. Backup of (2) and (3) is most often necessary; the two sets of files are your 'data' and you should regularly backup it second your backup policies.

You can accomplish backup of (2) using the Database manager component, and backup of (3) using the Tarball Backup component.

Performing a full backup

Here are a few instructions to create a full reliable Lanius CMS website backup.

  1. create a tarball backup without CMS sources and with an SQL database snapshot
  2. install Lanius CMS
  3. restore the tarball backup
  4. restore the SQL database snapshot

Related pages

Personal tools
Create a book
  • Add wiki page
  • Collections help