git: tools - Implement a simple hammer-backup script.
Antonio Huete Jimenez
tuxillo at crater.dragonflybsd.org
Fri Mar 7 15:45:02 PST 2014
commit 7962c9dced140bacb9adff874d06e99a3eb92d55
Author: Antonio Huete Jimenez <tuxillo at quantumachine.net>
Date: Sat Mar 8 00:37:48 2014 +0100
tools - Implement a simple hammer-backup script.
This script operates HAMMER PFSes and dumps its contents for backup
purposes.
It uses mirror-read directive (see 'man 8 hammer') to perform a
dump to stdout that is redirected to a file with or without
compression.
Read /usr/src/tools/tools/hammer-backup/README for more detailed
information.
Also please note the script is not installed with a default DragonFly
BSD installation, so you have to take care of that manually.
Any suggestion or bug report is appreciated!
Summary of changes:
tools/tools/hammer-backup/Makefile | 5 +
tools/tools/hammer-backup/README | 130 +++++++++
tools/tools/hammer-backup/hammer-backup.sh | 439 +++++++++++++++++++++++++++++
3 files changed, 574 insertions(+)
create mode 100644 tools/tools/hammer-backup/Makefile
create mode 100644 tools/tools/hammer-backup/README
create mode 100755 tools/tools/hammer-backup/hammer-backup.sh
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7962c9dced140bacb9adff874d06e99a3eb92d55
--
DragonFly BSD source repository
More information about the Commits
mailing list