update: add information for misp-restore.sh script

pull/2869/head
Jérôme Leonard 2018-01-23 14:35:17 +01:00
parent 25fcacb56e
commit e323fc0730
No known key found for this signature in database
GPG Key ID: C5D0D898D56C3D9D
1 changed files with 35 additions and 1 deletions

View File

@ -1,3 +1,6 @@
MISP-BACKUP
-----------
shell script for making a MISP backup
Installation
@ -33,4 +36,35 @@ Licence
=======
See LICENSE
initial idea based daverstephens on https://github.com/daverstephens/The-SOC-Shop
initial idea based daverstephens on https://github.com/daverstephens/The-SOC-Shop
MISP-RESTORE
------------
This script aims at restoring a backup made with `misp-backup.sh` script found in this folder.
Pre-requisites
==============
- Apache, MISP and mariaDB/MySQL should be installed before running this script.
- The versions of MISP software backed up and restored should be the same. (e.g. restore fiels database of a MISP v2.4.86 on a server with the same version of MISP)
- This script only restores the data on a database installed on localhost.
Description
===========
This script restores following file/DB from an archive created with `misp-backup.sh`:
- app/Config PHP files
- app/webroot/img orgs and custom files
- app/webroot/files
- GnuPG files
- MYSQL User used in archive or its password if exists
- MISP database
Run the script
==============
```
run ./misp-restore.sh PATH_TO_ARCHIVE.tar.gz
```