|
Packit Service |
779887 |
reporter-upload(1)
|
|
Packit Service |
779887 |
==================
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
NAME
|
|
Packit Service |
779887 |
----
|
|
Packit Service |
779887 |
reporter-upload - Uploads compressed tarball of problem directory.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
SYNOPSIS
|
|
Packit Service |
779887 |
--------
|
|
Packit Service |
779887 |
'reporter-upload' [-c CONFFILE]... [-d DIR] [-u URL] [-b FILE] [-r FILE]
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
DESCRIPTION
|
|
Packit Service |
779887 |
-----------
|
|
Packit Service |
779887 |
The tool is used to create a compressed tarball of the problem directory and
|
|
Packit Service |
779887 |
upload it to a URL. Supported protocols include FTP, FTPS, HTTP, HTTPS, SCP,
|
|
Packit Service |
779887 |
SFTP, TFTP and FILE.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
Configuration file
|
|
Packit Service |
779887 |
~~~~~~~~~~~~~~~~~~
|
|
Packit Service |
779887 |
Configuration file contains entries in a format "Option = Value".
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
The options are:
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
'URL'::
|
|
Packit Service |
779887 |
The URL where tarball should be uploaded.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
'SSHPublicKey'::
|
|
Packit Service |
779887 |
The SSH public key.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
'SSHPrivateKey'::
|
|
Packit Service |
779887 |
The SSH private key.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
Integration with ABRT events
|
|
Packit Service |
779887 |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
Packit Service |
779887 |
'reporter-upload' can be used as a reporter, to allow users to upload
|
|
Packit Service |
779887 |
compressed tarballs of problem directories to a configured URL. This usage can be
|
|
Packit Service |
779887 |
configured in /etc/libreport/report_event.conf:
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
------------
|
|
Packit Service |
779887 |
EVENT=report_Upload reporter-upload
|
|
Packit Service |
779887 |
------------
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
It can be also used on the 'post-create' event to upload it automatically.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
------------
|
|
Packit Service |
779887 |
EVENT=post-create reporter-upload
|
|
Packit Service |
779887 |
------------
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
OPTIONS
|
|
Packit Service |
779887 |
-------
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
-d DIR::
|
|
Packit Service |
779887 |
Path to problem directory.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
-c CONFFILE::
|
|
Packit Service |
779887 |
Path to configuration file. When used in ABRT event system, the file
|
|
Packit Service |
779887 |
contains site-wide configuration. Users can change the values via
|
|
Packit Service |
779887 |
environment variables.
|
|
Packit Service |
779887 |
If not specified, it defaults to "/etc/libreport/plugins/upload.conf".
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
-u URL::
|
|
Packit Service |
779887 |
The URL where tarball should be uploaded.
|
|
Packit Service |
779887 |
URL should have the form protocol://[user[:pass]@]host/dir/[file.tar.gz]
|
|
Packit Service |
779887 |
where protocol can be http(s), ftp, scp, or file.
|
|
Packit Service |
779887 |
File protocol can't have user and host parts: pass:[file:///dir/[file.tar.gz]].
|
|
Packit Service |
779887 |
If URL ends with a slash, the archive name will be generated and appended
|
|
Packit Service |
779887 |
to URL; otherwise, URL will be used as full file name.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
-b::
|
|
Packit Service |
779887 |
--pubkey FILE::
|
|
Packit Service |
779887 |
Set SSH public key file.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
-r::
|
|
Packit Service |
779887 |
--key FILE::
|
|
Packit Service |
779887 |
Set SSH private key file.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
ENVIRONMENT VARIABLES
|
|
Packit Service |
779887 |
---------------------
|
|
Packit Service |
779887 |
Environment variables take precedence over values provided in
|
|
Packit Service |
779887 |
the configuration file.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
'Upload_URL'::
|
|
Packit Service |
779887 |
The URL where should be the tarball uploaded.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
'Upload_Username'::
|
|
Packit Service |
779887 |
User name for the upload URL
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
'Upload_Password'::
|
|
Packit Service |
779887 |
Password for the upload URL
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
'Upload_SSHPublicKey'::
|
|
Packit Service |
779887 |
Path to SSH public key file
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
'Upload_SSHPrivateKey'::
|
|
Packit Service |
779887 |
Path to SSH private key file
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
FILES
|
|
Packit Service |
779887 |
-----
|
|
Packit Service |
779887 |
/usr/share/libreport/conf.d/plugins/upload.conf::
|
|
Packit Service |
779887 |
Readonly default configuration files.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
/etc/libreport/plugins/upload.conf::
|
|
Packit Service |
779887 |
Configuration file.
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
SEE ALSO
|
|
Packit Service |
779887 |
--------
|
|
Packit Service |
779887 |
uploader_event.conf(5), report_uploader.conf(5)
|
|
Packit Service |
779887 |
|
|
Packit Service |
779887 |
AUTHORS
|
|
Packit Service |
779887 |
-------
|
|
Packit Service |
779887 |
* ABRT team
|