diff --git a/sync_from_old_server.sh b/sync_from_old_server.sh index e819ff9..e98c3fb 100755 --- a/sync_from_old_server.sh +++ b/sync_from_old_server.sh @@ -47,7 +47,13 @@ sync_web_dirs="" # - Sync Apache virtual host configurations # - -# - Note: +# - Note - following files are excluded: +# - +# - 000-default.conf +# - 000-dehydrated.conf +# - 000-logformat.conf +# - 000-deflate.conf +# - 000-additional-ssl-settings.conf # - sync_vhost_dirs="" @@ -853,6 +859,7 @@ if $_got_vhost_dirs ; then --exclude 000-dehydrated.conf \ --exclude 000-logformat.conf \ --exclude 000-deflate.conf \ + --exclude 000-additional-ssl-settings.conf \ $old_server_ip:$sync_dir $(dirname $sync_dir)/ >> $log_file 2> $tmp_err_msg if [[ $? -eq 0 ]];then echo_ok @@ -884,6 +891,7 @@ if $_got_vhost_dirs ; then [[ "$(basename $_file)" = "000-dehydrated.conf" ]] && continue [[ "$(basename $_file)" = "000-logformat.conf" ]] && continue [[ "$(basename $_file)" = "000-deflate.conf" ]] && continue + [[ "$(basename $_file)" = "000-additional-ssl-settings.conf" ]] && continue if [[ -f "$_file" ]]; then