projects
/
irspy-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7cb6db9
)
add a dump target for doing a full dump of the IRSpy database as tarball
author
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 6 Apr 2010 15:36:13 +0000
(15:36 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 6 Apr 2010 15:36:13 +0000
(15:36 +0000)
zebra/Makefile
patch
|
blob
|
history
diff --git
a/zebra/Makefile
b/zebra/Makefile
index
09602b3
..
82dc733
100644
(file)
--- a/
zebra/Makefile
+++ b/
zebra/Makefile
@@
-2,6
+2,8
@@
IRSPY_ARCHIVE= records-2007-05-01
IRSPY_ARCHIVE_EXT= .tar.gz
IRSPY_ARCHIVE= records-2007-05-01
IRSPY_ARCHIVE_EXT= .tar.gz
+DATE:= $(shell date '+%Y-%m-%d')
+
all: help
all: help
@@
-18,6
+20,13
@@
newdb:
zebraidx-2.0 update ${IRSPY_ARCHIVE}
zebraidx-2.0 commit
zebraidx-2.0 update ${IRSPY_ARCHIVE}
zebraidx-2.0 commit
+dump:
+ rm -rf records-${DATE}.old
+ -test -e records-${DATE} && mv records-${DATE} records-${DATE}.old
+ mkdir records-${DATE}
+ cd records-${DATE} && ../../bin/irspy-dump.pl irspy.indexdata.com:8018/IR-Explain---1
+ tar cfz records-${DATE} records-${DATE}
+
clean:
rm -f terse.properties
clean:
rm -f terse.properties