macaw restore

cfxDimensions Platform Restore Operations:

macaw restore command allows to restore previous state of cfxDimensions Platform configuration and application data from the backup which was taken using 'macaw backup' command.
1
macaw restore --help
2
usage: restore [--insecure] [-h] [--debug] [--no-prompt] [--service SERVICES]
3
(--from-dir BACKUP_SRC_DIR | --from-tar BACKUP_SRC_TAR)
4
5
Restore the Macaw platform from a previously backed up state
6
7
optional arguments:
8
--insecure Ignore SSL certificate issues when communicating with
9
various hosts
10
-h, --help show this help message and exit
11
--debug Enable debug logs for the CLI operations
12
--no-prompt Don't prompt for inputs
13
--service SERVICES Restore only the specified components
14
--from-dir BACKUP_SRC_DIR
15
The directory which contains the backed up
16
installation state
17
--from-tar BACKUP_SRC_TAR
18
The tar.gz file which contains the backed up
19
installation state
Copied!
Restore cfxDimensions Platform's Configuration and Application data:
Run the below command to restore from the backup which was taken before.
1
macaw restore --no-promt --from-dir <backup-dir-path>
Copied!
macaw restore is a disruptive operation. Before it is executed, please stop all of the platform and application services. For MariaDB restore to work, make sure the MariaDB service is in stopped state. For Minio data to be restored, the Minio service should be up and running.
1
macaw services stop
2
macaw platform stop
3
macaw infra stop
4
5
macaw infra start --service minio
Copied!
After backup is restored successfully, restart the Infrastructure, Platform and Application services using the below commands
1
macaw infra start
2
macaw platform start
3
macaw services start
Copied!
Copy link