Users Guide

Updating repositories
Table 6. Commands for updating repositories
Description Mandatory Optional Format and example
Run a refresh job.
--update --repository:version
Format:
drm --update
-r=<repository
name>:<version>
--repository
or
-r
Example:
drm --update -r=repo1
Schedule a refresh repository
job.
The values for Recurrence
option are:
once
daily
weekly
monthly
NOTE: Ensure that you
enter the time in 24-hour
format.
--update --repository:version
Format:
drm --update
-r=<repository
name>:<version>
-dt=<mm/dd/yyyy
hh:mm> <recurrence>
--nowait
--repository
or
-r
Example:
drm --update -r=repo1
-dt="08/21/2019 12:00
Daily" --nowait
--datetime
or
-dt
--nowait
Update components in a
repository by component
type.
--update --repository:version
Format:
drm --update
-co=<component type>
-r=<repository name>
--component-type
or
-co
Example:
drm --update
-co="BIOS,application
" -r="repo:1.00"
--repository
or
-r
Update components in a
repository by category.
--update --repository:version
Format:
drm --update
-ca=<category1,
category2,.....
> -r=<repository
name>:<version>
--category
Example:
Command-line interface 37