Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Fedora Export Import

Yinlin Chen edited this page Apr 18, 2018 · 5 revisions
  • Export data from Fedora 4 site A and import data to Fedora 4 site B

Step1: Create backup from Fedora 4 site A

> ssh site-A-ip
> curl -X POST "http://site-A-ip:8080/rest/fcr:backup" -d yourfolder
# Return response: backup folder location. e.g. /path/to/backupfile

Step2: Transfer the file to Fedora 4 site B

Step3: Import backup file to Fedora 4 site B

> ssh site-B-ip
> curl -X POST --data-binary "/path/to/backupfile" "http://site-B-ip:8080/rest/fcr:restore"

Note: If there is an error occured during export, try increase (double) the server memory.

Clone this wiki locally