efa restore

Restores the EFA database and services from a backup.

Syntax

efa restore [ --backup-tar tar-dir] [ --force ]

Parameters

--backup-tar tar-dir
Specifies the file path and name for the backup tar file.
--force
Forces a restore from a backup of a different version of EFA.

Usage Guidelines

You can restore a backed-up database for various reasons, such as if the database becomes corrupted or you want to revert to a previous configuration. The backup process creates a backup tar file, which you specify for the restore process.

If you do not specify the --backup-tar parameter, the restore process prompts you for the directory path for EFA and the backup tar file.

Run this command as a root user with administrative privileges.

Examples

This syntax restores the database and prompts for the directory paths.

# efa restore --backup-tar EFA-2020.06.10-08.17.27.tar
Backup file name:l  EFA-2020.06.10-08.17.27.tar

Restore result :: Restore operation successful

--- Time Elapsed: 3m14.587062925s ---