Giter Site home page Giter Site logo

borg-repo-stats's Introduction

borg-repo-stats

Show statistics about Borg Backup repository.

Features

  • Print human-readable text or JSON.

Requirements

  • Borg Backup v1.1.0 or newer.

Installation

$ base=https://github.com/rremizov/borg-repo-stats/releases/latest/download/ &&
  curl -L $base/borg-repo-stats.$(uname -s)-$(uname -m) > /tmp/borg-repo-stats &&
  sudo mv /tmp/borg-repo-stats /usr/local/bin/borg-repo-stats &&
  chmod +x /usr/local/bin/borg-repo-stats

Usage

$ borg-repo-stats ~/borg/repository/
Repository: repository
Total size: 263 MB
Archive: 2020-04-21T07:39:01-1.1.9
Created at: 4 hours from now

Files count by directory (the last archive only):
a: 41 files
a/b: 41 files
a/b/c: 41 files
a/b/c/d: 41 files
a/b/c/d/e: 6 files
a/b/c/d/f: 6 files
a/b/c/d/g/h: 6 files
a/b/c/d/i: 5 files
a/b/c/d/g: 4 files
a/b/c/d/k: 2 files

Size by directory (the last archive only):
a: 13 MB
a/b: 13 MB
a/b/c: 13 MB
a/b/c/d: 13 MB
a/b/c/d/e: 509 B
a/b/c/d/f: 6.0 kB
a/b/c/d/g/h: 509 B
a/b/c/d/i: 557 kB
a/b/c/d/g: 2.3 MB
a/b/c/d/k: 72 B

borg-repo-stats's People

Contributors

rremizov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

heartshare

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.