mirror of https://github.com/MISP/MISP
chg: [tools] removed: #@IgnoreInspection BashAddShebang -- Added a better globbing opt: ./*
parent
363d00db7a
commit
5139a80aa2
|
@ -94,7 +94,7 @@ MySQLRPass=${MySQLRPass:-$MySQLUPass}
|
|||
mysqldump --opt -u $MySQLRUser -p$MySQLRPass $MISPDB > $TmpDir/MISPbackupfile.sql
|
||||
# Create compressed archive
|
||||
cd $TmpDir
|
||||
tar -zcf $OutputFull *
|
||||
tar -zcf $OutputFull ./*
|
||||
cd -
|
||||
rm -rf $TmpDir
|
||||
echo "MISP Backup Completed, OutputDir: ${OutputDirName}"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
#@IgnoreInspection BashAddShebang
|
||||
#!/bin/bash
|
||||
##
|
||||
## script to wipe MISP on debian/ubuntu
|
||||
|
|
Loading…
Reference in New Issue