tfactl upload
Use the tfactl upload command to upload collections or files on demand.
You can run the 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
tfactl upload Command Parameters
| Parameter | Description |
|---|---|
-sr sr_number | Specify the SR number. |
-name config_name | Specify a unique name for the configuration. |
-id The location or target where you want to upload your files to. | Specify the location or target where you want to upload your files to. |
-file file_name | Specify the name of the file to upload. |
Example 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 Upload to MOS using tfactl diagcollect
tfactl diagcollect -upload mos -srdc ORA-00600 -id 3-23104325631
or
tfactl 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.