Skip to content
redochkaPublic

About

Backup MySQL/MariaDB database and upload to S3 or SFTP like Hetzner storage box

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Backup MySQL/MariaDB database and upload to S3

  • Backup your databases automatically
  • Compress the dump
  • Upload to S3 (digitalocean)

You can provide configuration of Host to be backed up in yaml format. Put the configuration in the mount/b6m-config directory (see samples there).

See available configuration in the src/types/B6MConfig file.

Run :

A .env file is required for S3 uploads. See .env.sample

npm ci
npm run build
npm start

Node.js 24 or newer is required.

For development:

npm run typecheck
npm test
npm run test:watch

Docker image provided.

  • Build the image:
docker build -t backup6m .
  • Run
docker run -v /path/to/backup6m/mount:/app/mount backup6m

About

Backup MySQL/MariaDB database and upload to S3 or SFTP like Hetzner storage box

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages