core-jgi/org.adempiere.server-feature/utils.unix/myDBcopyTemplate.sh

9 lines
280 B
Bash

#!/bin/sh
# Copy Database after backup
# $Id: myDBcopyTemplate.sh,v 1.1 2002/10/07 01:23:32 jjanke Exp $
DATE=$(date +%Y%m%d_%H%M%S)
mv "$IDEMPIERE_HOME"/data/ExpDat.jar "$IDEMPIERE_HOME"/data/ExpDat"$DATE".jar
echo copy "$IDEMPIERE_HOME"/data/ExpDat"$DATE".jar to backup media