backuppc_pool_reader

Crates.iobackuppc_pool_reader
lib.rsbackuppc_pool_reader
version2.0.1
sourcesrc
created_at2024-05-06 08:15:17.216342
updated_at2024-09-08 15:19:48.674662
descriptionA Library and CLI for reading BackupPC pool files (contains a FUSE file system to mount the pool)
homepagehttps://gogs.shadoware.org/phoenix/backuppc_pool
repositoryhttps://gogs.shadoware.org/phoenix/backuppc_pool.git
max_upload_size
id1230973
size127,153
Ulrich Vandenhekke (phoenix741)

documentation

README

BackupPC Pool Reader

BackupPC Pool Reader is a simple tool designed to read the BackupPC pool and list the files in it. This tool is built using Rust, providing efficient and fast performance.

Features

  • Read the BackupPC pool: The tool can access and read the BackupPC pool, providing a list of files within it.
  • Fast and efficient: Built with Rust, this tool provides fast and efficient performance.

Installation

Ensure you have Rust and Cargo installed on your machine. If not, you can install them from here.

For using the library in your project:

cargo add backuppc_pool_reader

For using the tool:

cargo install backuppc_pool_reader

Usage

As a binary

The tool propose the following commands:

The command cat will display the content of a file in the pool.

BPC_TOPDIR=/var/lib/backuppc backuppc_pool_reader cat --host pc-ulrich --number 10 --share /home /ulrich/Downloads/test.txt

The command ls will list the content of a directory in the pool.

BPC_TOPDIR=/var/lib/backuppc backuppc_pool_reader ls pc-ulrich  10 /home /ulrich/Downloads

The command host will list all the hostname

BPC_TOPDIR=/var/lib/backuppc backuppc_pool_reader host

The command backups will list all the backups for a host

BPC_TOPDIR=/var/lib/backuppc backuppc_pool_reader backups pc-ulrich

The command mount will mount the pool in a directory to access to all host, backups and share files:

BPC_TOPDIR=/var/lib/backuppc backuppc_pool_reader mount /tmp/backuppc
Commit count: 0

cargo fmt