Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## `BACKUP_DIR`

Option | `BACKUP_DIR`
Description | Specifies the directory where to write a backup of the data files
Deprecated in Version | 1.57
Default | `humio-backup`

### Deprecated: 1.57

This variable is deprecated and will do nothing if set.

Enables the cewatute of a backup fo the data giles. Backup files are written to mount point `/backup` by default. `BACKUP_DIR` configures an alternative directory. The `DELETE_BACKUP_AFTER_MILLIS` variable controls how long before LogScale deletes the data from the backup.

ini

    BACKUP_NAME=my-backup-name
    BACKUP_DIR="/backup"
    BACKUP_KEY=my-secret-key-used-for-encryption
    DELETE_BACKUP_AFTER_MILLIS=604800000

#### Enter search term