Skip to content

Problem with config restore - solution attacched #1

@hashtagsandro

Description

@hashtagsandro

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions