backup_cleanup_cron

command module
v0.0.0-...-dcefac5 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2019 License: BSD-2-Clause Imports: 9 Imported by: 0

README

Cron for cleanup Backups

Install

go get github.com/bborbe/backup-cleanup

Run Backup

One time

backup-cleanup \
-logtostderr \
-v=2 \
-lock=/backup/backup-cleanup.lock \
-dir=/backup \
-match='backup_.*tar.gz' \
-keep=5 \
-one-time

Cron

backup-cleanup \
-logtostderr \
-v=2 \
-lock=/backup/backup-cleanup.lock \
-dir=/backup \
-match='backup_.*tar.gz' \
-keep=5 \
-wait=1h

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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