.\" -*- 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 "osinfo-db-import 1" .TH osinfo-db-import 1 2024-03-10 osinfo-db-tools-1.11.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\-import \- Import an osinfo database archive .SH SYNOPSIS .IX Header "SYNOPSIS" osinfo-db-import [OPTIONS...] [ARCHIVE\-FILE] .SH DESCRIPTION .IX Header "DESCRIPTION" The \fBosinfo-db-import\fR tool will take an osinfo database archive and extract its contents into one of the standard database locations on the current host: .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 When passing a non local ARCHIVE-FILE, only http:// and https:// protocols are supported. .PP With no ARCHIVE-FILE, or when ARCHIVE-FILE is \-, read standard input. .SH OPTIONS .IX Header "OPTIONS" .IP \fB\-\-user\fR 8 .IX Item "--user" Override the default behaviour to force installation into the \&\fBuser\fR database location. .IP \fB\-\-local\fR 8 .IX Item "--local" Override the default behaviour to force installation into the \&\fBlocal\fR database location. .IP \fB\-\-system\fR 8 .IX Item "--system" Override the default behaviour to force installation into the \&\fBsystem\fR database location. .IP \fB\-\-dir=PATH\fR 8 .IX Item "--dir=PATH" Override the default behaviour to force installation into the custom directory \fBPATH\fR. .IP \fB\-\-root=PATH\fR 8 .IX Item "--root=PATH" Prefix the installation location with the root directory given by \f(CW\*(C`PATH\*(C'\fR. This is useful when wishing to install into a chroot environment or equivalent. .IP \fB\-\-latest\fR 8 .IX Item "--latest" Downloads the latest osinfo-db release from libosinfo's official releases website and installs it in the desired location. The latest osinfo-db release is only downloaded and installed when it's newer than the one installed in the desired location. Note that this option is mutually exclusive with '\-\-nightly'. .IP \fB\-\-nightly\fR 8 .IX Item "--nightly" Downloads the nightly (unreleased) osinfo-db build from libosinfo's website and installs it in the desired location. Unlike with '\-\-latest' with this option the nightly archive always downloaded and installed regardless of the version installed in the desired location. Note that this option is mutually exclusive with \&'\-\-latest'. .IP "\fB\-v\fR, \fB\-\-verbose\fR" 8 .IX Item "-v, --verbose" Display verbose progress information when installing files .SH "EXIT STATUS" .IX Header "EXIT STATUS" The exit status will be 0 if all files were installed successfully, or 1 if at least one file could not be installed. .SH "SEE ALSO" .IX Header "SEE ALSO" \&\f(CW\*(C`osinfo\-db\-export(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\-import\*(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