Using the latest version?
JFrog Platform User Guide


Skip to end of metadata
Go to start of metadata

Complete System Backup

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, in theAdminmodule, selectServices|Backups.Each backup may have its own schedule and repositories to either process or exclude.

Backing up very large filestores

If you are backing up more than 1TB of storage, please refer tothis articlein ourKnowledge Basefor instructions.

Deleting outdated files to reduce backup storage

It is recommended to manually delete theaccess.backup..jsonfile created when performing backup or system export. This file can be found in the $ARTIFACTORY_HOME/access/backup/ folder.

Backup content is stored in standard file system format and can be loaded into any repository, so that Artifactory never locks you out.

Page Contents

In the Backups page you may select an existingBackupto edit, or click "New" to create a newBackup.

Backup Key
A unique logical name for this backup.
Cron Expression

A validCronexpression that you can use to control backup frequency. For example, to back up every 12 hours use a value of:0 0 /12 * * ?

Next Time Backup
When the next backup is due to run
Server Path for Backup

The directory to which local repository data should be backed up as files
The default is$ARTIFACTORY_HOME/backup/[backup_key]

Each run of this backup will create a new directory under this one with the time stamp as its name.

Send Mail to Admins if there are Backup Errors

If set, all Artifactory administrators will be notified by email if any problem is encountered during backup.

Exclude Builds
Notice,从Artifactory 6.6版本,排除构建checkbox is removed. To exclude builds, you'll need to add theartifactory-build-inforepository to the Excluded Repositories.
Retention Period

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.

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

Verify enough disk space is available for backup
If set, Artifactory will verify that the backup target location has enough disk space available to hold the backed up data. If there is not enough space available, Artifactory will abort the backup and write a message in the log file.
Incremental

When set, this backup should be incremental. In this case, only changes from the previous run will be backed up, so the process is very fast.

The backup directory name will be calledcurrent(而不是使用时间戳)。

The backup files can be used by any incremental file-system based backup utility (such asrsync).

Backup to a Zip Archive (Slow and CPU Intensive)

If set, backups will be created within a Zip archive.

Monitoring Backup Progress

During a system backup, Artifactory writes several messages to theARTIFACTORY_HOME/logs/artifactory.logfile. To monitor progress of the backup process, look for messages that indicate the beginning and the end of a full system export as in the following example:

2016-06-09 02:00:00,023 [art-exec-1] [INFO ] (o.a.s.ArtifactoryApplicationContext:508) - Beginning full system export... ... 2016-06-09 02:00:00,357 [art-exec-1] [INFO ] (o.a.s.ArtifactoryApplicationContext:620) - Full system export completed successfully.

Restoring a Backup

To restore a system backup you need perform a system import. For details please refer toSystem Import and Export.


  • No labels