BackupQueueDate {rotor} | R Documentation |
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
rotor::DirectoryQueue
-> rotor::BackupQueue
-> rotor::BackupQueueDateTime
-> BackupQueueDate
Methods
Public methods
Inherited methods
rotor::DirectoryQueue$set_dir()
rotor::BackupQueue$print()
rotor::BackupQueue$prune_identical()
rotor::BackupQueue$push_backup()
rotor::BackupQueue$set_backup_dir()
rotor::BackupQueue$set_compression()
rotor::BackupQueue$set_file()
rotor::BackupQueue$set_origin()
rotor::BackupQueueDateTime$prune()
rotor::BackupQueueDateTime$push()
rotor::BackupQueueDateTime$set_cache_backups()
rotor::BackupQueueDateTime$set_max_backups()
rotor::BackupQueueDateTime$should_rotate()
rotor::BackupQueueDateTime$update_backups_cache()
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
Other R6 Classes:
BackupQueueDateTime
,
BackupQueueIndex
,
BackupQueue
,
Cache
,
DirectoryQueue
[Package rotor version 0.3.7 Index]