...
Excerpt | ||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Request URI: / Methods: GET, POST
Status |
|
Info |
---|
The backup will be stored in a temporary directory on the server. As yet, there is not a REST API method for retrieving the content of the backup. |
Example:
Code Block |
---|
curl -X POST "http://localhost:8080/rest/fcr:backup" |
Response:
Code Block |
---|
Status: 200 OK Body: /tmp/fcrepo4-data/path/to/backup/directory |
Status:
Status | ||||||
---|---|---|---|---|---|---|
|
Statuscolour Blue title POST
fcr:restore Replace repository content with data from a backup directory
colour | Blue |
---|---|
title | POST |
Example:
Code Block |
---|
curl -X POST --data-binary "@backup.txt/tmp/fcrepo4-data/path/to/backup/directory" "http://localhost:8080/rest/fcr:restore" Body: /tmp/fcrepo4-data/path/to/backup/directory |
Response:
Code Block |
---|
Status: 204 No Content |
Status:
Status | ||||||||
---|---|---|---|---|---|---|---|---|
|
Status | ||||||
---|---|---|---|---|---|---|
|