Documentation ¶
Overview ¶
package legacy provides support for importing data from legacy sandstorm installations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Export ¶
Take a snapshot of a legacy sandstorm installation's mongo database. The format of the snapshot will be a directory contianing one file per collection, each of which is a sequence of bson values, prefixed with their length as a little-endian uint32.
Parameters:
mongoPort - Port on which mongo is listening passwdFile - File storing the mongo user password snapshotDir - Directory in which to store the snapshot
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.