tools - Implement a simple hammer-backup script.
authorAntonio Huete Jimenez <tuxillo@quantumachine.net>
Fri, 7 Mar 2014 23:37:48 +0000 (00:37 +0100)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Fri, 7 Mar 2014 23:41:32 +0000 (00:41 +0100)
commit7962c9dced140bacb9adff874d06e99a3eb92d55
treec6a7be80a2b0346951eaa3c48c99509ead76bc28
parent72ebfa75f3003ec60b55c850545bb5cd151dbb51
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!
tools/tools/hammer-backup/Makefile [new file with mode: 0644]
tools/tools/hammer-backup/README [new file with mode: 0644]
tools/tools/hammer-backup/hammer-backup.sh [new file with mode: 0755]