Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/redragonx/vfy-go
The Golang implementation of Defuse Security's Ruby backup checker.
https://github.com/redragonx/vfy-go
Last synced: 13 days ago
JSON representation
The Golang implementation of Defuse Security's Ruby backup checker.
- Host: GitHub
- URL: https://github.com/redragonx/vfy-go
- Owner: redragonx
- Created: 2014-07-16T04:59:13.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-30T17:29:28.000Z (over 9 years ago)
- Last Synced: 2024-05-02T01:54:28.409Z (7 months ago)
- Language: Go
- Size: 353 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Backup verifier program in Go.
=================Abstract:
---------For my own benefit, I ported @defuse's [backup verifier
script](https://github.com/defuse/backup-verify) to Go. The lang from GoogleSee my [blog post](https://dicesoft.net/blog/go-backup-program.html) for my thoughts on making this.
Description of the program:
----------------------------
```
Backup verify script.Usage:
vfy [options]
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 )
-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](https://golang.org/doc/install)
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.