Skip to content

Instantly share code, notes, and snippets.

@rafkhan
Last active August 29, 2015 14:11
Show Gist options
  • Save rafkhan/b822f62a60fde6c7aedf to your computer and use it in GitHub Desktop.
Save rafkhan/b822f62a60fde6c7aedf to your computer and use it in GitHub Desktop.
New Admin API
{
backups: {
storage: ['s3', 'fs'],
mongo: {
target: {
uri: 'mongo:// ...',
collections: ['collection1', 'collection2']
},
dest: {
uri: 'mongo:// ...',
collection: 'backupLocations'
},
},
aws: { ... }
}
}
{
backup: {
s3: '/backups/s3'
list: '/backups/list',
restore: '/backups/restore/:id'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment