1osinfo-db-import(1)             Osinfo DB Tools            osinfo-db-import(1)
2
3
4

NAME

6       osinfo-db-import - Import an osinfo database archive
7

SYNOPSIS

9       osinfo-db-import [OPTIONS...] [ARCHIVE-FILE]
10

DESCRIPTION

12       The osinfo-db-import tool will take an osinfo database archive and
13       extract its contents into one of the standard database locations on the
14       current host:
15
16       system
17        This is the primary system-wide database location, intended for use by
18        operating system vendors distributing database files in the native
19        package format.
20
21       local
22        This is the secondary system-wide database location, intended for use
23        by system administrators wishing to provide an updated database for
24        all users.
25
26       user
27        This is the user private database location, intended for use by
28        unprivileged local users wishing to provide applications they use with
29        an updated database.
30
31       If run by a privileged account (ie root), the local database location
32       will be used by default, otherwise the user location will be used.
33
34       When passing a non local ARCHIVE-FILE, only http:// and https://
35       protocols are supported.
36
37       With no ARCHIVE-FILE, or when ARCHIVE-FILE is -, read standard input.
38

OPTIONS

40       --user  Override the default behaviour to force installation into the
41               user database location.
42
43       --local Override the default behaviour to force installation into the
44               local database location.
45
46       --system
47               Override the default behaviour to force installation into the
48               system database location.
49
50       --dir=PATH
51               Override the default behaviour to force installation into the
52               custom directory PATH.
53
54       --root=PATH
55               Prefix the installation location with the root directory given
56               by "PATH". This is useful when wishing to install into a chroot
57               environment or equivalent.
58
59       --latest
60               Downloads the latest osinfo-db release from libosinfo's
61               official releases website and installs it in the desired
62               location.  The latest osinfo-db release is only downloaded and
63               installed when it's newer than the one installed in the desired
64               location.  Note that this option is mutually exclusive with
65               '--nightly'.
66
67       --nightly
68               Downloads the nightly (unreleased) osinfo-db build from
69               libosinfo's website and installs it in the desired location.
70               Unlike with '--latest' with this option the nightly archive
71               always downloaded and installed regardless of the version
72               installed in the desired location. Note that this option is
73               mutually exclusive with '--latest'.
74
75       -v, --verbose
76               Display verbose progress information when installing files
77

EXIT STATUS

79       The exit status will be 0 if all files were installed successfully, or
80       1 if at least one file could not be installed.
81

SEE ALSO

83       "osinfo-db-export(1)", "osinfo-db-path(1)"
84

AUTHORS

86       Daniel P. Berrange <berrange@redhat.com>
87
89       Copyright (C) 2016 Red Hat, Inc.
90

LICENSE

92       "osinfo-db-import" is distributed under the terms of the GNU LGPL v2+
93       license. This is free software; see the source for copying conditions.
94       There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
95       PARTICULAR PURPOSE
96
97
98
99osinfo-db-tools-1.11.0            2023-10-27               osinfo-db-import(1)
Impressum