Commit Graph

2022 Commits

Author SHA1 Message Date
Marian Beermann ffc8cf6c97 Append-only mode for repositories
New repository config item, repository.append_only, causes Borg to never
delete or append to existing data files. Hints and indices are handled
as before, old ones are deleted, because they can get quite large, but
are automatically reconstructed: no need to keep them.

When append_only is activated a file /path/to/repo/transactions/<NUMBER>
will be created for every commit.
Deleting all segments <NUMBER+1> and higher will rollback to that commit.

Note that this only influences Borg behaviour. Since repository config
can't be altered remotely (except for repository.key) this can't be
disabled when accessed remotely over SSH with "borg serve" as the
forced command.

This is only a feature to support the use case, and does not replace
appropriate file system permissions or monitoring.

Resolves #809
2016-03-31 17:29:17 +02:00
TW bf208479d7 Merge pull request #801 from ThomasWaldmann/cosmetic-fix
fix capitalization, add ellipses, change log level to debug for 2 mes…
2016-03-26 17:16:13 +01:00
Thomas Waldmann 3e120378e0 fix capitalization, add ellipses, change log level to debug for 2 messages, fixes #798 2016-03-26 14:31:54 +01:00
Thomas Waldmann 40dbb7411c fix cygwin requirements (gcc-g++) 2016-03-21 16:11:43 +01:00
TW 42beb2dc92 Merge pull request #785 from pyhalov/illumos-build-1.0
Fix build on illumos
2016-03-21 16:07:52 +01:00
TW e435a5ac41 Merge pull request #784 from pyhalov/doors-1.0
Don't try to backup doors or event ports (Solaris and derivates).
2016-03-21 16:04:35 +01:00
Alexander Pyhalov f63be63347 Fix build on illumos 2016-03-21 17:39:55 +03:00
Alexander Pyhalov e98f823f34 Don't try to backup doors or event ports 2016-03-21 17:35:51 +03:00
Thomas Waldmann f486a6772c do not sleep for >60s while waiting for lock, fixes #773 2016-03-19 21:19:30 +01:00
Marian Beermann 489eb78cbb Possible fix to silently skipping EIO and the like? #748 2016-03-16 01:32:48 +01:00
TW 648761fc03 Merge pull request #739 from ThomasWaldmann/remove-libc-display
remove useless/misleading libc version display, fixes #738
2016-03-12 02:14:45 +01:00
Thomas Waldmann 3115bb4d1b remove useless/misleading libc version display, fixes #738
platform.libc_ver() is broken, it uses string comparison to compare version numbers.
2016-03-12 01:29:14 +01:00
TW 9be520b64a Merge pull request #737 from ThomasWaldmann/document-network-fs-issues
document how to debug / file filesystem issues, fixes #664
2016-03-12 00:51:14 +01:00
Thomas Waldmann b6966a56dc document how to debug / file filesystem issues, fixes #664
if the filesystem issue can't be reproduced with a known-good,
local fs like ext4 on linux, the issue is likely not borg's fault.
2016-03-12 00:48:26 +01:00
TW b2b5ca718c Merge pull request #736 from ThomasWaldmann/fix-reproducible
fix reproducible build of api docs, fixes #399
2016-03-12 00:09:13 +01:00
Thomas Waldmann 7abcaa0d9d fix reproducible build of api docs 2016-03-11 23:37:37 +01:00
TW 95f928699b Merge pull request #733 from ipha/master
Unpack file stats before passing to fuse
2016-03-10 22:35:25 +01:00
TW ec0e1553d6 Merge pull request #728 from alexskc/master
CSS !important overwrite. Fix borgbackup/borg#727
2016-03-10 22:24:58 +01:00
Mitch Bigelow 353774973e file stats are packed with 'int_to_bigint' in the archive. Unpack these before passing to llfuse 2016-03-10 15:50:45 -05:00
alexskc 2931891352 CSS !important overwrite. Fix borgbackup/borg#727 2016-03-09 19:01:49 -06:00
TW 07cd2fa143 Merge pull request #726 from ThomasWaldmann/fuse-requirements
update llfuse requirement, llfuse 1.0 works
2016-03-09 16:01:42 +01:00
Thomas Waldmann dd6a795536 update llfuse requirement, llfuse 1.0 works 2016-03-09 15:45:10 +01:00
Thomas Waldmann c7776fa271 update OS / dist packages on build machines, fixes #717 2016-03-05 21:15:25 +01:00
TW a2e356dccf Merge pull request #715 from ThomasWaldmann/roundtrip-password
implement password roundtrip, fixes #695
2016-03-05 16:37:20 +01:00
Thomas Waldmann 95c4cf221d implement password roundtrip, fixes #695 2016-03-05 16:21:44 +01:00
Thomas Waldmann 96702ec1e3 prepare CHANGES for 1.0.0 2016-03-05 14:46:28 +01:00
TW f34710fba1 Merge pull request #713 from ThomasWaldmann/update-changes
updated CHANGES
2016-03-05 03:28:54 +01:00
Thomas Waldmann fa797655a6 updated CHANGES 2016-03-05 02:23:01 +01:00
TW b046006871 Merge pull request #712 from ThomasWaldmann/pw-retries
added retry counter for passwords, fixes #703
2016-03-05 02:19:14 +01:00
Thomas Waldmann 3dc2fc03f0 added retry counter for passwords, fixes #703 2016-03-05 00:54:19 +01:00
TW bc93dfab5a Merge pull request #710 from petrcech/patch-1
Update README.rst to new changelog location
2016-03-03 11:09:06 +01:00
petrcech 351da4c88f Update README.rst to new changelog location
Update README.rst to new changelog location in docs/changes.rst
2016-03-03 07:08:19 +01:00
TW 421dfe3af8 Merge pull request #709 from manwegit/feature/TT-to-AUTHORS
Add myself (Teemu) to AUTHORS
2016-03-02 17:59:06 +01:00
Teemu Toivanen 76da91035e Add myself (Teemu) to AUTHORS 2016-03-02 17:52:48 +02:00
TW fbc4172c73 Merge pull request #705 from manwegit/feature/docs-bwlimit
Faq: how to limit bandwidth
2016-03-02 15:49:55 +01:00
TW 592a1a80bc Merge pull request #708 from ThomasWaldmann/fix-compiler-warnings
fix compiler warnings, fixes #697
2016-03-02 15:43:51 +01:00
TW 39b6b57690 Merge pull request #707 from ThomasWaldmann/fix-changes
changes: fix old chunker params, fixes #698
2016-03-02 14:47:16 +01:00
Thomas Waldmann b461091be1 fix compiler warnings, fixes #697 2016-03-02 14:45:02 +01:00
Thomas Waldmann 1324ef51a9 changes: fix old chunker params, fixes #698 2016-03-02 14:22:52 +01:00
Teemu Toivanen 9883b1af51 Faq: how to limit bandwidth
Example to faq documentation how bandwidth limiting can be done with pipeviewer.
2016-03-02 08:40:16 +02:00
TW 80cd1d6849 Merge pull request #702 from manwegit/feature/disable_remote_mkdirs
Remote end does not need cache nor keys directories, do not make them.
2016-03-01 15:34:40 +01:00
Teemu Toivanen 9c9ac2fd58 Remote end does not need cache nor keys directories, do not make them.
Move keys and cache creation to get_keys_dir and get_cache_dir helper functions.
And remove keys_dir and cache_dir from run(). cache and keys will only be created
by code which uses them. Remote end should not call get_keys_dir and get_cache_dir
2016-03-01 12:04:59 +02:00
Thomas Waldmann 66c5735b58 update CHANGES 2016-02-28 00:35:02 +01:00
Thomas Waldmann 111bb19443 Vagrant: drop ubuntu precise (12.04)
it only has python 3.2 and we require >= 3.4.
2016-02-27 21:31:30 +01:00
Thomas Waldmann 21d9436992 Vagrant: use pyinstaller v3.1.1 2016-02-27 21:22:06 +01:00
Thomas Waldmann a4ec69c610 setup.py: add note about llfuse 0.42 2016-02-27 20:59:32 +01:00
Thomas Waldmann 3ae8a95935 ran build_api and build_usage 2016-02-27 20:55:14 +01:00
Thomas Waldmann 1ce41da704 update CHANGES, 1.0.0rc2 2016-02-27 20:53:05 +01:00
Thomas Waldmann 64c7b5db21 fix travis badge 2016-02-27 19:05:46 +01:00
TW 6967a6eb75 Merge pull request #694 from ThomasWaldmann/update-docs
update and improve docs
2016-02-27 18:01:22 +01:00