#!/bin/bash VERSION=dev if [[ "$1" == "-v" ]] || [[ "$1" == "--version" ]] || [[ "$1" == "version" ]]; then echo "$( basename "$0" ) - $VERSION" exit 0 fi [[ ! -d /var/lib/backuppc/pc ]] && echo "BackupPC directory not found (/var/lib/backuppc/pc)." && exit 1 if ! cd "/var/lib/backuppc/pc"; then echo "Failed to enter in BackupPC directory (/var/lib/backuppc/pc)." exit 1 fi OUT="
Host | Nb backups | |
---|---|---|
Before V4 | After V4 | |
$h | $v3 | $v4 |
Total : | $t_v3 | $t_v4 |