User Tools

Site Tools


en:doc:basic:backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:doc:basic:backup [2020/10/04 13:08] arviden:doc:basic:backup [2020/10/04 13:34] (current) arvid
Line 10: Line 10:
  
 ===== Full Backup ===== ===== Full Backup =====
-This is the easiest way to backup your FlatPress blog: Just copy the whole FlatPress directory from your server. +This is the easiest and **recommended 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. +! Scope || Just everything: FlatPress core, themesplugins, contents
- +|- 
-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.+! Pro || Restore can be done without running setup again, and you do not have to consider any changes. 
 +|- 
 +! Con || Takes the longest time, of course. Also, you cannot change installation directory or the author's name. It is just a 1 by 1 copy. 
 +|- 
 +! Restore || Just copy back to your server, and you're fine. 
 +|}
  
 ===== Backing-up user-created contents ===== ===== Backing-up user-created contents =====
 +You may want to backup just the contents of your blog: Entries, static pages, uploaded files, comments, settings. This is useful if you plan to move your blog contents to a freshly installed FlatPress instance, e.g. during an update from really old versions.
  
-This method is quite fast, as only the "fp-content" directory is downloadedAfter 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 restoringIn particular the "cachedirectory might cause some trouble+! Scope || Contents only: Subfolder "fp-content". 
 +|- 
 +! Pro || Quite fast
 +|- 
 +! Con || Also contains caches which might cause trouble after restoreDoes not backup themes or plugins (which you may have edited). It is not possible to change Flatpress installation directory or author name.  
 +|- 
 +! Restore || Install a new FlatPressReplace original folder "fp-contentswith your backup
 +|}
  
 ===== Individual Backup ===== ===== 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. 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.
 +Use this method if you are an experienced user. Best way is to build an individual backup script doing the work.
  
-Main advantage of this method is its flexibilityas it is irrelevantwhere and how Flatpress is rebuilt after server break-down+{| 
- +|- 
-At the price of expenditure of time, you will receive benefits from flexibility+! Scope || Exactly what you need. 
- +|- 
-Only the following directories are downloaded:+! Pro || Flexibility in storage and time consumption. Can rebuild your FlatPress contents and settings in any other environment. Following this method, you can move your blog into different directorieschange the author's name or even create a "mobile Flatpress" on USB stick.  
 +|- 
 +! Con || Experienced users only. An individual backup script doesn't write itself
 +|- 
 +! Restore || Install a new FlatPress in your target environment. Copy back all folders from the backup. 
 +|}
  
 +Backup what you want to be backed up:
   - fp-content/attachs (if used)   - fp-content/attachs (if used)
   - fp-content/content   - fp-content/content
Line 41: Line 59:
   - fp-plugins/...my plugins... (if used)   - 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.+It is very important to include all files, directories and plugins that are not part of the Flatpress standard installation.
  
  
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