~ubuntu-branches/ubuntu/feisty/backupninja/feisty

« back to all changes in this revision

Viewing changes to debian/backupninja.conf.5

  • Committer: Bazaar Package Importer
  • Author(s): Micah Anderson
  • Date: 2004-12-05 21:26:43 UTC
  • Revision ID: james.westby@ubuntu.com-20041205212643-bea8akngs2xkfdp5
Tags: 0.3.4-1
* New upstream release, more compatible with older coreutils in woody
* Put backupninja.conf in examples (Closes: #282575)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\"                                      Hey, EMACS: -*- nroff -*-
 
2
.\" First parameter, NAME, should be all caps
 
3
.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
 
4
.\" other parameters are allowed: see man(7), man(1)
 
5
.TH BACKUPNINJA.CONF 5 "November 22, 2004" "riseup" "backupninja package"
 
6
.SH NAME 
 
7
BACKUPNINJA.CONF \- Configuration file(s) for \fBbackupninja (1)\fP.
 
8
 
 
9
.\" Please adjust this date whenever revising the manpage.
 
10
.\"
 
11
.\" Some roff macros, for reference:
 
12
.\" .nh        disable hyphenation
 
13
.\" .hy        enable hyphenation
 
14
.\" .ad l      left justify
 
15
.\" .ad b      justify to both left and right margins
 
16
.\" .nf        disable filling
 
17
.\" .fi        enable filling
 
18
.\" .br        insert line break
 
19
.\" .sp <n>    insert n+1 empty lines
 
20
.\" for manpage-specific macros, see man(7)
 
21
.br
 
22
.SH SYNOPSIS
 
23
.B "/etc/backupninja.conf "
 
24
.br
 
25
.B "/etc/backup.d/* "
 
26
.br
 
27
.SH DESCRIPTION
 
28
.B backupninja.conf
 
29
is the general configuration. In this file you can set the log level and change the default directory locations.  You can force a different general configuration file with "backupninja -f /path/to/conf".
 
30
 
 
31
.TP
 
32
To perform the actual backup, backupninja processes each configuration file in /etc/backup.d according to the file's suffix:
 
33
.br
 
34
  .sh      --  run this file as a shell script.
 
35
  .rdiff   --  this is a configuration for rdiff-backup
 
36
  .maildir --  this is a configuration to backup maildirs
 
37
  .mysql   --  mysql backup configuration
 
38
  .ldap    --  ldap backup configuration
 
39
 
 
40
.TP
 
41
Support for additional configuration types can be added by dropping bash scripts with the name of the suffix into /usr/share/backupninja.
 
42
 
 
43
.TP
 
44
The configuration files are processed in alphabetical order. However, it is suggested that you name the config files in "sysvinit style."
 
45
 
 
46
.TP
 
47
For example:
 
48
  00-disabled.ldap
 
49
  10-runthisfirst.sh
 
50
  20-runthisnext.mysql
 
51
  90-runthislast.rdiff
 
52
 
 
53
.TP
 
54
Typically, you will put a '.rdiff' config file last, so that any database dumps you make are included in the filesystem backup.  Configurations files which begin with 0 (zero) are skipped.
 
55
 
 
56
.TP
 
57
Unless otherwise specified, the config file format is "ini style."
 
58
 
 
59
.TP
 
60
For example:
 
61
 
 
62
 # this is a comment
 
63
 
 
64
 [fishes]
 
65
 fish = red
 
66
 fish = blue
 
67
 
 
68
 [fruit]
 
69
 apple = yes
 
70
 pear = no thanks \
 
71
 i will not have a pear.
 
72
 
 
73
 
 
74
.PP
 
75
 
 
76
.SH SEE ALSO
 
77
.BR backupninja (1), 
 
78
.br
 
79
.SH AUTHOR
 
80
BACKUPNINJA was written by <elijah@riseup.net>.
 
81
.br
 
82
BACKUPNINJA was packaged by <micah@riseup.net>.
 
83
.br
 
84
.PP
 
85
This manual page was written by  <stefani@riseup.net>.