Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

fathzer/docker-db-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-db-backup

This project has moved to jdbbackup/jdbbackup-docker


A simple way to backup your mySQL database using Docker

Saving backups to Dropbox

--

You should get a Dropbox token using the following command:

docker run -ti --entrypoint="java" fathzer/db-backup -cp ./jdbbackup.jar com.fathzer.jdbbackup.dropbox.DropBoxManager

This commands will display the following message:

  1. Go to: https://www.dropbox.com/oauth2/authorize?response_type=code&client_id=xxx
  2. Click "Allow" (you might have to log in first)
  3. Enter the authorization code there:

Open the url provided in first line with your favorite browser, authorize jdbbackup to access your Dropbox account. Then type in the authorization code you've just got on Dropbox site and press return it will display:

Please wait ... Your token is: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Keep it in a secure place as it allows to access to your backup folder on Dropbox

Copy the token, you'll have to reuse it in jdbbackup configuration file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published