.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.01 (Pod::Simple 3.43) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "RRDRESTORE 1" .TH RRDRESTORE 1 2024-03-17 1.7.2 rrdtool .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME rrdrestore \- Restore the contents of an RRD from its XML dump format .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBrrdtool\fR \fBrestore\fR \fIfilename.xml\fR \fIfilename.rrd\fR [\fB\-\-range\-check\fR|\fB\-r\fR] [\fB\-\-force\-overwrite\fR|\fB\-f\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBrestore\fR function reads the XML representation of an RRD and converts it to the native \fBRRD\fR format. .IP \fIfilename.xml\fR 8 .IX Item "filename.xml" The name of the \fBXML\fR file you want to restore. The special filename "\-" (a single dash) is interpreted as standard input. .Sp In order to support the restore command in pipe mode (especially when using \fBRRDtool\fR over a network connection), when using "\-" as a filename the end of the file can be signaled either by closing the data channel after the file has transferred (as would be the case when using input redirection within a suitable shell) or by sending a crtl-Z / newline combination. This allows one to send more commands to the \&\fBRRDtool\fR server after a restore. .IP \fIfilename.rrd\fR 8 .IX Item "filename.rrd" The name of the \fBRRD\fR to restore. .IP \fB\-\-range\-check\fR|\fB\-r\fR 8 .IX Item "--range-check|-r" Make sure the values in the RRAs do not exceed the limits defined for the various data sources. .IP \fB\-\-force\-overwrite\fR|\fB\-f\fR 8 .IX Item "--force-overwrite|-f" Allows \fBRRDtool\fR to overwrite the destination \fBRRD\fR. .SH AUTHOR .IX Header "AUTHOR" Tobias Oetiker