#!/bin/sh

[ ! "$STTA" ] && echo "STTA no set "  && exit 2 
. $STTA/envprofile

cd $WEBMINDIR

DIRDEST=$BACKUPDIR/$ahora
mkdir $DIRDEST 2>$dn
chown root:bin $DIRDEST
chmod 755 $DIRDEST

DEST=$DIRDEST/$SAVEFILE

. $DEVTOOLS/savecfgs
tar cvf $DEST $MODULE >$dn
echo "comprimiendo ..."
gzip -f $DEST
. $DEVTOOLS/countall $MODULE >$DIRDEST/countall.out
echo "BackupNOW to $DEST done !!! "
