dandi / backups2datalad

Mirror Dandisets as git-annex repositories
MIT License
1 stars 0 forks source link

Running the Mirroring Command

Creating & updating dataset mirrors of Dandisets and their Zarrs for the dandisets and dandizarrs organizations is done with the backups2datalad command in this repository.

Setup

Before running backups2datalad, the following setup must be performed:

Usage

Run backups2datalad with:

backups2datalad --config path/to/config/file <subcommand> ...

The environment variable DANDI_API_KEY must be set to an API token for the DANDI instance being mirrored.

Run backups2datalad --help for details on the global options and summaries of the subcommands.

backups2datalad subcommands:

Run backups2datalad <subcommand> --help for further details on each subcommand.

The primary mirroring subcommands are update-from-backup, populate, and populate-zarrs; the other subcommands are for minor/maintenance tasks and usually do not need to be run.