From 80d6d55deddca44c6efb0a9181a4b296cc8286d4 Mon Sep 17 00:00:00 2001 From: Jorin Vogel Date: Fri, 6 Jan 2017 11:39:12 +0100 Subject: [PATCH] mention -secret in readme. close #26. --- readme.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/readme.md b/readme.md index d12c2ec..96415b6 100644 --- a/readme.md +++ b/readme.md @@ -30,6 +30,15 @@ For more visit https://qvl.io/ghbackup. +The simplest way to keep your repositories save: + +1. [Install](#install) `ghbackup` +1. Get a token from https://github.com/settings/tokens +2. `ghbackup -secret token /path/to/backup/dir` + +This will backup all repositories you have access to. + + ## Install - With [Go](https://golang.org/): @@ -45,7 +54,7 @@ brew install qvl/tap/ghbackup - Download binary: https://github.com/qvl/ghbackup/releases -## Setup +## Automation Mostly, we like to setup backups to run automatically in an interval. There are different tools to do this: