diff --git a/ab-openldap/ab-openldap.sh b/ab-openldap/ab-openldap.sh index d504378..579e307 100755 --- a/ab-openldap/ab-openldap.sh +++ b/ab-openldap/ab-openldap.sh @@ -212,6 +212,8 @@ while [ $# -gt 0 ]; do done +### process main operations + # cleanup containers and volumes if [ $clean = true ]; then # display warning and confirm user's intentions @@ -253,6 +255,8 @@ if [ $clean = true ]; then done printf "%s...done%s\n" "$cyan" "$norm" done +# automatically restore backups using a temporary container to create necessary +# volumes elif [ $restore = true ]; then # restore backup printf "%s\n*** Restoring Backup ***\n\n%s" "$magenta" "$norm"