You can automatically and periodically backup the entire Artifactory system. The backup process creates a time-stamped directory in the target backup directory.
To define multiple backups go to the Admin tab and then
Services -> Backups.
Each backup may have its own schedule and repositories to either process or exclude.
|Backup Key|| |
To control backup frequency. Backup works by specifying a valid Cron expression. For example, to back up every 12 hours use a value of:
|Next Time Backup||When the next backup is due to take place.|
|Backup Directory||The directory to which backup local repository data as files.|
The default is $ARTIFACTORY_HOME/backup/[backup_key]
|Sent Mail to Admins of there are Backup Errors||It is possible to select that any problem encountered during backup will be automatically reported to all Artifactory administrators by email.|
|Exclude Builds||Exclude all builds from the backup.|
You can have Artifactory automatically clean up old backups for you and free valuable disk space by defining a retention period for your backups. This of course is only applicable for non-incremental backups only.
For example, to keep backups for up to a week max, use a value of 168 (hours).
Artifactory supports backing up incrementally to the same directory (named '
current') in the target backups dir. This type of backup only writes deltas to the output dir, resulting in extremely fast backups.
The backup files can be used by any incremental file-system based backup utility (such as rsync).
Activate incremental backup by selecting the "Incremental" checkbox under the advanced backup configuration.
|Backup to a Zip Archie (Slow and CPU Intensive)||Backups are created by default under the |
If you want to use another directory for storing backups, change the target directory, otherwise leave it empty and use the defaults.