Commit Graph

16 Commits (3d6d1ddb531797e8360fb1aea7ae5944ea8d58b8)

Author SHA1 Message Date
Steve Clement 3d6d1ddb53
fix: [tools] Fixed misp-backup 2021-04-01 15:42:04 +09:00
Steve Clement 5cb723b37c
chg: [tools] Added MISPvars from the installer. Added PATH_TO_MISP as a standard. 2019-06-14 23:11:38 +09:00
Trey Darley c854c87765
enable misp-backup where MySQL datastore isn't on localhost
The misp-backup script grabs the MYSQL host parameter from database.conf but it wasn't included in the call to mysqldump.
2019-06-03 15:21:22 +02:00
tom564 bd652c5c60
Fix blank $PATH_TO_MISP
Move  PATH_TO_MISP=${PATH_TO_MISP:-$(locate MISP/app/webroot/index.php|sed 's/\/app\/webroot\/index\.php//')} outside of if statement checking if manual input is required otherwise is only executed if locate is unable to determine path.
2019-04-03 20:56:35 +01:00
Steve Clement 9eeb3cc881 fix: [tools] Fixed empty variable check function. 2019-03-21 14:05:57 +02:00
Steve Clement 6d11d6a3cb chg: [tools] Various changes to the misp-backup script to make it more stable. Still WIP. 2019-03-04 23:54:36 +09:00
Steve Clement 640c7f9ac9 chg: [tools] misp-workers.service need to be able to be installed on a stick MISP install (Ubuntu) other flavours want to be marked as such. (and in a seperate directory, ideally, etc/systemd/system)
chg: [tools] Backup script todo added
chg: [tools] worker start script todo and fix me added
2019-02-27 07:58:46 +05:30
Steve Clement 5139a80aa2 chg: [tools] removed: #@IgnoreInspection BashAddShebang -- Added a better globbing opt: ./* 2018-10-16 15:07:06 +09:00
Steve Clement 363d00db7a chg: [tools] Updated misp-backup and misp-wipe to be a bit more late 2018 compliant 2018-10-16 13:34:25 +09:00
Jérôme Leonard ffb8375436
update: add Config php files to backup 2018-01-23 14:34:22 +01:00
Steffen Sauler 750696ea8e
Fix: shebang mixup
/!bin/sh to !/bin/sh
2017-11-15 16:54:24 +01:00
Richard van den Berg 508239f275 Use OutputDirName for temporary storage 2016-12-15 18:57:02 +01:00
Richard van den Berg 386440deb3 Some adjustments to misp-backup.sh:
- allow setting MISPPath in misp-backup.conf
- use MySQL username/password from database.php by default
- use machine sortable date for output file
- do not store TmdDir name in tar
- use tar non-verbosely
2016-12-07 21:47:20 +01:00
Alexander J a4c7caa76e Backup files as well 2016-04-07 15:46:20 +02:00
Alexander J 356165807e Update misp-backup.sh 2016-04-07 15:31:47 +02:00
deralexxx 95edae3d91 misp backup script 2016-03-03 21:51:07 +01:00