orderly_backup: Create object for managing orderly db backups and do first...

View source: R/backup.R

orderly_backupR Documentation

Create object for managing orderly db backups and do first backup

Description

Create object for managing orderly db backups and do first backup

Usage

orderly_backup(config, backup_period)

Arguments

config

Orderly config.

backup_period

Period (in seconds) between DB backups. This is a guide only as backups happen on a API preroute - if more than this many seconds have elapsed when the API receives a request then a backup of the db will be performed. This creates a copy of orderly's destination database inbackup/db with the same filename as the destination database, even if that database typically lives outside of the orderly tree. In case of corruption of the database, this backup can be manually moved into place. This is only needed if you are storing information alongside the core orderly tables (as done by OrderlyWeb). If NULL backup is skipped.

Value

orderly_backup_ object


vimc/orderly.server documentation built on July 27, 2023, 5:07 p.m.