Good Morning,
Thank you for this backup script but I've noticed a strange beavior with file restore that file. I've find some bad char into file start and at the end.
I've test this command that remove the char from the backup file.
sshpass -p "${PASSWORD}" ssh -p"${SSH_PORT}" "${USER_NAME}@${ROUTER_HOST}" 'show running-config' | sed -e 's|[�[K,]||g' > "${OUTPUT_PATH}/temp"
Kr,