🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@bifot/mongodb-backup-bot

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bifot/mongodb-backup-bot

Telegram bot for backup your MongoDB data.

1.0.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

@bifot/mongodb-backup-bot

Bot which sends your MongoDB backups in a telegram channel.

Install

$ npm i @bifot/mongodb-backup-bot -S

Usage

const BackupManager = require('@bifot/mongodb-backup-bot');

new BackupManager({
  token: process.env.TOKEN,
  channelId: process.env.CHANNEL_ID,
  interval: 10,
  databases: [{
    name: process.env.MONGODB_NAME,
    port: process.env.MONGODB_PORT,
    username: process.env.MONGODB_USER,
    password: process.env.MONGODB_PASSWORD,
  }],
}).start();

Keywords

bot

FAQs

Package last updated on 29 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts