Fedora Repository 3 Documentation
Page not found

Exports one or more objects from the repository.

Usage:

fedora-export [host:port] 
              [user]
              [password]
              [pid | ftyps]
              [format]
              [econtext]
              [path]
              [protocol]
              [context]

Where:

  • host:port - the repository's hostname and the port separated by colon
  • user - the Fedora user (e.g. fedoraAdmin)
  • password - the Fedora user's password
  • pid | ftyps - Either the identifier (PID) of the object to export from the repository OR the types of objects to export (FTYPS). FTYPS can be any combination of the characters O, D, and M, specifying which Fedora object type(s) should be exported. O=regular data objects, D=behavior definitions, M=behavior mechanisms.
  • format - The XML format to export. Valid options are: info:fedora/fedora-system:FOXML-1.1 (for FOXML 1.1), info:fedora/fedora-system:FOXML-1.0 (for FOXML 1.0), info:fedora/fedora-system:METSFedoraExt-1.1 (for METS), info:fedora/fedora-system:ATOM-1.0 (for ATOM), or default.
  • econtext - The export context (which indicates what use case the output should be prepared for. Valid options are: public, migrate, archive, or default.
  • path - the export directory
  • protocol - how to connect to repository, either http or https
  • context - an optional parameter indicating the webapp context. This is only necessary if the Fedora server was installed under a context name other than 'fedora' (see Alternative Webapp Context Configuration).

Examples:

Export demo:1 for migration in FOXML 1.1 format (from example.com:80 to the current directory).

fedora-export example.com:80 fedoraAdmin fedoraAdmin demo:1 info:fedora/fedora-system:FOXML-1.1 migrate . http

Export all objects in the default export format and context (from example.com:80 to directory /tmp/fedoradump).

fedora-export example.com:80 fedoraAdmin fedoraAdmin DMO default default /tmp/fedoradump http
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels