Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/filters.py
Commit message (Collapse)AuthorAgeFilesLines
* Log failed command lineArthur de Jong2015-07-031-2/+4
|
* Make filters context managersArthur de Jong2015-05-151-0/+13
| | | | | This ensures that open files and streams are properly closed when an exception occurs.
* Catch certain problems reading JSON filesArthur de Jong2015-05-071-2/+2
| | | | | This also replaces catches IOError by catching EnvironmentError which covers a wider range of errors.
* Support both python 2 and 3Arthur de Jong2015-03-011-5/+5
|
* Implement a command to list backup contentsArthur de Jong2015-03-011-0/+3
| | | | | This reads snapshot file list and filters and formats the output to be like ls.
* Implement xz compressionArthur de Jong2015-02-121-0/+12
|
* Improvements to the way gpg is calledArthur de Jong2015-02-121-7/+8
|
* Implement a set-keys commandArthur de Jong2015-02-121-0/+18
| | | | | | This configures which PGP keys should be able to decrypt the backup. At least for one of the keys specified the private key should available during backup runs to be able to verify repository meta-data.
* Implement bzip2 compressionArthur de Jong2015-02-121-0/+12
|
* Refactor filtersArthur de Jong2015-02-121-0/+130
This prepares for configuration of compression and encryption. The subprocess-related readers and writers have been moved to a separate module and abstracted by Filter objects. The repository now includes functions for detecting compression and encryption, based on file names in the repository. The restore script is now partially generated from commands that are specified in the configured filters.