Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt
The Fedora 4 Backup capability allows a user, such as the repository manager, make a REST call to have the repository binaries and metadata exported to the local file system. Inversely, the Restore capability allows a user to make a REST call to have the repository restored from the contents of a previous Backup operation. Further description can be found in ModeShape's documentation.
Warning

Note: Restoring a backup replaces the repository content with the contents of the backup, so any data in the repository will be lost.

Usage

Backup

Perform a backup of a running Fedora4 Fedora 4 repository

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 Fedora 4 server may be provided. If no POST body is included, the backup will be written to the system temp directory.

...

  • Absolute path of local backup directory

Restore

Warning

Note: Restoring a backup replaces the repository content with the contents of the backup, so any data in the repository will be lost.

Perform a restore of a running Fedora4 Fedora 4 repository

Request
Panel

POST /rest/fcr:restore

> with POST body

...