Skip to main content

securae_validate

securae validate​

Validate backup files

Synopsis​

Validate backup files verifying the encryption key and the integrity checksum.

If there is no filename argument, this command validates the latest file from the backup.

securae validate [filename] [flags]

Examples​

# using --backup-id
securae validate database-dump.tar.gz --backup-id=abcd1234-ab12-ab12-ab12-abcdef123456

# without specifying a filename it validates the latest uploaded file
securae validate --backup-id=abcd1234-ab12-ab12-ab12-abcdef123456

# validate a file using an environment variable
export SECURAE_BACKUP_ID=abcd1234-ab12-ab12-ab12-abcdef123456
securae validate database-dump.tar.gz

Options​

  -b, --backup-id UUID   A backup ID (UUID format) where your files were stored. It can also be specified using the environment variable SECURAE_BACKUP_ID.
-h, --help help for validate

Options inherited from parent commands​

      --config string   config file (default is $HOME/.config/securae.yaml)

SEE ALSO​