Skip to content

A simple backup program in golang. Uses cp -l (copy with hardlinks) and rsync to create incremental backups to an remote server via ssh

License

Notifications You must be signed in to change notification settings

johandalabacka/simple-backup

Repository files navigation

simple-backup

A simple backup program in golang. Uses cp -l (copy with hardlinks) and rsync to create incremental backups to an remote server via ssh

How to install

First you must install build enviroment

Mac OS

$ brew install go
$ brew install dep

Linux

$ yum install golang

... or ...

$ apt-get install golang

$ wget https://github.com/golang/dep/releases/download/v0.3.2/dep-linux-amd64
$ sudo mv dep-linux-amd64 /usr/local/bin/dep

Build

$ git clone https://github.com/johandalabacka/simple-backup
$ cd simple-backup
$ dep ensure

$ go build -o simple-backup *.go

Install

sudo cp simple-backup /usr/local/bin
sudo cp simple-backup-example.toml /etc/simple-backup.toml

Edit /etc/simple-backup.toml to match your setup

About

A simple backup program in golang. Uses cp -l (copy with hardlinks) and rsync to create incremental backups to an remote server via ssh

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages