-Added new functions to caluclate diskspace needed to backup logs and configs
-Added new functions to backup logs and configs
-Re-worked the backup process/prompts
-Now a user can choose to backup:
1. logs
2. configs
3. both logs and configs
4. none
-The script now checks to see if they user has enough space to backup what they specified
-For Unidata's Jetstream EDEX's we have a check to see if the edex_upgrade.pl script exists, and if it does, then run it and it will archive the most recent logs
-Cleaned up the removal of directories in /awips2 to now only remove specific awips2 directories
-Added checks to check for wget and rsync and install if they aren't installed
-Updated the "backup" section - gives users the option to not backup data
-Only backs up the ldm/etc and ldm/dev directories instead of the full LDM directory
-Added a line to clean the metadata in the awips2 repo (noticed some issues when installing a new build on
a machine that previously had AWIPS installed pointing to the same location but had updated rpms).
-Added a check to remove caveData for CAVE installs
-Added a change to set the LDM_PORT for server installs
-Added a -y to the removal of the EDEX rpms so it auto removes them instead of waiting for the user
-Added a check to install git if it's not currently installed
Minor change to .gitignore to ignore a directory that gets built when building EDEX from eclipse
-Added hour:minute:second to the backup so it doesn't get overwritten if you install on the same day
-Added awips2-qpid-lib to the list of rpms to remove since sometimes it doesn't get removed by default
-When checking if CAVE is installed during the EDEX removal, kill all CAVE processes and remove /home/awips/caveData
-Removed option for rhel6 repo
-Always download the lateset awips2.repo file from webserver
-If awips2.repo exists locally, back it up to awips2.repo-YYYYMMDD-hh:mm:ss
I added a few new functions that checks to see if CAVE or EDEX are installed currently, and if they are to remove them.
If EDEX is installed, I backup the following files/directories:
-/awips2/database/data/pg_hba.conf
-/awips2/edex/bin/setup.env
-/awips2/edex/data/utility
-/awips2/ldm
-/awips2/edex/conf