Managing Backups

Skip to end of metadata
Go to start of metadata
Table of Contents

Backups

You can automatically and periodically back up the whole Artifactory system.
The backup process creates a timestamped directory in the target backup dir with identical out content as running full system export with metadata.
You can define multiple backups via Admin:Services:Backup.
Each backup may have its own schedule and repositories to process or exclude.

Backup content is in standard Maven format and can be loaded into any Maven repository, so that Artifactory never locks you up.

Controlling Backup Frequency

Backup works by specifying a valid cron expression. For example, to back up every 12 hours use a value of:

Incremental "In-place" Backups

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.

Retention Period for Old Backups

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).

Do not store any custom files under the target backup directory, since the backup cleanup processes may wipe them!

Email Notifications

It is possible to select that any problem encountered during backup will be automatically reported to all Artifactory administrators by email.

Backup Directory

Backups are created by default under the $ARTIFACTORY_HOME/backup/<backup_key> directory.
If you wish to use another directory for storing backups change the target directory, otherwise leave it empty to use the defaults.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.