Skip to content

Commit

Permalink
prepare for 0.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
oetiker committed Jul 26, 2014
1 parent 80b1056 commit d61a699
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 42 deletions.
2 changes: 1 addition & 1 deletion COPYRIGHT
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ znapzend - A ZFS backup system
Copyright by Dominik Hassler, Tobias Oetiker and the other people listed
in the AUTHORS file.

2014-07-12
2014-07-26

All rights reserved.

Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ZnapZend 0.7.2
ZnapZend 0.8.0
--------------

[![Build Status](https://travis-ci.org/oetiker/znapzend.svg?branch=master)](https://travis-ci.org/oetiker/znapzend)
Expand All @@ -14,15 +14,15 @@ itself.
To zetup znapzend follow these zimple inztructionz

```sh
wget https://github.com/oetiker/znapzend/releases/download/v0.7.2/znapzend-0.7.2.tar.gz
tar zxvf znapzend-0.7.2.tar.gz
cd znapzend-0.7.2
./configure --prefix=/opt/znapzend-0.7.2
wget https://github.com/oetiker/znapzend/releases/download/v0.8.0/znapzend-0.8.0.tar.gz
tar zxvf znapzend-0.8.0.tar.gz
cd znapzend-0.8.0
./configure --prefix=/opt/znapzend-0.8.0
```
if configure complains about missing perl modules, run

```sh
./setup/build-thirdparty.sh /opt/znapzend-0.7.2/thirdparty
./setup/build-thirdparty.sh /opt/znapzend-0.8.0/thirdparty
```

now you can run configure again and then
Expand All @@ -36,4 +36,4 @@ now you can configure the thing with the znapzendzetup program
Enjoy!

Dominik Hassler & Tobi Oetiker
2014-07-12
2014-07-26
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.7.2
0.8.0
20 changes: 10 additions & 10 deletions configure
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]>.
#
Expand Down Expand Up @@ -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=''

Expand Down Expand Up @@ -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]...
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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 $@
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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\\"
Expand Down
5 changes: 3 additions & 2 deletions doc/znapzend.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
15 changes: 13 additions & 2 deletions doc/znapzendzetup.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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] ]
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down
9 changes: 5 additions & 4 deletions doc/znapzendztatz.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
9 changes: 5 additions & 4 deletions man/znapzend.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down
21 changes: 16 additions & 5 deletions man/znapzendzetup.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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] ]
Expand Down Expand Up @@ -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
Expand All @@ -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
13 changes: 7 additions & 6 deletions man/znapzendztatz.1
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit d61a699

Please sign in to comment.