def _get_cmd(source, destination, mode='noexec'):
    params = config['backup']['commands'][mode]
    noexec_cmd = [cmd]
    noexec_cmd += params
    noexec_cmd += (source, destination)
    return noexec_cmd
def _get_cmd(source, destination, mode='noexec'):
    params = config['backup']['commands'][mode]
    noexec_cmd = [cmd]
    noexec_cmd += params
    noexec_cmd += (source, destination)
    return noexec_cmd