Sign inSign up

math2306/rotated-delete

By math2306

•Updated over 1 year ago

A tiny Docker image to provide you with the superb rotate-backups script without installation

Image
0

100K+

math2306/rotated-delete repository overview

Forked from cismet/docker-rotated-delete⁠ to build versioned tags on DockerHub.

Source: https://github.com/EmteZogaf/docker-rotated-delete⁠

⁠docker-rotated-delete

A tiny Docker image to provide you with the superb rotate-backups script without installation

⁠What it is not

  • a backup script
  • a backup utility

⁠What it is

⁠What can i do with it

  • delete files in a way that certain files are preserved (matching the parameters)

⁠Prerequisites

  • Docker

⁠usage with

docker run -t --rm -v /var/backups/milquetoast/backups/:/data cismet/rotated-delete --daily=10 --weekly=5 --monthly=13 --yearly=5

⁠playground

./createTestFiles.js
ls testFiles
docker run -t --rm -v $(pwd)/testFiles:/data cismet/rotated-delete --daily=8 --weekly=5 --monthly=13 --yearly=5

Tag summary

Content type

Image

Digest

sha256:6e099141d…

Size

23.4 MB

Last updated

over 1 year ago

docker pull math2306/rotated-delete