A BackupQueue for date-stamped backups, e.g. foo.log
, foo.2020-07-24.log
rotor::DirectoryQueue
-> rotor::BackupQueue
-> rotor::BackupQueueDateTime
-> BackupQueueDate
new()
BackupQueueDate$new( origin, dir = dirname(origin), max_backups = Inf, compression = FALSE, fmt = "%Y-%m-%d", cache_backups = FALSE, backup_dir = NULL )
set_fmt()
BackupQueueDate$set_fmt(x)
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()
).
Other R6 Classes:
BackupQueueDateTime
,
BackupQueueIndex
,
BackupQueue
,
Cache
,
DirectoryQueue