Classes
Methods
(async) archiveFiles()
Archive files to a run directory
.Archive files to a run directory
- Source:
cleanupOldRuns()
Clean up old archive runs
.Clean up old archive runs
- Source:
(async) compressFile()
Compress a file using gzip
.Compress a file using gzip
- Source:
createArchiveRun()
Create new archive run directory
.Create new archive run directory
- Source:
(async) cycleOldLogs()
Main cycling operation
.Main cycling operation
- Source:
(async) decompressFile()
Decompress a gzipped file
.Decompress a gzipped file
- Source:
getArchiveStats()
Get archive statistics
.Get archive statistics
- Source:
getDateString()
Get current date string for log file identification
.Get current date string for log file identification
- Source:
getDirectorySize()
Get directory size and file count
.Get directory size and file count
- Source:
getFileStats()
Get file stats safely
.Get file stats safely
- Source:
getFilesToArchive()
Get all log files that should be archived
.Get all log files that should be archived
- Source:
getTimestamp()
Get timestamp for archive naming
.Get timestamp for archive naming
- Source:
(async) restoreFromArchive()
Restore logs from an archive run
.Restore logs from an archive run
- Source:
shouldArchiveFile()
Check if a file should be archived based on age or size
.Check if a file should be archived based on age or size
- Source: