little enhancement to myDBcopyTemplate.sh
- add datetime to jar file generated
This commit is contained in:
parent
a66a58a232
commit
d4915119fc
|
@ -1,5 +1,7 @@
|
|||
# Copy Database after backup
|
||||
# $Id: myDBcopyTemplate.sh,v 1.1 2002/10/07 01:23:32 jjanke Exp $
|
||||
|
||||
echo copy $ADEMPIERE_HOME/data/ExpDat.jar to backup media
|
||||
DATE=`date +%Y%m%d_%H%M%S`
|
||||
mv $ADEMPIERE_HOME/data/ExpDat.jar $ADEMPIERE_HOME/data/ExpDat$DATE.jar
|
||||
echo copy $ADEMPIERE_HOME/data/ExpDat$DATE.jar to backup media
|
||||
|
||||
|
|
Loading…
Reference in New Issue