mirror of https://github.com/MISP/MISP
update: add information for misp-restore.sh script
parent
25fcacb56e
commit
e323fc0730
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue