dvs archive restore
Restore an application from archive.
Syntaxβ
dvs archive restore [id|latest] --storage <name> [options]
Optionsβ
Selectionβ
| Option | Description |
|---|---|
--storage <name> | Storage to restore from (required) |
id | Archive ID to restore |
latest | Restore most recent archive |
Restore Optionsβ
| Option | Description |
|---|---|
--apply | Auto-apply restored files |
--no-config | Don't restore config files |
--password <pass> | Decrypt with password |
New App (outside app context)β
| Option | Description |
|---|---|
--path <dir> | Host directory for new app |
--name <app_name> | Name for the new app |
Examplesβ
In App Contextβ
# Interactive selection
dvs archive restore --storage backup
# Restore latest
dvs archive restore latest --storage backup
# Restore specific archive
dvs archive restore myapp-20250108-143052 --storage backup
Create New App from Archiveβ
dvs archive restore myapp-20250108-143052 \
--storage backup \
--path ~/apps/restored-app \
--name restored-app
Restore Flowβ
- Download archive from storage
- Decrypt (if encrypted)
- Extract files to temporary location
- Preview changes
- Apply files (if
--applyor confirmed) - Import database (if included)