NVIDIA / NVIDIA/NemoClaw

Introduce `nemoclaw backup||restore config`

Open
#2,452 2 comments 0 reactions 0 assignees View on GitHub
area: cli
Dominant language
TypeScript
Stars
22.5k
Forks
3.1k
Avg merge
1d 1h
Merged PRs (30d)
715

Description

### Problem Statement

Current `nemoclaw snapshot` functionality only takes care of a few key folders. The config is left untouched.
At the same time, we've seen some work being done to allow us to modify part of the config.

Why not let us replace the full config? That way we keep the sandbox neutral and tune it via full config files.

- It's already possible today via custom scripts using OpenShell, but it would be cleaner to be able to use a `nemoclaw` command.
- The same principle is already available for network policies. Bake in a blank one and upload the one needed afterwards.

### Proposed Design

Commands
- `nemoclaw backup config`
- `nemoclaw restore config`

When restoring, the following has to be performed:
- Backup existing config
- Validate schema of new config against the version used in the sandbox
- Migrate config elements if such changes are tracked ( doctor --fix?)

### Alternatives Considered

It's possible today to write scripts to automate these tasks.

### Category

enhancement: feature

### Checklist

- [x] I searched existing issues and this is not a duplicate
- [x] This is a design proposal, not a "please build this" request

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.