Backup Dremio

Dremio metadata and user uploaded files can be backed up. The backup does not include the contents of the distributed cache such as acceleration cache, downloaded files and query results.


  • The Dremio daemon is running.
  • The backup command is run on the coordinator node.
  • The backup path is writable by the user running Dremio daemon.

[warning] Restoring Dremio

A backup can only be restored using the same version of Dremio that the backup was created on.


<dremio_home>/bin/dremio-admin backup
    -d <BACKUP_PATH>


To obtain a list of backup options on the command line:

./dremio-admin backup -h

Backup options:

    -a, --accept-all
      accept all ssl certificates
      Default: false
  * -d, --backupdir
      backup directory path. for example, /mnt/dremio/backups or 
    -h, --help
      show usage
    -p, --password
    -u, --user
      username (admin)
    -l, --local-attach
        Attach locally to Dremio JVM to authenticate user. Available as of Dremio 3.3
        Not compatible with user/password options.

[info] Note

If the --password flag is specified without a value, the utility prompts for one interactively.

Example: Basic Backup

This following example backs up Dremio to the /tmp/backup directory:

/dremio-admin backup -u dremio -p dremio123 -d /tmp/backup

A confirmation message is displayed when the backup is complete.

Example: Backup with local-attach mode

The following example backs up Dremio to the /tmp/backup directory in local attach mode.

[info] The --local-attach option is available as of Dremio 3.3


./dremio-admin backup -d /tmp/backup -l

output message
The output message in server.out.

Backup created at /tmp/dremio_backup_2017-02-23_18.25, dremio tables 1400, uploaded files 150

Backing Up Dremio Step-by-Step

  1. Ensure that the Dremio daemon is running, on the master node:
  2. On the master node, run the following command:
      <dremio_home>/bin/dremio-admin backup \
       -u <DREMIO_ADMIN_USER> \
       -p <DREMIO_ADMIN_PASS> \
       -d <BACKUP_PATH>
  3. Backup is complete! Look for the confirmation message:
    Backup created at /tmp/dremio_backup_2017-02-23_18.25, dremio tables 1400, uploaded files 150

results matching ""

    No results matching ""