...
Further description can be found in ModeShape's documentation.
Usage
Backup
Perform a backup of a running Fedora4 respository
Request
Panel |
---|
POST /rest/fcr:backup > optional POST body |
Optionally, a POST body containing the full path of a writable directory local to the Fedora4 server may be provided. If no POST body is included, the backup will be written to the system temp directory.
Response
On success
- HTTP/1.1 200 OK
...
- Absolute path of local backup directory
Restore
Request
Panel |
---|
POST /rest/fcr:restore > with POST body |
A POST body containing the full path to a previous backup.
Response
On success
- HTTP/1.1 204 No Content
Configurations
The following configurations have been successfully tested with the Backup and Restore functionality
- Non-clustered Fedora, using Infinispan cache backed by the file system (config)
- Non-clustered Fedora, using Infinispan cache backed by LevelDB (config)
- Non-clustered Fedora, using ModeShape file system store (config)
Backup Format
Regardless of the repository configuration, the output of the backup process creates resources of the same format.
The backup directory will contain
...