Commit 09b0729a authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Added debian packaging files

parent eec6b0d0
dbackup usr/sbin
# Config
dbackup.conf etc
Source: awit-dbackup
Maintainer: Nigel Kukard <nkukard@lbsd.net>
Section: contrib/utils
Priority: optional
Standards-Version: 3.9.1
Build-Depends: debhelper (>= 8), docbook-to-man
Homepage: http://devlabs.linuxassist.net/projects/awit-dbackup
Package: awit-dbackup
Architecture: all
Depends: ${perl:Depends}, ${misc:Depends}
xz-utils, tar (>= 1.22),
libcompress-zlib-perl, libconfig-inifiles-perl
Description: AWIT DBackup
This is a backup software package which basically creates one
archive per directory it backs up. This makes searching
through the backup much easier as you can look for which files
you're after in the directory hierarchy. It will only backup
directories which have changed, which makes it rsync friendly.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: http://devlabs.linuxassist.net/projects/awit-dbackup
Files: *
Copyright: Copyright (C) 2010-2012, Linux Based Systems Design
License: GPL-2+
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
version.
.
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the GNU General Public License for more
details.
.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
.
On Debian systems, the full text of the GNU General Public
License version 2 can be found in the file
`/usr/share/common-licenses/GPL-2'.
#!/usr/bin/make -f
%:
dh $@
override_dh_auto_build:
docbook-to-man docs/dbackup.sgml > debian/dbackup.1
dh_auto_build
<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [
<!-- Process this file with docbook-to-man to generate an nroff manual
page: `docbook-to-man manpage.sgml > manpage.1'. You may view
the manual page with: `docbook-to-man manpage.sgml | nroff -man |
less'. A typical entry in a Makefile or Makefile.am is:
manpage.1: manpage.sgml
docbook-to-man $< > $@
The docbook-to-man binary is found in the docbook-to-man package.
Please remember that if you create the nroff version in one of the
debian/rules file targets (such as build), you will need to include
docbook-to-man in your Build-Depends control field.
-->
<!-- Fill in your name for FIRSTNAME and SURNAME. -->
<!ENTITY dhfirstname "<firstname>Nigel</firstname>">
<!ENTITY dhsurname "<surname>Kukard</surname>">
<!-- Please adjust the date whenever revising the manpage. -->
<!ENTITY dhdate "<date>2012-09-28 09:29</date>">
<!-- SECTION should be 1-8, maybe w/ subsection other parameters are
allowed: see man(7), man(1). -->
<!ENTITY dhsection "<manvolnum>8</manvolnum>">
<!ENTITY dhemail "<email>nkukard@lbsd.net</email>">
<!ENTITY dhusername "nkukard">
<!ENTITY dhucpackage "<refentrytitle>DBACKUP</refentrytitle>">
<!ENTITY dhpackage "dbackup">
<!ENTITY author "Nigel Kukard">
<!ENTITY debian "<productname>Debian</productname>">
<!ENTITY gnu "<acronym>GNU</acronym>">
<!ENTITY gpl "&gnu; <acronym>GPL</acronym>">
]>
<refentry>
<refentryinfo>
<address>
&dhemail;
</address>
<author>
&dhfirstname;
&dhsurname;
</author>
<copyright>
<year>2012</year>
<holder>&dhusername;</holder>
</copyright>
&dhdate;
</refentryinfo>
<refmeta>
&dhucpackage;
&dhsection;
</refmeta>
<refnamediv>
<refname>&dhpackage;</refname>
<refpurpose>DBackup is a powerful per-directory backup utility.</refpurpose>
</refnamediv>
<refsynopsisdiv>
<cmdsynopsis>
<command>&dhpackage;</command>
<arg><option>--help</option></arg>
<arg><option>--config <replaceable>path</replaceable></option></arg>
<arg><option>--log-level <replaceable>level</replaceable></option></arg>
<arg><option>--tar <replaceable>path</replaceable></option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1>
<title>DESCRIPTION</title>
<para>This is a backup software package which creates one archive per directory it backs up. This makes searching through the backup much easier as you can look for which files you're after in the directory hierarchy. It will only backup directories which have changed, which makes it rsync friendly.</para>
</refsect1>
<refsect1>
<title>GENERAL OPTIONS</title>
<variablelist>
<varlistentry>
<term><option>--help</option></term>
<listitem>
<para>What you're seeing now.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--config=file</option></term>
<listitem>
<para>Configuration file to use.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--log-level</option></term>
<listitem>
<para>5 = debug, 4 = info, 3 = notice, 2 = warning, 1 = error</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--tar</option></term>
<listitem>
<para>Path to tar binary.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>BACKING OPTIONS</title>
<variablelist>
<varlistentry>
<term><option>--backup</option></term>
<listitem>
<para>Backup src to dst.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--backup-upgrade</option></term>
<listitem>
<para>Upgrade backup to new dbackup version.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--compress=&lt;xz|bz2|gzip|none&gt;</option></term>
<listitem>
<para>Compression method to use. Defaults
to using xz, or bzip2 if xz is unavailable.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--exclude-data</option></term>
<listitem>
<para>Exclude all data directories listed below.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--exclude-system</option></term>
<listitem>
<para>Exclude system directories listed below.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--exclude-path=pcre</option></term>
<listitem>
<para>PCRE to exclude paths from backup.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--exclude-file</option></term>
<listitem>
<para>PCRE to exclude files from backup.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--exclude-fs-type=fstype</option></term>
<listitem>
<para>Filesystem type to exclude.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--data-dir=dir</option></term>
<listitem>
<para>Add an additional data directory.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--system-dir=dir</option></term>
<listitem>
<para>Add an additional system directory.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--system-base=path</option></term>
<listitem>
<para>Add a system base. This defaults to /
and this option will override that.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>--tar-ignore-failed-read=path</option></term>
<listitem>
<para>This is passed to tar only. It will
not cause errors of files that cannot
be read for the path matched.</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1>
<refsect1>
<title>AUTHOR</title>
<para>This manual page was written by &author; &lt;&dhemail;&gt;.
Permission is granted to copy, distribute and/or modify this
document under the terms of the &gnu; General Public License,
Version 2 any later version published by the Free Software
Foundation.
</para>
<para>
On Debian systems, the complete text of the GNU General Public
License can be found in /usr/share/common-licenses/GPL.
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:2
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:nil
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
-->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment