User Tools

Site Tools


en:doc:basic:backup

This is an old revision of the document!


Flatpress Backup

Since FlatPress works on flat files, backup of your blog is always just copying folders and files. In most cases, you use your favourite FTP software (e.g. FileZilla) for the job.

You may backup your FlatPress blog in different levels:

  1. Full backup
  2. Backup of user-created contents
  3. Individual backup

You might want to take a look onto the descriptions below in order to chose the backup method which suits your needs.

Full Backup

This is the easiest way to backup your FlatPress blog: Just copy the whole FlatPress directory from your server.

The big pro of this method is that really everything is backed up. It comprises the Flatpress blog, all files that are necessary (and were maybe changed) as well as contents, themes and plugins. Restore can be done without running setup again, and you do not have to consider any changes.

The disadvantage of this method is expenditure of time. Also, you cannot change installation directory or the author's name. It is just a 1 by 1 copy.

Backing-up user-created contents

This method is quite fast, as only the “fp-content” directory is downloaded. After performing a new installation, the new fp-content directory is simply replaced by the downloaded directory.

A disadvantage of this method is that it comprises the “fp-content” subdirectories “cache”, “config”, “users” and the file “&&setup.lock”. It is not possible to change Flatpress installation directory or author name. Also, modified plugins, a new theme or file changes of the basic Flatpress installation are not backed up by this method, which might lead to problems after restoring. In particular the “cache” directory might cause some trouble.

Individual Backup

This method can only be done manually and is extensive, as a lot of single transfers have to be initiated. Only directories and files that differ from a standard Flatpress installation (i.e. you changed them…) are backed up.

Main advantage of this method is its flexibility, as it is irrelevant, where and how Flatpress is rebuilt after a server break-down.

At the price of expenditure of time, you will receive benefits from flexibility.

Only the following directories are downloaded:

  1. fp-content/attachs (if used)
  2. fp-content/content
  3. fp-content/images (if used)
  4. fp-content/…my extensions… (if used)
  5. fp-interface/themes/…my themes…
  6. fp-plugins/…my plugins… (if used)

It is very important to include all files, directories and plugins that are not part of the Flatpress standard installation. Following this methot, you can move your blog into different directories, change the author's name or even create a “mobile Flatpress” on a USB stick.

en/doc/basic/backup.1601809706.txt.gz · Last modified: 2020/10/04 13:08 by arvid

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki