-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
68 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.7.2 | ||
0.8.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
#! /bin/sh | ||
# Guess values for system-dependent variables and create Makefiles. | ||
# Generated by GNU Autoconf 2.68 for znapzend 0.7.2. | ||
# Generated by GNU Autoconf 2.68 for znapzend 0.8.0. | ||
# | ||
# Report bugs to <[email protected]>. | ||
# | ||
|
@@ -560,8 +560,8 @@ MAKEFLAGS= | |
# Identity of this package. | ||
PACKAGE_NAME='znapzend' | ||
PACKAGE_TARNAME='znapzend' | ||
PACKAGE_VERSION='0.7.2' | ||
PACKAGE_STRING='znapzend 0.7.2' | ||
PACKAGE_VERSION='0.8.0' | ||
PACKAGE_STRING='znapzend 0.8.0' | ||
PACKAGE_BUGREPORT='[email protected]' | ||
PACKAGE_URL='' | ||
|
||
|
@@ -1250,7 +1250,7 @@ if test "$ac_init_help" = "long"; then | |
# Omit some internal or obsolete options to make the list less imposing. | ||
# This message is too long to be a string in the A/UX 3.1 sh. | ||
cat <<_ACEOF | ||
\`configure' configures znapzend 0.7.2 to adapt to many kinds of systems. | ||
\`configure' configures znapzend 0.8.0 to adapt to many kinds of systems. | ||
Usage: $0 [OPTION]... [VAR=VALUE]... | ||
|
@@ -1316,7 +1316,7 @@ fi | |
|
||
if test -n "$ac_init_help"; then | ||
case $ac_init_help in | ||
short | recursive ) echo "Configuration of znapzend 0.7.2:";; | ||
short | recursive ) echo "Configuration of znapzend 0.8.0:";; | ||
esac | ||
cat <<\_ACEOF | ||
|
@@ -1409,7 +1409,7 @@ fi | |
test -n "$ac_init_help" && exit $ac_status | ||
if $ac_init_version; then | ||
cat <<\_ACEOF | ||
znapzend configure 0.7.2 | ||
znapzend configure 0.8.0 | ||
generated by GNU Autoconf 2.68 | ||
Copyright (C) 2010 Free Software Foundation, Inc. | ||
|
@@ -1665,7 +1665,7 @@ cat >config.log <<_ACEOF | |
This file contains any messages produced by compilers while | ||
running configure, to aid debugging if configure makes a mistake. | ||
It was created by znapzend $as_me 0.7.2, which was | ||
It was created by znapzend $as_me 0.8.0, which was | ||
generated by GNU Autoconf 2.68. Invocation command line was | ||
$ $0 $@ | ||
|
@@ -3738,7 +3738,7 @@ fi | |
# Define the identity of the package. | ||
PACKAGE='znapzend' | ||
VERSION='0.7.2' | ||
VERSION='0.8.0' | ||
cat >>confdefs.h <<_ACEOF | ||
|
@@ -4718,7 +4718,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | |
# report actual input values of CONFIG_FILES etc. instead of their | ||
# values after options handling. | ||
ac_log=" | ||
This file was extended by znapzend $as_me 0.7.2, which was | ||
This file was extended by znapzend $as_me 0.8.0, which was | ||
generated by GNU Autoconf 2.68. Invocation command line was | ||
CONFIG_FILES = $CONFIG_FILES | ||
|
@@ -4771,7 +4771,7 @@ _ACEOF | |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 | ||
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" | ||
ac_cs_version="\\ | ||
znapzend config.status 0.7.2 | ||
znapzend config.status 0.8.0 | ||
configured by $0, generated by GNU Autoconf 2.68, | ||
with options \\"\$ac_cs_config\\" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,8 @@ B<znapzend> [I<options>...] | |
-d,--debug print debug messages to STDERR | ||
-n,--noaction run in simulation mode. does no changes to the filesystem | ||
--nodestroy does all changes to the filesystem except destroy | ||
--syslog=x select the syslog facility | ||
--logto=x select where to log to (syslog::<facility> or <filepath>) | ||
--loglevel=x define the log level when logging to file | ||
--pidfile=x write a pid file when running in daemon mode | ||
--daemonize fork into the background | ||
--runonce=x run one round on source dataset x | ||
|
@@ -42,7 +43,7 @@ this program. If not, see L<http://www.gnu.org/licenses/>. | |
=head1 AUTHOR | ||
|
||
S<Tobias Oetiker E<lt>[email protected]<gt>> | ||
S<Dominik Hassler> | ||
S<Dominik Hassler E<lt>[email protected]<gt>> | ||
|
||
=head1 HISTORY | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,17 @@ B<znapzendzetup> I<command> [I<options...>] | |
where 'command' is one of the following: | ||
|
||
create [--recursive] [--mbuffer=<path>] [--mbuffersize=<size>] \ | ||
[--pre-snap-command=<command>] \ | ||
[--post-snap-command=<command>] \ | ||
[--tsformat=<format>] --donotask \ | ||
SRC plan dataset \ | ||
[ DST[:key] plan [[user@]host:]dataset ] | ||
|
||
delete [--dst=key] <src_dataset> | ||
|
||
edit [--recursive=on|off] [--mbuffer=<path>|off] [--mbuffersize=<size>] \ | ||
edit [--recursive=on|off] [--mbuffer=<path>|off] [--mbuffersize=<size>] \ | ||
[--pre-snap-command=<command>|off] \ | ||
[--post-snap-command=<command>|off] \ | ||
[--tsformat=<format>] --donotask \ | ||
SRC [plan] dataset \ | ||
[ DST:key [plan] [dataset] ] | ||
|
@@ -93,10 +97,16 @@ If not set, mbuffersize defaults to 1 GB. | |
|
||
Use option 'donotask' for create/edit to run changes immediately. | ||
|
||
Use option 'pre-snap-command' and 'post-snap-command' to run | ||
commands/scripts before and after snapshots are taken on source | ||
(e.g. for database locking/flushing (pre) and unlocking (post)). | ||
|
||
=head1 EXAMPLE | ||
|
||
znapzendzetup create -r --mbuffer=/opt/omni/bin/mbuffer \ | ||
--mbuffersize=1337M --tsformat='%Y-%m-%d-%H%M%S' \ | ||
--pre-snap-command="/bin/sh /usr/local/bin/lock_flush_db.sh" \ | ||
--post-snap-command="/bin/sh /usr/local/bin/unlock_db.sh" \ | ||
SRC '7d=>1h,30d=>4h,90d=>1d' tank/home \ | ||
DST:a '7d=>1h,30d=>4h,90d=>1d,1y=>1w,10y=>1month' backup/home \ | ||
DST:b '7d=>1h,30d=>4h,90d=>1d,1y=>1w,10y=>1month' root@bserv:backup/home | ||
|
@@ -123,10 +133,11 @@ this program. If not, see L<http://www.gnu.org/licenses/>. | |
=head1 AUTHOR | ||
|
||
S<Tobias Oetiker E<lt>[email protected]<gt>> | ||
S<Dominik Hassler> | ||
S<Dominik Hassler E<lt>[email protected]<gt>> | ||
|
||
=head1 HISTORY | ||
|
||
2014-07-22 had Pre and post snapshot commands | ||
2014-06-29 had Flexible snapshot time format | ||
2014-06-01 had Multi destination backup | ||
2014-05-30 had Initial Version | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,10 +4,11 @@ znapzendztatz - znapzend statistics utility | |
|
||
=head1 SYNOPSIS | ||
|
||
B<znapzendztatz> [src_dataset] | ||
B<znapzendztatz> [I<options>...] [src_dataset] | ||
|
||
--help | ||
--man | ||
-H do not print headers | ||
--man show man-page and exit | ||
-h,--help display this help and exi | ||
|
||
=head1 DESCRIPTION | ||
|
||
|
@@ -35,7 +36,7 @@ this program. If not, see L<http://www.gnu.org/licenses/>. | |
=head1 AUTHOR | ||
|
||
S<Tobias Oetiker E<lt>[email protected]<gt>> | ||
S<Dominik Hassler> | ||
S<Dominik Hassler E<lt>[email protected]<gt>> | ||
|
||
=head1 HISTORY | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,7 +124,7 @@ | |
.\" ======================================================================== | ||
.\" | ||
.IX Title "ZNAPZEND 1" | ||
.TH ZNAPZEND 1 "2014-07-12" "0.7.2" "znapzend" | ||
.TH ZNAPZEND 1 "2014-07-26" "0.8.0" "znapzend" | ||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes | ||
.\" way too many mistakes in technical documents. | ||
.if n .ad l | ||
|
@@ -135,13 +135,14 @@ znapzend \- znapzend daemon | |
.IX Header "SYNOPSIS" | ||
\&\fBznapzend\fR [\fIoptions\fR...] | ||
.PP | ||
.Vb 9 | ||
.Vb 10 | ||
\& \-\-man show man\-page and exit | ||
\& \-h,\-\-help display this help and exit | ||
\& \-d,\-\-debug print debug messages to STDERR | ||
\& \-n,\-\-noaction run in simulation mode. does no changes to the filesystem | ||
\& \-\-nodestroy does all changes to the filesystem except destroy | ||
\& \-\-syslog=x select the syslog facility | ||
\& \-\-logto=x select where to log to (syslog::<facility> or <filepath>) | ||
\& \-\-loglevel=x define the log level when logging to file | ||
\& \-\-pidfile=x write a pid file when running in daemon mode | ||
\& \-\-daemonize fork into the background | ||
\& \-\-runonce=x run one round on source dataset x | ||
|
@@ -169,7 +170,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. | |
.SH "AUTHOR" | ||
.IX Header "AUTHOR" | ||
Tobias\ Oetiker\ <[email protected]> | ||
Dominik\ Hassler | ||
Dominik\ Hassler\ <[email protected]> | ||
.SH "HISTORY" | ||
.IX Header "HISTORY" | ||
2014\-06\-01 had Multi destination backup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,7 +124,7 @@ | |
.\" ======================================================================== | ||
.\" | ||
.IX Title "ZNAPZENDZETUP 1" | ||
.TH ZNAPZENDZETUP 1 "2014-07-12" "0.7.2" "znapzend" | ||
.TH ZNAPZENDZETUP 1 "2014-07-26" "0.8.0" "znapzend" | ||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes | ||
.\" way too many mistakes in technical documents. | ||
.if n .ad l | ||
|
@@ -137,15 +137,19 @@ znapzendzetup \- znapzend setup utility | |
.PP | ||
where 'command' is one of the following: | ||
.PP | ||
.Vb 4 | ||
.Vb 6 | ||
\& create [\-\-recursive] [\-\-mbuffer=<path>] [\-\-mbuffersize=<size>] \e | ||
\& [\-\-pre\-snap\-command=<command>] \e | ||
\& [\-\-post\-snap\-command=<command>] \e | ||
\& [\-\-tsformat=<format>] \-\-donotask \e | ||
\& SRC plan dataset \e | ||
\& [ DST[:key] plan [[user@]host:]dataset ] | ||
\& | ||
\& delete [\-\-dst=key] <src_dataset> | ||
\& | ||
\& edit [\-\-recursive=on|off] [\-\-mbuffer=<path>|off] [\-\-mbuffersize=<size>] \e | ||
\& edit [\-\-recursive=on|off] [\-\-mbuffer=<path>|off] [\-\-mbuffersize=<size>] \e | ||
\& [\-\-pre\-snap\-command=<command>|off] \e | ||
\& [\-\-post\-snap\-command=<command>|off] \e | ||
\& [\-\-tsformat=<format>] \-\-donotask \e | ||
\& SRC [plan] dataset \e | ||
\& [ DST:key [plan] [dataset] ] | ||
|
@@ -236,11 +240,17 @@ To specify a mbuffer size of 100 \s-1MB:\s0 | |
If not set, mbuffersize defaults to 1 \s-1GB\s0. | ||
.PP | ||
Use option 'donotask' for create/edit to run changes immediately. | ||
.PP | ||
Use option 'pre\-snap\-command' and 'post\-snap\-command' to run | ||
commands/scripts before and after snapshots are taken on source | ||
(e.g. for database locking/flushing (pre) and unlocking (post)). | ||
.SH "EXAMPLE" | ||
.IX Header "EXAMPLE" | ||
.Vb 5 | ||
.Vb 7 | ||
\& znapzendzetup create \-r \-\-mbuffer=/opt/omni/bin/mbuffer \e | ||
\& \-\-mbuffersize=1337M \-\-tsformat=\*(Aq%Y\-%m\-%d\-%H%M%S\*(Aq \e | ||
\& \-\-pre\-snap\-command="/bin/sh /usr/local/bin/lock_flush_db.sh" \e | ||
\& \-\-post\-snap\-command="/bin/sh /usr/local/bin/unlock_db.sh" \e | ||
\& SRC \*(Aq7d=>1h,30d=>4h,90d=>1d\*(Aq tank/home \e | ||
\& DST:a \*(Aq7d=>1h,30d=>4h,90d=>1d,1y=>1w,10y=>1month\*(Aq backup/home \e | ||
\& DST:b \*(Aq7d=>1h,30d=>4h,90d=>1d,1y=>1w,10y=>1month\*(Aq root@bserv:backup/home | ||
|
@@ -265,9 +275,10 @@ this program. If not, see <http://www.gnu.org/licenses/>. | |
.SH "AUTHOR" | ||
.IX Header "AUTHOR" | ||
Tobias\ Oetiker\ <[email protected]> | ||
Dominik\ Hassler | ||
Dominik\ Hassler\ <[email protected]> | ||
.SH "HISTORY" | ||
.IX Header "HISTORY" | ||
2014\-07\-22 had Pre and post snapshot commands | ||
2014\-06\-29 had Flexible snapshot time format | ||
2014\-06\-01 had Multi destination backup | ||
2014\-05\-30 had Initial Version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -124,7 +124,7 @@ | |
.\" ======================================================================== | ||
.\" | ||
.IX Title "ZNAPZENDZTATZ 1" | ||
.TH ZNAPZENDZTATZ 1 "2014-07-12" "0.7.2" "znapzend" | ||
.TH ZNAPZENDZTATZ 1 "2014-07-26" "0.8.0" "znapzend" | ||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes | ||
.\" way too many mistakes in technical documents. | ||
.if n .ad l | ||
|
@@ -133,11 +133,12 @@ | |
znapzendztatz \- znapzend statistics utility | ||
.SH "SYNOPSIS" | ||
.IX Header "SYNOPSIS" | ||
\&\fBznapzendztatz\fR [src_dataset] | ||
\&\fBznapzendztatz\fR [\fIoptions\fR...] [src_dataset] | ||
.PP | ||
.Vb 2 | ||
\& \-\-help | ||
\& \-\-man | ||
.Vb 3 | ||
\& \-H do not print headers | ||
\& \-\-man show man\-page and exit | ||
\& \-h,\-\-help display this help and exi | ||
.Ve | ||
.SH "DESCRIPTION" | ||
.IX Header "DESCRIPTION" | ||
|
@@ -162,7 +163,7 @@ this program. If not, see <http://www.gnu.org/licenses/>. | |
.SH "AUTHOR" | ||
.IX Header "AUTHOR" | ||
Tobias\ Oetiker\ <[email protected]> | ||
Dominik\ Hassler | ||
Dominik\ Hassler\ <[email protected]> | ||
.SH "HISTORY" | ||
.IX Header "HISTORY" | ||
2014\-06\-29 had Flexible snapshot time format | ||
|