Commit Graph

6447 Commits

Author SHA1 Message Date
TW 56a75ee691
Merge pull request #5766 from ThomasWaldmann/remote-options
--remote-* option names deprecation
2021-04-16 19:07:44 +02:00
Thomas Waldmann 6b838febe8 s/remote_(buffer|ratelimit)/upload_(buffer/ratelimit)/g 2021-04-16 15:48:10 +02:00
Thomas Waldmann 40e4aa085f add --upload-(ratelimit|buffer), deprecate --remote-*, fixes #5611 2021-04-16 15:45:10 +02:00
TW 5543e3b74b
Merge pull request #5765 from ThomasWaldmann/numeric-ids
--numeric-ids
2021-04-16 15:34:19 +02:00
Thomas Waldmann 6f9b9e5a53 s/numeric_owner/numeric_ids/g 2021-04-16 15:02:16 +02:00
Thomas Waldmann 251ce11fd8 add --numeric-ids, deprecate --numeric-owner option, fixes #5724 2021-04-16 14:52:12 +02:00
TW c88a37eea4
Merge pull request #5737 from adrian5/master
docs: Add commas to pattern help section
2021-03-20 14:22:30 +01:00
adrian5 6f371d5522 docs: Add commas to pattern help section 2021-03-19 09:34:51 +01:00
TW 9776754b89
Merge pull request #5708 from rblenis/diff-json-lines
add --json-lines option to diff command
2021-03-14 21:04:39 +01:00
Robert Blenis b2dea4422e add --json-lines option to diff command 2021-03-13 11:50:55 -05:00
TW eeda4650ae
Merge pull request #5730 from ThomasWaldmann/disable-py310-testing-master
don't test on py310 for now
2021-03-12 20:32:00 +01:00
Thomas Waldmann 9884104219 don't test on py310 for now
it breaks everything due to issue #5729 - reenable after fixing that.
2021-03-12 20:10:11 +01:00
TW 18b58cc701
Merge pull request #5725 from ThomasWaldmann/mount-name-mapping
mount: implement --numeric-owner (default: False!)
2021-03-11 14:14:25 +01:00
Thomas Waldmann bbccdbd81c mount: implement --numeric-owner (default: False!), fixes #2377
this is different default behaviour than in borg < 1.2:

default (numeric_owner=False) is to use the user/group name from the archive,
look up the local uid / gid and then use that for the FUSE fs.

when --numeric-owner is given (numeric_owner=True), then the uid/gid
from the archive is directly used (as it was the default behaviour in
borg < 1.2).

this was implemented like this (changing the default behaviour) to make
borg mount and borg extract behave more similar considering usage of
user/group numeric archived ids or archived names mapped to corresponding
numeric local system ids.

also, both now use the same function to get the uid/gid from the item.

fuse:
- add user and group name entries to default_dir
- also: set internal_dict(!) of new Item with data from Item.as_dict()
2021-03-07 18:16:23 +01:00
TW 1ef7519823
Merge pull request #5714 from ThomasWaldmann/drop-old-buffer-protocol-support-parts-master
add support and testing for python 3.10
2021-02-28 23:15:00 +01:00
TW 086c0f2a6e
Merge pull request #5713 from ThomasWaldmann/files-cache-debug-logging-master
verbose files cache logging via --debug-topic=files_cache, fixes #5659
2021-02-28 23:14:28 +01:00
TW bffb3151a5
Merge pull request #5712 from ThomasWaldmann/repo-config-nonint-values-master
Repo config nonint values (master)
2021-02-28 22:59:24 +01:00
Thomas Waldmann 9f4a6e5574 add support and testing for python 3.10 2021-02-28 22:49:03 +01:00
Thomas Waldmann 2211b840a3 verbose files cache logging via --debug-topic=files_cache, fixes #5659 2021-02-28 22:39:44 +01:00
Thomas Waldmann d44836a865 config: accept non-int value for max_segment_size
borg config REPO max_segment_size 500M

note: when setting a non-int value for this in a repo config, using the repo will require borg >= 1.1.16.
2021-02-28 22:28:58 +01:00
Thomas Waldmann 99aa15b850 config: accept non-int value for storage_quota
borg config REPO storage_quota 100G

note: when setting a non-int value for this in a repo config, using the repo will require borg >= 1.1.16.
2021-02-28 22:27:48 +01:00
TW 29686798af
Merge pull request #5691 from m3nu/issue/5660/macos-fuse-docs
Add short note on pointing setup.py to openssl on macOS
2021-02-21 23:53:37 +01:00
TW 18dcbe9fbd
Merge pull request #5702 from ThomasWaldmann/noacls-noxattrs-master
implement --noacls --noxattrs (master)
2021-02-21 23:49:36 +01:00
Manu 2ad2c90d6b Use macFUSE instead of osxfuse 2021-02-18 21:36:14 +08:00
Manu 9d54507e22 Wording update, combine paras. 2021-02-17 22:06:46 +08:00
Manu 2729529ee2 Add note on macFUSE dependency. 2021-02-17 08:44:49 +08:00
Thomas Waldmann d4971e2819 some micro-opts in stat_ext_attrs 2021-02-16 23:24:05 +01:00
Thomas Waldmann 1b65db990d create/extract: add --noxattrs option, #3955
when given with borg create, borg will not get xattrs from input files (and thus, it will not archive xattrs).

when given with borg extract, borg will not read xattrs from archive and it will not set xattrs on extracted files.
2021-02-16 23:20:28 +01:00
Thomas Waldmann 9412a8430e create/extract: add --noacls option, #3955
when given with borg create, borg will not get ACLs from input files (and thus, it will not archive ACLs).

when given with borg extract, borg will not read ACLs from archive and it will not set ACLs on extracted files.
2021-02-16 22:43:08 +01:00
TW 1f9ac38848
Merge pull request #5699 from ThomasWaldmann/vagrant-updates-master
use pyinstaller v4.2, fixes #5671
2021-02-16 00:08:17 +01:00
Thomas Waldmann 589612df90 use pyinstaller v4.2, fixes #5671 2021-02-16 00:05:07 +01:00
Manu 0b5d332a89 Add short note on pointing setup.py to openssl on macOS 2021-02-15 11:54:21 +08:00
TW 358587649a
Merge pull request #5687 from mtrower/do-not-exclude-var-cache-#5625
docs: remove /var/cache exclusion in example commands
2021-02-13 16:55:37 +01:00
Matthew R. Trower 1e01aca301 docs: remove /var/cache exclusion in example commands
This is generally a poor idea and shouldn't be promoted through examples.

Fixes #5625
2021-02-12 14:32:33 -06:00
Manu f8d7b9c232
Recommend download via CLI on macOS (#5682)
docs: recommend download via CLI on macOS

otherwise (browser) one has to remove the quarantine xattr.
2021-02-11 21:31:40 +01:00
Manu 78b94adc06
Update macOS install instructions (#5677)
update macOS install instructions. Fixes #5522, #5622.
2021-02-08 20:09:37 +01:00
TW 61f6a4b732
Merge pull request #5676 from m3nu/issue/4360/json-logs
Pass args.log_json to FilesystemObjectProcessors/Statistics instance
2021-02-07 20:05:44 +01:00
Manu a84ead8e7c Pass args.log_json to FilesystemObjectProcessors/Statistics instance 2021-02-07 10:42:46 +08:00
TW 940768ef2a
Merge pull request #5672 from ThomasWaldmann/rel120b2
Release 1.2.0b2
2021-02-06 13:49:16 +01:00
Thomas Waldmann ae5c5653a8 build_man 2021-02-06 01:32:54 +01:00
Thomas Waldmann e48289e8b7 build_usage 2021-02-06 01:32:02 +01:00
Thomas Waldmann 6561d7b478 update CHANGES 2021-02-06 01:24:14 +01:00
Thomas Waldmann 3d21dd6d55 fix rst markup in FAQ 2021-02-06 01:24:14 +01:00
Thomas Waldmann b1fff5dd39 FAQ: project_name -> Borg
see changeset 8d830d069f where this was
started.
2021-02-06 01:24:14 +01:00
Thomas Waldmann 10368f9c2c minor fix: fix order issue in test 2021-02-06 01:24:14 +01:00
TW 0ed75ca01d
Merge pull request #5670 from ThomasWaldmann/fix-shadow-index-put-again
revert incorrect fix for put updating shadow_index, fixes #5661
2021-02-05 17:07:41 +01:00
Thomas Waldmann 3d0c61a184 revert incorrect fix for put updating shadow_index, fixes #5661
A) the compaction code needs the shadow index only for this case:

segment A: PUT x, segment B: DEL x, with A < B  (DEL shadows the PUT).

B) for the following case, we have no shadowing DEL (or rather: it does not matter,
because there is a PUT right after the DEL) and x is in the repo index,
thus the shadow_index is not needed for the special case in the compaction code:

segment A: PUT x, segment B: DEL x PUT x

see also PR #5636.

reverts f079a83fed
and clarifies the code by more comments.

we keep the code deduplication of 5f32b5666a
and just add a update_shadow_index param to make it not look like there was
something accidentally forgotten, which was the whole reason for the reverted
"fix".
2021-02-04 02:29:43 +01:00
TW f195a71e24
Merge pull request #5669 from ThomasWaldmann/misc-fixes-master
misc. crash fixes (master)
2021-02-03 16:35:10 +01:00
Thomas Waldmann a77db94b01 fix bad default: manifest.archives.list(consider_checkpoints=False), fixes #5668
also, add a comment about it, to avoid future similar mistakes.
2021-02-03 14:13:27 +01:00
Thomas Waldmann 649603f247 only print stats if not Ctrl-C'ed
if the user interrupts by ctrl-c, we do not save the archive,
thus we can not show stats because archive.id will not be in
the chunks index.
2021-02-03 01:56:52 +01:00