migrate

command module
v0.0.0-...-e7d9349 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2026 License: MIT Imports: 15 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Migrate tool

This directory contains codebase for migrate tool of porting set of meta-data records from MetaData service to FOXDEN one. During the transition a proper did is constructured based on default attributes: beamline, btr, cycle, sample

#!/bin/bash

# example of migrating data from readUri to writeUri
# please adjust your uri, db name and collection accordingly to your use-case

readUri="mongodb://localhost:27017"
readDB=dbName
readCol=dbColl
writeUri=mongodb://localhost:27888
writeDB=dbName
writeCol=dbColl

./migrate -readUri "$readUri" -readDBName $readDB -readCollection $readCol \
        -writeUri "$writeUri" -writeDBName $writeDB -writeCollection $writeCol -verbose

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL