Dan Helfman
cf545ae93a
Mocking out glob() in test so it doesn't hit the filesystem, and simplifying comprehension.
2016-02-13 16:41:17 -08:00
Robin Schneider
953d08ba63
Made globing for source_directories the default.
...
Don’t remove non existing files/directories from the list and let
attic/borg handle this.
2016-02-13 21:10:05 +01:00
Robin Schneider
88da0c3039
Added support for file globs in source_directories.
...
source_directories_glob can be used to enable glob support (defaults to
disabled).
2016-02-13 21:07:07 +01:00
Dan Helfman
0012e0cdea
Support borg create --umask. (Merge PR from ypid.)
2016-02-13 10:59:43 -08:00
Dan Helfman
049f9c8853
Added support for --one-file-system for Borg.
2016-02-13 10:43:31 -08:00
Robin Schneider
9e52be6ffd
Use /\s+/ to split source_directories to handle 1+ spaces.
...
This bug is can be quite annoying because when you accidentally used
something like:
```ini
[location]
source_directories: backup_one backup_two
; A (Additional space here)
```
It would call Attic/Borg with ('backup_one', '', 'backup_two') which in
turn backups your whole $PWD.
2016-02-07 23:30:54 +01:00
Dan Helfman
8a58b72934
Better error message when configuration file is missing.
2015-09-06 15:55:14 -07:00
Dan Helfman
6dc0173b74
#11 : Fixed parsing of punctuation in configuration file.
2015-09-06 15:33:56 -07:00
Dan Helfman
3a9e32a411
#9 : New configuration option for the encryption passphrase. #10 : Support for Borg's new archive compression feature.
2015-09-02 22:48:07 -07:00
Dan Helfman
996ca19dac
Adding version test.
2015-07-30 08:13:27 -07:00
Dan Helfman
9c06874073
#1 : Add support for "borg check --last N" to Borg backend.
2015-07-27 21:47:52 -07:00
Dan Helfman
952a691f60
Linking to both Attic and Borg check docs from sample config.
2015-07-26 22:02:43 -07:00
Dan Helfman
58d33503a1
As a convenience to new users, allow a missing default excludes file.
2015-07-26 21:06:03 -07:00
Dan Helfman
7097ed67a6
New "borgmatic" command to support Borg backup software, a fork of Attic.
2015-07-18 18:35:29 -07:00
Dan Helfman
5bf3a4875c
Flag for multiple levels of verbosity: some, and lots.
2015-07-17 21:58:50 -07:00
Dan Helfman
d9125451f5
Improved mocking of Python builtins in unit tests.
2015-06-14 11:00:46 -07:00
Dan Helfman
cfd61dc1d1
New configuration section for customizing which Attic consistency checks run, if any.
2015-05-10 22:00:31 -07:00
Dan Helfman
ac6c927a23
Backout out "helpful" error message that broke --verbose.
2015-03-15 10:44:18 -07:00
Dan Helfman
ee5697ac37
Fixing Python 3 test incompatibility with builtins.
2015-03-15 10:14:16 -07:00
Dan Helfman
aa48b95ee7
Bumping setup.py version.
2015-03-15 09:52:40 -07:00
Dan Helfman
eaf2bd22c1
After pruning, run attic's consistency checks on all archives.
2015-02-14 09:23:40 -08:00
Dan Helfman
b1113d57ae
Correcting doc string based on updated command-line arguments source.
2014-12-20 11:42:27 -08:00
Dan Helfman
dbd312981e
Integration tests for argument parsing.
2014-12-20 11:37:25 -08:00
Dan Helfman
056ed7184b
Configuration support for additional attic prune flags: keep_within, keep_hourly, keep_yearly, and prefix.
2014-12-06 18:35:20 -08:00
Dan Helfman
b94c106a36
For convenience, adding some short-form arguments in addition to the long-form arguments.
2014-12-01 22:47:51 -08:00
Dan Helfman
626dd66254
Preventing ConfigParser from swallowing file read IOErrors, so that the user gets a more useful message.
2014-12-01 22:35:25 -08:00
Dan Helfman
d46e370950
Fixing configparser import for Python 3.
2014-12-01 22:14:35 -08:00
Dan Helfman
69971cd7e2
Python 3 ConfigParser compatibility.
2014-12-01 20:26:19 -08:00
Dan Helfman
45c6541266
Python 3 compatible exceptions.
2014-12-01 20:23:29 -08:00
Dan Helfman
d182509771
Unit tests for attic invocation code.
2014-11-17 22:19:34 -08:00
Dan Helfman
e567158246
Adding unit tests for config module.
2014-11-17 21:57:44 -08:00
Dan Helfman
16bebe9832
Initial import.
2014-10-30 22:34:03 -07:00