Update path to etc/
This commit is contained in:
10
README.md
10
README.md
@ -26,7 +26,7 @@ make build
|
||||
|
||||
1. **Create configuration files**:
|
||||
|
||||
**Device types** (`yaml/00-device-types.yaml`):
|
||||
**Device types** (`etc/00-device-types.yaml`):
|
||||
```yaml
|
||||
types:
|
||||
srlinux:
|
||||
@ -40,7 +40,7 @@ make build
|
||||
- show running-config
|
||||
```
|
||||
|
||||
**Device config** (`yaml/config.yaml`):
|
||||
**Device config** (`etc/config.yaml`):
|
||||
```yaml
|
||||
devices:
|
||||
asw100:
|
||||
@ -55,13 +55,13 @@ make build
|
||||
|
||||
```bash
|
||||
# Backup all devices (multiple YAML files are automatically merged)
|
||||
ipng-router-backup --yaml yaml/00-device-types.yaml --yaml yaml/config.yaml --output-dir /backup
|
||||
ipng-router-backup --yaml etc/00-device-types.yaml --yaml etc/config.yaml --output-dir /backup
|
||||
|
||||
# Or use wildcards
|
||||
ipng-router-backup --yaml yaml/*.yaml --output-dir /backup
|
||||
ipng-router-backup --yaml etc/*.yaml --output-dir /backup
|
||||
|
||||
# Backup specific devices
|
||||
ipng-router-backup --yaml yaml/*.yaml --host asw100 --output-dir /backup
|
||||
ipng-router-backup --yaml etc/*.yaml --host asw100 --output-dir /backup
|
||||
```
|
||||
|
||||
3. **Check output**:
|
||||
|
Reference in New Issue
Block a user