gfs-cleaner

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2019 License: MIT Imports: 12 Imported by: 0

README

GFS Cleaner

It is a GFS (Grandfather-Father-Son) backup files cleaner.

Install

Linux x64

sudo wget https://github.com/icebob/gfs-cleaner/releases/download/v0.1.0/gfs-cleaner-0.1.0-linux-amd64 -O /usr/local/bin/gfs-cleaner
sudo chmod +x /usr/local/bin/gfs-cleaner

Usage

Clean old backup files from backup folder

$ gfs-cleaner clean backup

Default retentions:

  • 7 daily backups
  • 4 weekly backups
  • 12 monthly backups
  • 10 yearly backups

Clean old backup files with custom retention values

$ gfs-cleaner clean backup --daily 5 --weekly 2 --monthly 10 --yearly 10

License

gfs-cleaner is available under the MIT license.

Contact

Copyright (C) 2019 Icebob

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL