Commit Graph

1046 Commits

Author SHA1 Message Date
Thomas Waldmann eab9f5a07b implement files cache mode control, fixes #911
You can now control the files cache mode using this option:

--files-cache={ctime,mtime,size,inode,rechunk,disabled}*

(only some combinations are supported)

Previously, only these modes were supported:
- mtime,size,inode (default of borg < 1.1.0rc4)
- mtime,size (by using --ignore-inode)
- disabled (by using --no-files-cache)

Now, you additionally get:
- ctime alternatively to mtime (more safe), e.g.:
  ctime,size,inode (this is the new default of borg >= 1.1.0rc4)
- rechunk (consider all files as changed, rechunk them)

Deprecated:
- --ignore-inodes (use modes without "inode")
- --no-files-cache (use "disabled" mode)

The tests needed some changes:
- previously, we use os.utime() to set a files mtime (atime) to specific
  values, but that does not work for ctime.
- now use time.sleep() to create the "latest file" that usually does
  not end up in the files cache (see FAQ)

(cherry picked from commit 5e2de8ba67)
2017-10-01 01:27:18 +02:00
Alexander Meshcheryakov d3533de5f7 Simplified rate limiting wrapper in FAQ
Exporting $RATE as environment variable is not need in this case.

And example does not use any bash specific features.
It should use default system shell instead.
(cherry picked from commit f7ec13eabb)
2017-09-26 23:51:06 +02:00
TW fa66015cb3 Merge pull request #3054 from ThomasWaldmann/update-create-docs-1.1
Update create docs (1.1-maint)
2017-09-23 23:45:02 +02:00
Thomas Waldmann cfc48d2899 docs: add auto compression example to borg create examples
(cherry picked from commit 3f16d91fd3)
2017-09-23 23:42:02 +02:00
Thomas Waldmann c616009724 docs: add compressor names to be more clear
(cherry picked from commit 0ec6c920b9)
2017-09-23 23:41:46 +02:00
Thomas Waldmann 354d3f0b4f fix docs: --compression lz4 is the default now, fixes #3034
(cherry picked from commit c88528512f)
2017-09-23 23:41:27 +02:00
Thomas Waldmann 055f34f025 docs: twitter account @borgbackup, fixes #2948
(cherry picked from commit 112bf43956)
2017-09-23 21:31:00 +02:00
Thomas Waldmann eacea02d8c docs: add note about metadata dedup and --no[ac]time, fixes #2518
(cherry picked from commit d8766df998)
2017-09-23 21:30:42 +02:00
Thomas Waldmann 313529b929 build_man 2017-09-10 00:08:25 +02:00
Thomas Waldmann 2d7dc08c8c build_usage 2017-09-10 00:07:45 +02:00
TW ae541b4027 Merge pull request #3013 from ThomasWaldmann/update-changes-1.1
update CHANGES (1.1-maint)
2017-09-09 23:51:48 +02:00
Thomas Waldmann 3ed6f2367c update CHANGES (1.1-maint) 2017-09-09 23:47:31 +02:00
TW a99060508f document utf-8 locale requirement for json mode, #2273 (#3009)
(cherry picked from commit 133e847f8e)
2017-09-08 21:12:46 +02:00
Markus Engelbrecht ff1c4d1f4c Use correct casing for macOS
(cherry picked from commit e157328228)
2017-09-07 02:56:34 +02:00
Markus Engelbrecht 6dab333616 Fix macOS keychain integration command
(cherry picked from commit aadb9cd2ee)
2017-09-07 02:56:21 +02:00
Thomas Waldmann 168293ea80 python setup.py build_man 2017-08-27 22:18:45 +02:00
Thomas Waldmann 9f61747dae python setup.py build_usage 2017-08-27 22:17:55 +02:00
Thomas Waldmann d07a6e14e7 add release date to changelog 2017-08-27 22:08:14 +02:00
Thomas Waldmann 24400fcecd update CHANGES (1.1-maint) 2017-08-27 21:48:29 +02:00
TW 1b7b58e712 Merge pull request #2964 from ThomasWaldmann/detect-attic-repos-1.1
Detect non-upgraded Attic repositories
2017-08-27 14:52:53 +02:00
Marian Beermann d5697fb4a8 always use microseconds for ISO 8601 output
(cherry picked from commit ab4981eff6)
2017-08-25 04:20:06 +02:00
Marian Beermann 008571228f one datetime formatter to rule them all
(cherry picked from commit a836f451ab)
2017-08-25 04:00:26 +02:00
Marian Beermann fa65c9b143 list: fix weird mixup of mtime/isomtime
(cherry picked from commit 2ff29891f1)
2017-08-25 03:38:30 +02:00
Lukas Fleischer ff93b6b972 Detect non-upgraded Attic repositories
When opening a repository, always try to read the magic number of the
latest segment and compare it to the Attic segment magic (unless the
repository is opened for upgrading). If an Attic segment is detected,
raise a dedicated exception, telling the user to upgrade the repository
first.

Fixes #1933.

(cherry picked from commit 0943b322e3)
2017-08-25 03:30:31 +02:00
rugk 0b3f8ad261
Renew asciinema/screencasts
Created with borg v1.1.0, so more up-to-date and split into different
parts (install, basic, advanced)…
Fixes https://github.com/borgbackup/borg/issues/669
2017-08-15 23:47:32 +02:00
Marian Beermann 405e5ac9e1 docs: common options: don't wrap options 2017-07-26 13:57:48 +02:00
Marian Beermann 8727b79325 docs: don't narrow right margin in sidebar toc
avoids overly narrow text in the FAQ toc
2017-07-26 13:54:55 +02:00
Marian Beermann 2ff4550d4b docs: tar: tarpipe example 2017-07-26 10:40:35 +02:00
enkore 77797a2fbf Merge pull request #2837 from milkey-mouse/fix392
Detail how to use macOS/GNOME/KDE keyrings for repo passwords (fixes #392)
2017-07-24 11:03:00 +02:00
Thomas Waldmann 43ecde1bde python setup.py build_usage 2017-07-23 17:12:01 +02:00
Thomas Waldmann 6b08ec78bb add release date to CHANGES 2017-07-23 17:07:43 +02:00
Thomas Waldmann 6c39c1c515 update CHANGES (master) 2017-07-23 17:00:56 +02:00
enkore eb3e7604d8 Merge pull request #2836 from enkore/docs/installation
Cleanup installation
2017-07-23 16:04:47 +02:00
Marian Beermann b3e0dd3761 docs: file system requirements, update segs per dir 2017-07-23 16:03:45 +02:00
TW d806d5213d fix checkpoints/parts reference in FAQ, fixes #2859 (#2861)
fix checkpoints/parts reference in FAQ, fixes #2859
2017-07-23 01:47:13 +02:00
TW c2f7e738ba Merge pull request #2846 from wzyboy/segment-filename
Document consequences of changing the segments_per_dir value
2017-07-21 22:23:13 +02:00
Zhuoyun Wei f0de6a4c90
Doc: add warning about changing segments_per_dir values 2017-07-21 12:26:24 -04:00
Zhuoyun Wei 7d07a9629e
Doc: update default values in sample config file 2017-07-21 12:26:17 -04:00
Marian Beermann cc93cbb202 docs: usage; remove strange blurb about tested platforms 2017-07-21 12:32:30 +02:00
Marian Beermann 735339c209 docs: streamline installation: platforms table 2017-07-21 12:32:30 +02:00
Marian Beermann ab773956c1 docs: streamline installation (2)
I can't give a good reason why anyone would care about this here.
This is right before distribution packages, which are per definition
compatible (sometimes tested, even).

Instead, mention it where it applies.
2017-07-21 12:32:30 +02:00
Marian Beermann 3d5a8016e6 docs: streamline installation: file systems 2017-07-21 12:32:30 +02:00
enkore a61462693a docs: recreate: fix wrong "remove unwanted files" example 2017-07-21 11:51:46 +02:00
rugk c5c361be0c Fix bashism in shell scripts (#2820)
Fix bashism in shell scripts, also fixes #2816

This makes the scripts fully POSIX-compatible.
Used shellcheck to check.
2017-07-20 00:23:59 +02:00
Milkey Mouse 756dea7e20
Detail how to use macOS/GNOME keyrings for repo passwords (fixes #392) 2017-07-19 14:20:28 -07:00
TW 26bc80f210 Merge pull request #2818 from takluyver/i2815
Use code markup for command line option headings
2017-07-15 17:01:05 +02:00
TW fafa18b0a9 Merge pull request #2824 from takluyver/i2811
Name backup directories with 'before-upgrade'
2017-07-15 16:56:58 +02:00
Thomas Kluyver ae2a1b8135 Name backup directories with 'before-upgrade'
Closes gh-2811
2017-07-15 16:23:08 +02:00
Thomas Kluyver 0edad19ee0 Update source-install about doc dependencies
Closes gh-2795
2017-07-15 15:49:55 +02:00
Thomas Kluyver 0fcdb97f5d Fix cross reference 2017-07-15 15:03:46 +02:00