Skip to content

redragonx/vfy-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Backup verifier program in Go.

Abstract:

For my own benefit, I ported @defuse's backup verifier script to Go. The lang from Google

See my blog post for my thoughts on making this.

Description of the program:

Backup verify script.

Usage:
  vfy [options] <origDir> <backupDir>
  vfy (-h | --help)

This program compares two directories recursively, and alerts the user of any
differences. It compares files by size and **optionally** by a random sample of
contents. The results are summarized into a difference percentage so it can be
used to easily determine if a backup is valid and recent.

Options:
  -v, --verbose                    Print what is being done
  -m, --machine                    Output summary in machine-readable format
  -x, --one-filesystem             Stay on one file system (in <original>)
  -s, --samples COUNT              Comparison sample count [default: 0]
  -h, --help                       Display this screen

How to install on your system

  1. Setup Go, you can read how here
  2. run go get github.com/redragonx/vfy-go
  3. cd into the src dir and run go install
  4. If done properly, you can run the program anywhere.

About

The Golang implementation of Defuse Security's Ruby backup checker.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages