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 dump directiories 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 configration file. When used in ABRT event system, the file
48 contains site-wide configuration. Users can change the values via
49 environment variables.
50
51 -u URL
52 The URL where tarball should be uploaded. URL should have form
53 protocol://[user[:pass]@]host/dir/[file.tar.gz] where protocol can
54 be http(s), ftp, scp, or file. File protocol can’t have user and
55 host parts: file.tar.gz[1]. If URL ends with a slash, the archive
56 name will be generated and appended to URL; otherwise, URL will be
57 used as full file name.
58
59 -b, --pubkey FILE
60 Set SSH public key file.
61
62 -r, --key FILE
63 Set SSH private key file.
64
66 Environment variables take precedence over values provided in the
67 configuration file.
68
69 Upload_URL
70 The URL where should be the tarball uploaded.
71
72 Upload_SSHPublicKey
73 Path to SSH public key file
74
75 Upload_SSHPrivateKey
76 Path to SSH private key file
77
79 /etc/libreport/plugins/upload.conf
80 Configuration file.
81
83 uploader_event.conf(5), report_uploader.conf(5)
84
86 · ABRT team
87
89 1. file.tar.gz
90 file:///dir/
91
92
93
94LIBREPORT 2.0.9.1 06/19/2018 REPORTER-UPLOAD(1)