.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" 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 "osinfo-db-export 1" .TH osinfo-db-export 1 2024-11-03 osinfo-db-tools-1.12.0 "Osinfo DB Tools" .\" 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 osinfo\-db\-export \- Export to a osinfo database archive .SH SYNOPSIS .IX Header "SYNOPSIS" osinfo-db-export [OPTIONS...] [ARCHIVE\-FILE] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBosinfo-db-export\fR tool will create an osinfo database archive file containing the content from one of the standard local database locations: .IP \fBsystem\fR 1 .IX Item "system" This is the primary system-wide database location, intended for use by operating system vendors distributing database files in the native package format. .IP \fBlocal\fR 1 .IX Item "local" This is the secondary system-wide database location, intended for use by system administrators wishing to provide an updated database for all users. .IP \fBuser\fR 1 .IX Item "user" This is the user private database location, intended for use by unprivileged local users wishing to provide applications they use with an updated database. .PP If run by a privileged account (ie root), the \fBlocal\fR database location will be used by default, otherwise the \fBuser\fR location will be used. .PP If no \fBARCHIVE-FILE\fR path is given, an automatically generated filename will be used, taking the format \fBosinfo\-db\-$VERSION.tar.xz\fR. .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-user\fR 8 .IX Item "--user" Override the default behaviour to force archiving files from the \&\fBuser\fR database location. .IP \fB\-\-local\fR 8 .IX Item "--local" Override the default behaviour to force archiving files from the \&\fBlocal\fR database location. .IP \fB\-\-system\fR 8 .IX Item "--system" Override the default behaviour to force archiving files from the \&\fBsystem\fR database location. .IP \fB\-\-dir=PATH\fR 8 .IX Item "--dir=PATH" Override the default behaviour to force archiving files from the custom directory \fBPATH\fR. .IP \fB\-\-root=PATH\fR 8 .IX Item "--root=PATH" Prefix the database location with the root directory given by \&\f(CW\*(C`PATH\*(C'\fR. This is useful when wishing to archive files that are in a chroot environment or equivalent. .IP \fB\-\-version=VERSION\fR 8 .IX Item "--version=VERSION" Set the version string for the files in the archive to \&\fBVERSION\fR. If this argument is not given, the version will be set to the current date in the format \fBYYYYMMDD\fR. .IP \fB\-\-license=LICENSE\-FILE\fR 8 .IX Item "--license=LICENSE-FILE" Add \f(CW\*(C`LICENSE\-FILE\*(C'\fR to the generated archive as an entry named "LICENSE". .IP "\fB\-v\fR, \fB\-\-verbose\fR" 8 .IX Item "-v, --verbose" Display verbose progress information when archiving files .SH "EXIT STATUS" .IX Header "EXIT STATUS" The exit status will be 0 if all files were packed successfully, or 1 if at least one file could not be packed into the archive. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\f(CW\*(C`osinfo\-db\-import(1)\*(C'\fR, \f(CW\*(C`osinfo\-db\-path(1)\*(C'\fR .SH AUTHORS .IX Header "AUTHORS" Daniel P. Berrange .SH COPYRIGHT .IX Header "COPYRIGHT" Copyright (C) 2016 Red Hat, Inc. .SH LICENSE .IX Header "LICENSE" \&\f(CW\*(C`osinfo\-db\-export\*(C'\fR is distributed under the terms of the GNU LGPL v2+ license. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE