Skip to content

deepfryed/roundup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Roundup

Description

A simple snapshot cleaner to keep the right number of historical data backups.

Synopsis

require 'roundup'

Roundup.new(path: '/path/to/snapshots/**/*.gz', dryrun: false).clean!
Roundup.new(path: '/path/to/snapshots/**/*.gz').files_to_keep   #=> [Array]
Roundup.new(path: '/path/to/snapshots/**/*.gz').files_to_remove #=> [Array]
Roundup.new(path: '/path/to/snapshots/**/*.gz', policy: {hourly: 24, daily: 30, monthly: 12}).clean!

License

BSD

About

A simple snapshot cleaner to keep the right number of historical data backups

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages