9.3.1.40 tfactl upload
Use the tfactl upload
command to upload collections or files
on demand.
upload
command as root
or a
non-root user.
Syntax
tfactl upload
[-sr sr_number]
[-name config_name]
[-id the location or target where you want to upload your files to]
[-file file_name]
Parameters
Table 9-75 tfactl upload Command Parameters
Parameter | Description |
---|---|
-sr sr_number |
Specify the SR number. |
|
Specify a unique name for the configuration. |
|
Specify the location or target where you want to upload your files to. |
|
Specify the name of the file to upload. |
Example 9-92 Upload to MOS using tfactl upload Example
tfactl upload -name mos -id 3-23104325631 -file /opt/oracle.ahf/data/repository/auto_srdc_ORA-00600_20200706T18:58:09_myserver1.zip
Example 9-93 Upload to MOS using tfactl diagcollect Example
tfactl diagcollect -upload mos -srdc ORA-00600 -id 3-23104325631
ortfactl diagcollect -srdc ORA-00600 -sr 3-23104325631
Note:
Ensure that the configuration name is mos
.
For more information on configuration setup, run tfactl setupload
-h
.