1OSINFO-DB-IMPORT.C(1) Virtualization Support OSINFO-DB-IMPORT.C(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 With no ARCHIVE-FILE, or when ARCHIVE-FILE is -, read standard input.
35
37 --user Override the default behaviour to force installation into the
38 user database location.
39
40 --local Override the default behaviour to force installation into the
41 local database location.
42
43 --system
44 Override the default behaviour to force installation into the
45 system database location.
46
47 --dir=PATH
48 Override the default behaviour to force installation into the
49 custom directory PATH.
50
51 --root=PATH
52 Prefix the installation location with the root directory given
53 by "PATH". This is useful when wishing to install into a chroot
54 environment or equivalent.
55
56 --latest
57 Downloads the latest osinfo-db release from libosinfo's
58 official releases website and installs it in the desired
59 location. The latest osinfo-db release is only downloaded and
60 installed when it's newer than the one installed in the desired
61 location.
62
63 -v, --verbose
64 Display verbose progress information when installing files
65
67 The exit status will be 0 if all files were installed successfully, or
68 1 if at least one file could not be installed.
69
71 "osinfo-db-export(1)", "osinfo-db-path(1)"
72
74 Daniel P. Berrange <berrange@redhat.com>
75
77 Copyright (C) 2016 Red Hat, Inc.
78
80 "osinfo-db-import" is distributed under the terms of the GNU LGPL v2+
81 license. This is free software; see the source for copying conditions.
82 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
83 PARTICULAR PURPOSE
84
85
86
87osinfo-db-tools-1.4.0 2019-01-04 OSINFO-DB-IMPORT.C(1)