Skip to content

Latest commit

 

History

History
46 lines (27 loc) · 1.31 KB

README.md

File metadata and controls

46 lines (27 loc) · 1.31 KB

simple-backup

A simple way to backup a directory using the storage server with Amazon S3 compatible API like (Minio, Spaces)

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

You need Go >= 1.11.2

Installing

First you need clone repo

go get https://github.com/alejandrojnm/simple-backup
go build

other way is download binary for your system, in the release page

How to use

Copy binary for /usr/local/bin/ then create cron

00 2 * * * root simple-backup --endpoint=localhost:9000 --ak=accesskey --sk=secretkey --secureendpoint=(true|false) --bucket=system-backup --bucketlocation=us-east-1 --backudir=/srv/backup/mysql/ --daytodelete=7

You can run simple-backup -h to see help, simple-backup delete all backup from storage server older than 7 days

Versioning

We use SemVer for versioning.

Authors

License

This project is licensed under the Apache License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to anyone whose code was used
  • Inspiration
  • etc