Skip to content

scheduled backups for MySQL databases to Google Drive using Later.js

Notifications You must be signed in to change notification settings

tim545/node-mysql-scheduled-backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mysql-scheduled-backups

scheduled backups for MySQL databases using Later.js

Running the container

docker run \
-e user="" \
-e pass="" \
-e host="" \
-e port="" \
-e dbname="" \
-e interval="" \
-e saveDir="/tmp" \
<container-name>

Run a backup for myDB every minute:

docker run -d --name mysql-backup-amf -e dbname="myDB" -e interval="min" mysql-backup

Environment variables

user

MySQL user name

pass

MySQL password

host

MySQL host

port

MySQL port number

dbname

MySQL database name

interval

How often you want to run the backup. Must be a string of one of these options:

"minute", "hour", "day", "week", "month", "year"

saveDir

Directory to store the backup files, relative to file system root.

About

scheduled backups for MySQL databases to Google Drive using Later.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published