Newer
Older
gitbucket / data / conf / backup.conf
@Pascal Gollor Pascal Gollor on 23 Dec 2018 492 bytes add backup plugin
# Backup timing (Required)
# For details, see http://www.quartz-scheduler.org/documentation/quartz-2.x/tutorials/crontrigger.html
# This example, backup 12am every day
akka {
  quartz {
    schedules {
      Backup {
        expression = "0 0 0 * * ?"
      }
    }
  }
}

backup {
  archive-destination = """/srv/gitbucket/backup"""

	# Maximum number of backup archives to keep (if 0 or negative value, keep unlimited) (Optional)
  # If not specified, keep unlimited
  archive-limit = 10
}