Debian Codegraph @

manpages/cback3-span.1

raw
1 .\" vim: set ft=nroff .\"
2 .\" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
3 .\" #
4 .\" # C E D A R
5 .\" # S O L U T I O N S "Software done right."
6 .\" # S O F T W A R E
7 .\" #
8 .\" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
9 .\" #
10 .\" # Author : Kenneth J. Pronovici <[email protected]>
11 .\" # Language : nroff
12 .\" # Project : Cedar Backup, release 3
13 .\" # Purpose : Manpage for cback3-span script
14 .\" #
15 .\" # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
16 .\"
17 .TH cback3\-span "1" "Aug 2019" "Cedar Backup 3" "Kenneth J. Pronovici"
18 .SH NAME
19 cback3\-span \- Span staged data among multiple discs
20 .SH SYNOPSIS
21 .B cback3\-span
22 [\fIswitches\fR]
23 .SH DESCRIPTION
24 .PP
25 This is the Cedar Backup 3 span tool. It is intended for use by people who back
26 up more data than can fit on a single disc. It allows a user to split (span)
27 staged data between more than one disc. It can't be a Cedar Backup extension
28 in the usual sense because it requires user input when switching media.
29 .PP
30 Generally, one can run the cback3\-span command with no arguments. This will
31 start it using the default configuration file, the default log file, etc. You
32 only need to use the switches if you need to change the default behavior.
33 .PP
34 This command takes most of its configuration from the Cedar Backup
35 configuration file, specifically the store section. Then, more information is
36 gathered from the user interactively while the command is running.
37 .SH MIGRATING FROM VERSION 2 TO VERSION 3
38 .PP
39 The main difference between Cedar Backup version 2 and Cedar Backup version 3
40 is the targeted Python interpreter. For most users, migration should be
41 straightforward. See the discussion found at cback3(1) or reference the Cedar
42 Backup user guide.
43 .SH SWITCHES
44 .TP
45 \fB\-h\fR, \fB\-\-help\fR
46 Display usage/help listing.
47 .TP
48 \fB\-V\fR, \fB\-\-version\fR
49 Display version information.
50 .TP
51 \fB\-b\fR, \fB\-\-verbose\fR
52 Print verbose output to the screen as well writing to the logfile. When this
53 option is enabled, most information that would normally be written to the
54 logfile will also be written to the screen.
55 .TP
56 \fB\-c\fR, \fB\-\-config\fR
57 Specify the path to an alternate configuration file. The default configuration
58 file is \fI/etc/cback3.conf\fR.
59 .TP
60 \fB\-l\fR, \fB\-\-logfile\fR
61 Specify the path to an alternate logfile. The default logfile file is
62 \fI/var/log/cback3.log\fR.
63 .TP
64 \fB\-o\fR, \fB\-\-owner\fR
65 Specify the ownership of the logfile, in the form user:group. The default
66 ownership is \fIroot:adm\fR, to match the Debian standard for most logfiles. This
67 value will only be used when creating a new logfile. If the logfile already
68 exists when the cback3 script is executed, it will retain its existing ownership
69 and mode. Only user and group names may be used, not numeric uid and gid
70 values.
71 .TP
72 \fB\-m\fR, \fB\-\-mode\fR
73 Specify the permissions for the logfile, using the numeric mode as in chmod(1).
74 The default mode is \fI640\fR (\-rw\-r\-\-\-\-\-). This value will only be used when
75 creating a new logfile. If the logfile already exists when the cback3 script is
76 executed, it will retain its existing ownership and mode.
77 .TP
78 \fB\-O\fR, \fB\-\-output\fR
79 Record some sub-command output to the logfile. When this option is enabled, all
80 output from system commands will be logged. This might be useful for debugging
81 or just for reference.
82 .TP
83 \fB\-d\fR, \fB\-\-debug\fR
84 Write debugging information to the logfile. This option produces a high volume
85 of output, and would generally only be needed when debugging a problem. This
86 option implies the \-\-output option, as well.
87 .TP
88 \fB\-s\fR, \fB\-\-stack\fR
89 Dump a Python stack trace instead of swallowing exceptions. This forces Cedar
90 Backup to dump the entire Python stack trace associated with an error, rather
91 than just propagating last message it received back up to the user interface.
92 Under some circumstances, this is useful information to include along with a
93 bug report.
94 .TP
95 \fB\-D\fR, \fB\-\-diagnostics\fR
96 Display runtime diagnostic information and then exit. This diagnostic
97 information is often useful when filing a bug report.
98 .SH RETURN VALUES
99 .PP
100 This command returns 0 (zero) upon normal completion, and six other error
101 codes related to particular errors.
102 .TP
103 \fB1\fR
104 The Python interpreter version is not supported.
105 .TP
106 \fB2\fR
107 Error processing command\-line arguments.
108 .TP
109 \fB3\fR
110 Error configuring logging.
111 .TP
112 \fB4\fR
113 Error parsing indicated configuration file.
114 .TP
115 \fB5\fR
116 Backup was interrupted with a CTRL\-C or similar.
117 .TP
118 \fB6\fR
119 Other error during processing.
120 .SH NOTES
121 .PP
122 Cedar Backup itself is designed to run as root, since otherwise it's difficult
123 to back up system directories or write the CD or DVD device. However,
124 cback3\-span can be run safely as any user that has read access to the Cedar
125 Backup staging directories and write access to the CD or DVD device.
126 .SH SEE ALSO
127 cback3(1)
128 .SH FILES
129 .TP
130 \fI/etc/cback3.conf\fR - Default configuration file
131 .TP
132 \fI/var/log/cback3.log\fR - Default log file
133 .SH URLS
134 .TP
135 The project homepage is: \fIhttps://github.com/pronovic/cedar\-backup3\fR
136 .SH BUGS
137 .PP
138 If you find a bug, please report it.
139 .PP
140 If possible, give me the output from \-\-diagnostics, all of the error
141 messages that the script printed into its log, and also any stack\-traces
142 (exceptions) that Python printed. It would be even better if you could tell me
143 how to reproduce the problem, for instance by sending me your configuration file.
144 .PP
145 Report bugs to <support@cedar\-solutions.com> or via GitHub issues
146 tracker.
147 .SH AUTHOR
148 Written and maintained by Kenneth J. Pronovici <[email protected]> with contributions from others.
149 .SH COPYRIGHT
150 Copyright (c) 2004\-2020 Kenneth J. Pronovici.
151 .PP
152 This is free software; see the source for copying conditions. There is
153 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
154 PURPOSE.