1REPORTER-UPLOAD(1) LIBREPORT MANUAL REPORTER-UPLOAD(1)
2
3
4
6 reporter-upload - Uploads compressed tarball of problem directory.
7
9 reporter-upload [-c CONFFILE]... [-d DIR] [-u URL] [-b FILE] [-r FILE]
10
12 The tool is used to create a compressed tarball of the problem
13 directory and upload it to a URL. Supported protocols include FTP,
14 FTPS, HTTP, HTTPS, SCP, SFTP, TFTP and FILE.
15
16 Configuration file
17 Configuration file contains entries in a format "Option = Value".
18
19 The options are:
20
21 URL
22 The URL where tarball should be uploaded.
23
24 SSHPublicKey
25 The SSH public key.
26
27 SSHPrivateKey
28 The SSH private key.
29
30 Integration with ABRT events
31 reporter-upload can be used as a reporter, to allow users to upload
32 compressed tarballs of problem directories to a configured URL. This
33 usage can be configured in /etc/libreport/report_event.conf:
34
35 EVENT=report_Upload reporter-upload
36
37 It can be also used on the post-create event to upload it
38 automatically.
39
40 EVENT=post-create reporter-upload
41
43 -d DIR
44 Path to problem directory.
45
46 -c CONFFILE
47 Path to configuration file. When used in ABRT event system, the
48 file contains site-wide configuration. Users can change the values
49 via environment variables. If not specified, it defaults to
50 "/etc/libreport/plugins/upload.conf".
51
52 -u URL
53 The URL where tarball should be uploaded. URL should have the form
54 protocol://[user[:pass]@]host/dir/[file.tar.gz] where protocol can
55 be http(s), ftp, scp, or file. File protocol can’t have user and
56 host parts: file:///dir/[file.tar.gz]. If URL ends with a slash,
57 the archive name will be generated and appended to URL; otherwise,
58 URL will be used as full file name.
59
60 -b, --pubkey FILE
61 Set SSH public key file.
62
63 -r, --key FILE
64 Set SSH private key file.
65
67 Environment variables take precedence over values provided in the
68 configuration file.
69
70 Upload_URL
71 The URL where should be the tarball uploaded.
72
73 Upload_Username
74 User name for the upload URL
75
76 Upload_Password
77 Password for the upload URL
78
79 Upload_SSHPublicKey
80 Path to SSH public key file
81
82 Upload_SSHPrivateKey
83 Path to SSH private key file
84
86 /usr/share/libreport/conf.d/plugins/upload.conf
87 Readonly default configuration files.
88
89 /etc/libreport/plugins/upload.conf
90 Configuration file.
91
93 uploader_event.conf(5), report_uploader.conf(5)
94
96 · ABRT team
97
98
99
100LIBREPORT 2.11.3 11/14/2019 REPORTER-UPLOAD(1)