Giter VIP home page Giter VIP logo

docker-autobackuper's Introduction

Auto Backuper

Auto Backuper is a BASH script which can be used to backup PostgreSQL databases and given files/folders.

It's written in BASH scripting language and only needs cURL.

Features

  • Simple configuration, all configurations in one place: backup.info
  • Sets up daily and weekly CRON jobs
  • Uploads backup files directly to Dropbox
  • Cleans up after itself, deletes older files

Getting started

First, clone the repository using git (recommended):

git clone https://github.com/msadig/docker-autobackuper

or download the script manually using this command:

curl "https://raw.githubusercontent.com/msadig/docker-autobackuper/master/backuper.sh" -o backuper.sh

To configure:

 $ bash ./backuper.sh setup
 $ nano ./backup.conf

The first time you run ./backuper.sh setup, you'll be guided through a wizard in order to configure access to your Dropbox. For more info visit - https://github.com/andreafabrizi/Dropbox-Uploader

Usage

The syntax is quite simple:

bash ./backuper.sh COMMAND

Available commands:

  • setup
    Sets up script

  • daily
    To backup only today's files and directories and upload to Dropbox.

  • weekly
    To backup all files and directories and upload to Dropbox.

  • cronit
    To set up CRON jobs

Examples:

    bash ./backuper.sh setup
    bash ./backuper.sh daily
    bash ./backuper.sh weekly

Tested Environments

  • GNU Linux
  • MacOSX

Credits

docker-autobackuper's People

Contributors

msadig avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.