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

NAME

6       osinfo-db-export - Export to a osinfo database archive
7

SYNOPSIS

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

DESCRIPTION

12       The osinfo-db-export tool will create an osinfo database archive file
13       containing the content from one of the standard local database
14       locations:
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       If no ARCHIVE-FILE path is given, an automatically generated filename
35       will be used, taking the format osinfo-db-$VERSION.tar.xz.
36

OPTIONS

38       --user  Override the default behaviour to force archiving files from
39               the user database location.
40
41       --local Override the default behaviour to force archiving files from
42               the local database location.
43
44       --system
45               Override the default behaviour to force archiving files from
46               the system database location.
47
48       --dir=PATH
49               Override the default behaviour to force archiving files from
50               the custom directory PATH.
51
52       --root=PATH
53               Prefix the database location with the root directory given by
54               "PATH". This is useful when wishing to archive files that are
55               in a chroot environment or equivalent.
56
57       --version=VERSION
58               Set the version string for the files in the archive to VERSION.
59               If this argument is not given, the version will be set to the
60               current date in the format YYYYMMDD.
61
62       --license=LICENSE-FILE
63               Add "LICENSE-FILE" to the generated archive as an entry named
64               "LICENSE".
65
66       -v, --verbose
67               Display verbose progress information when archiving files
68

EXIT STATUS

70       The exit status will be 0 if all files were packed successfully, or 1
71       if at least one file could not be packed into the archive.
72

SEE ALSO

74       "osinfo-db-import(1)", "osinfo-db-path(1)"
75

AUTHORS

77       Daniel P. Berrange <berrange@redhat.com>
78
80       Copyright (C) 2016 Red Hat, Inc.
81

LICENSE

83       "osinfo-db-export" 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.11.0            2023-10-27               osinfo-db-export(1)
Impressum