Table of Contents

Feng Officeのバックアップ方法

This page is about how to backup your Feng Office installation manually. If you want to learn about the backup plugin that allows you to create backups from the administration panel, please see the page Backup (Plugin).

何をバックアップする必要があるのか?

必要な情報は

Feng Officeのバックアップ方法

  mkdir /path/to/backup
  cp -R /var/www/feng /path/to/backup

A) mysqldump (replace words between brackets for the correct values)

  mysqldump -h [host] -u [username] -p [database] > /path/to/backup/db.sql

B) phpMyAdmin

  1. Select Feng Office's database
  2. Click “Export”
  3. Select to export to “SQL”
  4. Select to export the “Structure” as well as the “Data”
  5. Select to “Save as file”
  6. Click on “Go” and save the generated file to /path/to/backup/db.sql

バックアップの復元方法

  cp -R /path/to/backup/feng /var/www

A) mysql command

  mysql -h [host] -u [user] -p [database] < /path/to/backup/db.sql

B) phpMyAdmin

  1. Select Feng Office's database
  2. Click “Import”
  3. Choose the database script created on backup (/path/to/backup/db.sql)
  4. Click “Go”