1osinfo-db-import(1) Osinfo DB Tools osinfo-db-import(1)
2
3
4
6 osinfo-db-import - Import an osinfo database archive
7
9 osinfo-db-import [OPTIONS...] [ARCHIVE-FILE]
10
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
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.
65
66 -v, --verbose
67 Display verbose progress information when installing files
68
70 The exit status will be 0 if all files were installed successfully, or
71 1 if at least one file could not be installed.
72
74 "osinfo-db-export(1)", "osinfo-db-path(1)"
75
77 Daniel P. Berrange <berrange@redhat.com>
78
80 Copyright (C) 2016 Red Hat, Inc.
81
83 "osinfo-db-import" is distributed under the terms of the GNU LGPL v2+
84 license. This is free software; see the source for copying conditions.
85 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
86 PARTICULAR PURPOSE
87
88
89
90osinfo-db-tools-1.10.0 2022-08-08 osinfo-db-import(1)