helios

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

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

Go to latest
Published: Jan 23, 2015 License: GPL-3.0 Imports: 7 Imported by: 0

README

helios

Backup and restore a couchdb npm registry to s3.

Setup

You'll need a JSON config file that looks something like this:

{
    "AWS": {
        "AccessKeyID": "XXXXXXXXXXXXXXXXXXXX",
        "SecretAccessKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
        "S3BucketName": "your-bucket-name"
    },
    "Couch": {
        "Username": "jrandom",
        "Password": "secret",
        "URL": "http://localhost:5984/"
    },
    "DaemonPause": "60s",
    "Log": {
        "FilePath": "/var/log/helios.log",
		"Level": "info"
	}
}

Where the AWS section corresponds to a keypair and S3 bucket, and the Couch section corresponds to an admin user. Most reasonable durations can be used for DaemonPause (e.g. 15s, 5m, 1h). The Log section is only needed if you're running the daemon command.

Running

helios --conf ~/helios.json --sunrise

helios --conf ~/helios.json --sunset

helios --conf ~/helios.json --daemon

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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