File: rsbackup-mount.1

package info (click to toggle)
rsbackup 10.0-4
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,908 kB
  • sloc: cpp: 10,859; sh: 2,566; makefile: 387; perl: 11
file content (72 lines) | stat: -rw-r--r-- 2,489 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
.TH rsbackup-mount 1
.\" Copyright (c) 2011, 2012, 2014 Richard Kettlewell
.\"
.\" 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 3 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 program.  If not, see <http://www.gnu.org/licenses/>.
.SH NAME
rsbackup-mount \- mount encrypted or unencrypted disks used by rsbackup
.SH SYNOPSIS
\fBrsbackup-mount\fR [\fIOPTIONS\fR] [\fB\-\-\fR] [\fIDEVICES\fR]
.SH DESCRIPTION
\fBrsbackup-mount\fR mounts and unmounts encrypted or unencrypted
partitions used as backup stores by \fBrsbackup\fR(1).
.SH OPTIONS
.TP
.B \-\-unmount\fR, \fB\-u
Unmount devices.
(The default is to mount devices.)
.TP
.B \-\-check\fR, \fB\-c
Check for available devices that aren't open.
.TP
.B \-\-dry\-run\fR, \fB\-n
Do nothing, instead print the commands that would be executed.
.TP
.B \-\-key\-file \fIPATH\fR, \fB\-k \fIPATH
Pass the argument \fB\-\-key\-file\fR \fIPATH\fR to \fBcryptsetup\fR.
.TP
.B \-\-help\fR, \fB\-h
Display usage message.
.TP
.B \-\-version\fR, \fB\-V
Display version string.
.SH CONFIGURATION
Configuration is read from \fI/etc/rsbackup/devices\fR.
This is a shell script fragment.
It should set \fBdevices\fR to a (space-separated) list of device
names and for each device name \fID\fR, define \fID\fR\fB_uuid\fR to
its UUID.
To specify that a device is unencrypted (i.e. that it just
requires mounting or unmounting), define \fID\fR\fB_plain\fR as a
non-empty string for that device.
(Have a look in \fI/dev/disk/by-uuid\fR to find device UUIDs).
.SS Example
.in +4n
.EX
# List names of devices here
devices="backup3 backup4"

# For each device, define DEVICE_uuid
# e.g. devicename_uuid=8f4171f0-007d-4083-a40c-407e5f9c24dd
backup3_uuid=8f4171f0-007d-4083-a40c-407e5f9c24dd
backup4_uuid=80a1ca0d-d07a-4195-9da1-8cbb9fbc11b9

# For any device that isn't encrypted, define DEVICE_plain
# e.g. devicename_plain=1
backup3_plain=1
.EE
.in
.SH "SEE ALSO"
\fBrsbackup\fR(1), \fBrsbackup.cron\fR(1)
.SH AUTHOR
Richard Kettlewell <rjk@greenend.org.uk>