If you want to... | Command |
Backup data | apigatewayUtil.sh create backup -name <backupFilename> |
Backup custom data | apigatewayUtil.sh create backup -name <backupFile_name> -include <reference name> Possible values for the parameter reference name: analytics - to back up analytical data. assets - to back up asset data. |
Delete the backed up data | apigatewayUtil.sh delete backup -name <backupFile_name> |
Restore the backed up data | apigatewayUtil.sh restore backup -name <backupFile_name> |
To retrieve all available backup files in the repository | apigatewayUtil.sh list backup |
Delete a repository from API Gateway | apigatewayUtil.sh delete manageRepo |
To retrieve all available repositories | apigatewayUtil.sh list manageRepo |
To configure a repository in S3 | apigatewayUtil.sh configure manageRepo -file <file_path> |
Backup configurations and data | apigw-backup-tenant.sh -backupDestinationDirectory <directory_path_to_store_backup_file> -backupFileName <backup_file_name_without_spaces> -backupTemplate <file_path_to_backup_template> -packagesTemplate <file_path_to_packages_template> -help |
Restore the backed up configurations and data | apigw-restore-tenant.sh -backupFileName <backup_file_name_without_spaces> -backupDestinationDirectory <directory_path_to_store_backup_file> -filesToSkip <file_path_to_files_to_skip> -skipDataRestore -help |