little enhancement to myDBcopyTemplate.sh

- add datetime to jar file generated
This commit is contained in:
Carlos Ruiz 2007-04-14 22:17:59 +00:00
parent a66a58a232
commit d4915119fc
1 changed files with 3 additions and 1 deletions

View File

@ -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