database
Manage the databases available on your VoLCA server. Databases can be uploaded once and persist across server restarts.
volca --config volca.toml database [SUBCOMMAND]Command reference
Section titled “Command reference”{databaseHelp}Upload
Section titled “Upload”{databaseUploadHelp}Delete
Section titled “Delete”{databaseDeleteHelp}Examples
Section titled “Examples”# List all databases (loaded and unloaded)volca --config volca.toml databasevolca --config volca.toml database list
# Upload a database archivevolca --config volca.toml database upload /data/ecoinvent-3.10.7z --name "ecoinvent 3.10"
# Delete a databasevolca --config volca.toml database delete "ecoinvent 3.10"Supported archive formats
Section titled “Supported archive formats”When uploading: ZIP, 7z, tar.gz, tar.xz. The archive should contain the database files in the expected format (see Configuration guide for format details).
Load vs. available
Section titled “Load vs. available”After upload, a database is available but not loaded. To load it at runtime:
curl -X POST http://localhost:8080/api/v1/db/ecoinvent/loadOr set load = true in your config file to auto-load at startup.