1.0.5 • Published 2 years ago

mongodb-backuper v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
2 years ago

Introduction

NPM NPM

mongodb-backuper is a mongodb data backup tool based on nodejs. It is very simple, easy to use and free to define your backup rules

Quick Start

var mongodbBackuper = require('mongodb-backuper');
var config = {
	host : '127.0.0.1',
	port : '27017',
	name : 'db_name',
	path : '/tmp/backup/'
};
mongodbBackuper.init({

	// Backup data storage parent directory
	path: config.path,

	// Database Connectivity
	host: config.host + ':' + config.port,

	// Name database
	name: config.name,

	// Directory named according to date rules (optional)
	dateFormate: 'YYYY.MM.DD',

	// Keep the backup directory within a few days (optional)
	days: 3
});

Dependency

use mongodump Complete database backup from the command line

License

MIT

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago