Skip to content

A backup micro service application made with moleculer framework.

Notifications You must be signed in to change notification settings

PauloAK/backup-microservice

Repository files navigation

Moleculer

backup-microservice

This is a Moleculer-based microservices project. Created to do simple backups of folders and postgres databases.

Usage

Clone the repository
git clone

cd backup-microservice

Install dependencies
npm install

Copy the example config file
cp backup-config-example.json backup-config.json

Edit backup-config.json and define your apps directories and databases to backup.

Currently, the service does the backup every day at 2:00 AM

Run the service
npm run dev

In production, you can use pm2 with the command
pm2 start npm --name "backup" -- run "start"
(pm2 list to see the running services and pm2 logs to see applications logs)

About

A backup micro service application made with moleculer framework.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published