Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hello, I have a script that I found in an AWIPS II document on the internet a while ago, and was subsequently modified for my setup at work, that backs up the configuration files within the awips2/edex/data/utility directory as a zip file. It copies the files into the zip file, but for some reason at the end of zipping the files, it starts all over again in a continous loop. Perhaps a fresh pair of eyes can see what mine can't. Thanks, Brian Bernard --------------------------------------------------------------------------------------------------------------------------------- #!/bin/bash cd /data/fxa/TEMP/ archive="localization.tar" if [ -f ${archive} ]; then mv -f ${archive} ${archive}_old fi EDEX_HOME="/awips2/edex" cd ${EDEX_HOME}/data/utility if [ "$1" != "" ]; then sites=$1 else sites=`ls -1 ${EDEX_HOME}/data/utility/` fi for site in ${sites} do echo "Backing up $sites..." tar --exclude "ffmp/aggrGeom" --exclude "*/base/*" -cvzf /data/fxa/TEMP/localization.tar */* echo "" echo "Finished backing up AWIPS II EDEX configuration files at... $(date)" done -----------------------------------------------------------------------------------------------------------------------------------
awips2-users
archives: