Database import start

Start an import into the database

Usage

coolify service database import start <service_uuid> <database_uuid>

Options

OptionTypeRequiredDefaultDescription
--dump-allbooleanNofalseThe backup contains all databases
--filestringNo—Local backup file to upload and import
--keep-ownersbooleanNofalsePostgreSQL: restore object owners and privileges from a single-database archive
--poll-intervaldurationNo3sStatus polling interval when --wait is set
--replace-existingbooleanNofalsePostgreSQL: drop matching objects before restoring a single-database archive
--restore-mysql-usersbooleanNofalseMySQL/MariaDB all-databases backups: also restore users, passwords and privileges
--s3-pathstringNo—Path of the backup in the S3 storage
--s3-storage-uuidstringNo—S3 storage UUID to import from (requires --s3-path)
--server-pathstringNo—Absolute path of the backup on the database's server
--sqlite-databasestringNo—SQLite: database file to restore into (e.g. app.db)
--upload-idstringNo—ID of a previously uploaded backup file
--waitbooleanNofalseWait until the import finishes; exits non-zero if it fails

Get current help

coolify service database import start --help

The installed CLI help reflects the exact options available in your CLI version.

On this page