pelican-server origin pstore export
Write objects out as ordinary files
Synopsis
Export a subtree from the store into a directory of plain files.
This is the recovery path that does not need Pelican running: the objects come out as normal files in a normal directory tree, readable with anything.
Objects that cannot be read are reported and skipped rather than aborting the export, because recovering most of a damaged store and knowing exactly what was lost is more useful than stopping at the first bad block.
An export never overwrites what is already in the destination. Pass —resume to continue an interrupted export: files already written are skipped and counted separately rather than reported as failures.
pelican-server origin pstore export [path] [flags]Options
--dry-run Report what would be written without writing it
-h, --help help for export
--resume Skip objects already present in the destination instead of reporting them
--to string Directory to write the exported files into (required)
--verify Check each object against its stored checksums as it is writtenOptions inherited from parent commands
--config string config file (default is $HOME/.config/pelican/pelican.yaml)
-d, --debug Enable debug log messages
-f, --federation string Pelican federation to utilize
--json output results in JSON format
--location string Store directory (defaults to Origin.PStoreLocation)
-L, --log string Specified log output file
--version Print the version and exitSEE ALSO
- pelican-server origin pstore - Inspect and repair a Pelican store