repo.or.cz
/
ninja.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
reports: Order selected objects when loading
[ninja.git]
/
op5build
/
ninja.backup
blob
7dc34bbd42bae55f6bfe7843b4ab3c637f864c15
1
DESCRIPTION="Ninja database options settings"
2
3
function CHECK()
4
{
5
test -d /opt/monitor/op5/ninja
6
return $?
7
}
8
9
function BACKUP_ACTION()
10
{
11
mysqldump merlin > $WORKDIR/merlin-db.sql
12
}
13
14
function RESTORE_ACTION()
15
{
16
mysql merlin < $WORKDIR/merlin-db.sql
17
}