Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

BackupQueueDate

An R6 class for managing datestamped backups


Description

A BackupQueue for date-stamped backups, e.g. foo.log, foo.2020-07-24.log

Details

This class is part of the R6 API of rotor which is intended for developers that want to extend this package. For normal usage, the simpler functional API is recommended (see rotate()).

Super classes

Methods

Public methods


Method new()

Usage
BackupQueueDate$new(
  origin,
  dir = dirname(origin),
  max_backups = Inf,
  compression = FALSE,
  fmt = "%Y-%m-%d",
  cache_backups = FALSE,
  backup_dir = NULL
)

Method set_fmt()

Usage
BackupQueueDate$set_fmt(x)

See Also


rotor

Log Rotation and Conditional Backups

v0.3.5
MIT + file LICENSE
Authors
Stefan Fleck [aut, cre] (<https://orcid.org/0000-0003-3344-9851>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.