Extensive list of supported features

Brebis browses your backups and checks several informations.

Supported backups

  • Tar file.
  • Tar file with gzip compression.
  • Tar file with bzip2 compression.
  • Gzip file.
  • Bzip2 file.
  • Zip archive.
  • tree of uncompressed files.

It is easy to write an interface for a new type of archive, take a look at checktar.py and checkzip.py in the repository to easily understand how to make it by yourself!

About the archive itself

  • detect corrupted archives.
  • detect incorrect archive sizes (equal to, smaller than, greater than a size you provide).
  • check the hash sum (md5, sha1, sha224, sha256, sha384, sha512) of the archive.
  • check the uid/gid of the archive.
  • check its mode (state of the rights to read, write, execute for the user or the user group or the others).

About the files in the archive

  • identify missing files, thanks to a list you provide.
  • check the size of files (equal to, smaller than, greater than a size you provide).
  • check the type of the files in the archive (file, directory, socket, symbolic link, bloc, character)
  • browses for the mode of the files in the archive (state of the rights to read, write, execute for the user or the user group or the others)
  • check for the hash sum (md5, sha1, sha224, sha256, sha384, sha512) of the files in the archive.
  • identify an unexpected file that should absolutly not be in the archive, thanks to a list you provide.
  • generate automatically a list of files in the archive you can reuse in order to detect any change