Service Configurations in Artifactory YAML

Configure Artifactory backups, Maven indexer, and Xray integration settings in artifactory.yaml.

backups
backups:   #Manage the automatic and periodic backups of the entire Artifactory instance
  backup-daily:   #The backup name
    cronExp: "0 0 12 * * ? "   #A Cron expression to control the backup frequency
    excludedRepositories:   #A list of excluded repositories from the backup
      - local1
      - local2
    retentionPeriodHours: 1000   #The number of hours to keep a backup before Artifactory will clean it up to free up disk space. Applicable only to non-incremental backups
    createArchive: false   #If set, backups will be created within a Zip archive (Slow and CPU intensive)
    enabled: true
    excludeBuilds: false   #(Relevant only from Artifactory 6.6 and below) Exclude all builds from the backup
    excludeNewRepositories: false   #When set, new repositories will not be automatically added to the backup
    sendMailOnError: true   #If set, all Artifactory administrators will be notified by email if any problem is encountered during backup
indexer
```yaml indexer: #Maven indexer settings enabled: false #When set, the Maven indexer will be enabled and run according to the cronExp cronExp: abcder #A Cron expression that determines the frequency in which Maven indexes on the selected repositories will be recalculated includedRepositories: #Specifies the repositories that should be indexed on the next run - local1 - local2 ```
Xray Configurations in Artifactory YAML

Enabling and Disabling Xray

     xrayConfig:
       enabled: True

Related Topics