API Gateway 10.11 | Administering API Gateway | Operating API Gateway | Data Management | Data Backup | Data Store Backup | Configuring a Backup Repository | Configuring a Local File System Repository
 
Configuring a Local File System Repository
The local file system functions as the default repository. If you do not create a repository, the backup files are stored in the SAGInstallDir/InternalDataStore/archives/ folder, by default.
Note:
For a clustered API Gateway setup, ensure that the backup repository must be accessible for all cluster nodes.
1. From the command prompt, go to SAGInstallDir/IntegrationServer/instances/instance_name/packages/WmAPIGateway/cli/bin.
2. Run the following command to configure local file system repository:
Linux
./apigatewayUtil.sh configure fs_path -path backup_location
Windows
apigatewayUtil.bat configure fs_path -path backup_location
For example,
apigatewayUtil.bat configure fs_path -path D:/localapigatewayBackup
This command creates a backup folder called localapigatewayBackup in the D drive.
3. Restart API Data Store.
You can now use the configured local repository to store backup files. For information about backing up, Creating API Data Store Backup.
4. Optional. Run the following command to list the available list of repositories and verify whether the repository you created appears in the list:
Linux
./apigatewayUtil.sh list manageRepo
Windows
apigatewayUtil.bat list manageRepo
You can specify the log file location and log level for the repository creation using the logFileLocation and logLevel parameters. For information on these parameters, see Specifying Log File Details