def METHOD_NAME(nebari_config, tmp_path):
    config_file = tmp_path / "nebari-config.yaml"
    extrasuffix = "-abc"
    write_configuration(config_file, nebari_config)
    backup_configuration(config_file, extrasuffix)
    assert not config_file.exists()
    assert (tmp_path / f"nebari-config.yaml{extrasuffix}.backup").exists()