backup

command module
v0.0.0-...-79ed123 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2017 License: Apache-2.0 Imports: 13 Imported by: 0

README

Backup

Backup is a backup tool. Use at your own risks!

Installation

Drop the binary for your platform in the bin directory of the archive somewhere in your PATH and rename it backup.

Usage

Drop the configuration file at the root of your backup medium (such as an USB key). It should be named .backup and look like this:

frodo:
  includes:
  - 'doc/perso/**/*'
  excludes:
  - '**/build/**/*'
  - '**/target/**/*'
  - '**/.git/**/*'
  - '**/env/**/*'
  - '**/venv/**/*'

This is a map that lists files to include and exclude for given machine. Paths are relative to the home directory of the user.

To perform a backup, insert and mount your USB key and type:

$ backup

This will list all files while copying them to the backup device.

In Memory of my Dad

Enjoy!

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL