Release 1.1.1.
[rsync-backup] / update-bkp-index.8
CommitLineData
a8447303
MW
1.ie t .ds o \(bu
2.el .ds o o
3.de hP
4.IP
5\h'-\w'\fB\\$1\ \fP'u'\fB\\$1\ \fP\c
6..
7.TH update-bkp-index 8 "25 January 2013" rsync-backup
8.SH NAME
9update-bkp-index \- create or update the rsync-backup index database
10.SH SYNOPSIS
11The
12.BR rsync-backup (8)
13program can maintain an index database which keeps track of which dumps
14are on which backup volumes.
15.PP
16The
17.B update-bkp-index
18program updates this database from the currently mounted backup volume,
19creating or upgrading it if necessary.
20.PP
21The program ignores any command-line arguments it's given, but it makes
22use of a number of environment variables.
23.TP
24.B INDEXDB
25The name of a SQLite database initialized by
26.BR update-bkp-index (8)
27in which an index is maintained of which dumps are on which backup
28volumes. If the file doesn't exist, then no index is maintained. The
29default is
30.IB localstatedir /lib/bkp/index.db
31where
32.I localstatedir
33is the state directory configured at build time.
34.TP
35.B METADIR
36The metadata directory for the currently mounted backup volume.
37The default is
38.IB mntbkpdir /meta
39where
40.I mntbkpdir
41is the backup mount directory configured at build time.
42.TP
43.B STOREDIR
44Where the actual backup trees should be stored. See the section on
45.B Archive structure
46below.
47The default is
48.IB mntbkpdir /store
49where
50.I mntbkpdir
51is the backup mount directory configured at build time.
52.TP
53.B VOLUME
54The name of the current volume. The default is to read this from the
55file
56.IB METADIR /volume
57once at the start of the backup run.
58.SH SEE ALSO
59.BR rsync-backup (8).
60.SH AUTHOR
61Mark Wooding, <mdw@distorted.org.uk>