Commit Graph

8729 Commits

Author SHA1 Message Date
TW
b2bdf5e20e
Merge pull request #8450 from ThomasWaldmann/rel200b12
Release 2.0.0b12
2024-10-03 12:47:38 +02:00
Thomas Waldmann
4b7ab4f087
build_usage / build_man 2024-10-03 12:30:58 +02:00
Thomas Waldmann
cb691417ac
update CHANGES 2024-10-03 12:30:56 +02:00
TW
c308f76ddc
Merge pull request #8449 from ThomasWaldmann/tag-command
tag: set, add, remove tags
2024-10-03 11:53:13 +02:00
TW
349e6e37ef
Merge pull request #8447 from ThomasWaldmann/fix-canonical-path-rclone
Location.canonical_path: some fixes, see #8446
2024-10-03 01:00:11 +02:00
Thomas Waldmann
ae0e794355
repo-list: show tags 2024-10-03 00:22:32 +02:00
Thomas Waldmann
e274860983
tag: set, add, remove tags 2024-10-02 23:52:39 +02:00
Thomas Waldmann
136d3dc20e
Location.canonical_path: use empty host if host is None, see #8446
% borg repo-info
Location: rclone:///./pcloud:justtesting
2024-10-02 18:52:47 +02:00
Thomas Waldmann
333663c39c
Location.canonical_path: fix protocol, see #8446
% borg repo-info
Location: rclone://None/./pcloud:justtesting
...
2024-10-02 18:46:01 +02:00
TW
789ffb0c1b
Merge pull request #8438 from ThomasWaldmann/vagrant-updates2
Vagrant updates 2
2024-10-02 17:40:07 +02:00
Thomas Waldmann
e5fe1ddd00
vagrant: use Python 3.11.3
3.11.2 had a compile failure on macos1012.
2024-10-02 17:38:00 +02:00
Thomas Waldmann
0aed3cc2cb
vagrant: macos: give more memory
sometimes the VM just got stuck (usually when building/testing openssl 3),
maybe more RAM helps?
2024-10-02 17:37:59 +02:00
Thomas Waldmann
f7d0cbeeed
vagrant: use bento/ubuntu-24.04 for now 2024-10-02 17:37:54 +02:00
TW
54fac33e69
Merge pull request #8445 from ThomasWaldmann/rclone-docs-fixes
rclone docs fixes
2024-10-02 17:29:02 +02:00
Thomas Waldmann
ecd0cd07e2
docs: fix typo 2024-10-02 17:28:21 +02:00
Thomas Waldmann
940ec7b455
docs: point to rclone docs 2024-10-02 17:27:42 +02:00
TW
8cd951f324
Merge pull request #8436 from ThomasWaldmann/analyze-cmd
analyze: changed chunks per directory
2024-10-02 17:22:08 +02:00
Thomas Waldmann
de439ee839
analyze: sum up changed chunks per parent directory 2024-10-02 16:14:44 +02:00
TW
5a87b41e37
Merge pull request #8444 from ThomasWaldmann/refresh-lock-many-unchanged-files
Refresh lock at more places
2024-10-02 14:13:39 +02:00
Thomas Waldmann
d99107197e
repository: also refresh the lock in other repo methods
get/put_manifest and store_* methods.
2024-10-02 13:05:59 +02:00
Thomas Waldmann
f1100f3c86
create: fix repo lock getting stale when processing lots of unchanged files, fixes #8442
as a side effect, maybe also better keeps the ssh / tcp connection alive,
if there is a bit of traffic every 60s.
2024-10-02 12:49:39 +02:00
TW
29d16f5c41
Merge pull request #8441 from ThomasWaldmann/fix-close-store-on-exception
make sure the store gets closed in case of exceptions, fixes #8413
2024-10-02 11:07:34 +02:00
TW
e2198abd03
Merge pull request #8439 from ThomasWaldmann/fix-msgpack-max-buffer-size
msgpack: increase max_buffer_size to ~4GiB
2024-10-01 21:24:16 +02:00
Thomas Waldmann
32600793b3
make sure the store gets closed in case of exceptions, fixes #8413 2024-10-01 21:23:29 +02:00
Thomas Waldmann
e251162998
msgpack: increase max_buffer_size to ~4GiB
as borg now uses repository.store_load and .store_save to load
and save the chunks cache, we need a rather high limit here.

this is a quick fix, the real fix might be using chunks of the
data (preferably <= MAX_OBJECT_SIZE), so there is less to unpack
at once.
2024-10-01 19:57:16 +02:00
TW
86c889cfeb
Merge pull request #8437 from ThomasWaldmann/vagrant-updates
Vagrant updates
2024-09-30 20:41:16 +02:00
Thomas Waldmann
358ceab64d
pin pip to 24.1 until #8415 is fixed 2024-09-30 20:09:48 +02:00
Thomas Waldmann
7a0540db7b
vagrant: install rust on *BSD 2024-09-30 17:37:49 +02:00
Thomas Waldmann
c3a63bd2b2
use python 3.12.6 for binary builds 2024-09-30 17:33:06 +02:00
TW
1700c7a4ea
Merge pull request #8435 from ThomasWaldmann/check-archive-timestamp
check: also display archive timestamp
2024-09-29 00:52:23 +02:00
TW
069cbb44ee
Merge pull request #8434 from ThomasWaldmann/levels-config-for-borgstore
give borgstore.Store a complete levels configuration, fixes #8432
2024-09-28 23:05:23 +02:00
Thomas Waldmann
2e37b1a15c
check: also display archive timestamp 2024-09-28 22:58:44 +02:00
Thomas Waldmann
0d269e7f85
give borgstore.Store a complete levels configuration, fixes #8432
also:
- add BORG_STORE_DATA_LEVELS=2 env var
- use BORG_STORE_DATA_LEVELS=0 to speed up tests
2024-09-28 21:16:56 +02:00
TW
156d33e69c
Merge pull request #8429 from ThomasWaldmann/improve-matching
AND-matching also on host, user, tags
2024-09-28 20:42:08 +02:00
Thomas Waldmann
f082df7f33
allow -a / --match-archives multiple times, ANDed
e.g.: borg delete -a home -a user:kenny -a host:kenny-pc
2024-09-27 00:19:15 +02:00
Thomas Waldmann
b8b05141ee
implement --match-archives user:USERNAME host:HOSTNAME 2024-09-26 23:22:11 +02:00
Thomas Waldmann
d30fa6f28e
implement --match-archives tags:TAG1,TAG2,...
also: reduce code duplication
2024-09-26 23:09:23 +02:00
TW
2a01d29cda
Merge pull request #8428 from ThomasWaldmann/tags-fixes
fixes for tags infrastructure PR
2024-09-26 23:02:23 +02:00
Thomas Waldmann
d5b4a696bb
fixes for tags infrastructure PR 2024-09-26 22:41:21 +02:00
TW
70977a323b
Merge pull request #8426 from ThomasWaldmann/archive-tags-metadata
tags: low-level infrastructure for archive tags
2024-09-26 21:24:06 +02:00
TW
9c9a75bdf9
Merge pull request #8421 from ThomasWaldmann/rel200b11
Release 2.0.0 beta11
2024-09-26 20:06:30 +02:00
Thomas Waldmann
89c346b935
tags: low-level infrastructure for archive tags
Read or modify this set, only add validated str to it:

Archive.tags: Optional[set[str]]

borg info [--json] <archive> displays a list of comma-separated archive tags (currently always empty).
2024-09-26 19:16:43 +02:00
TW
3c1f173738
Merge pull request #8422 from ThomasWaldmann/list-more-archive-metadata
List more archive metadata
2024-09-26 17:07:16 +02:00
Thomas Waldmann
9b3a0023c3
repo-list: add hostname/username/comment to default format, reorder, adjust
borg 1.x encouraged users to put everything into the archive name:
- name of the dataset
- timestamp (usually used to make the archive name unique)
- maybe also hostname (when backing up to same repo from multiple hosts)
- maybe also username (when backing up to same repo from multiple users)

borg2 now discourages users from putting the timestamp into the name,
because we rather want same name within a series of archives - thus,
the field width for the name can be narrower.

the ID of the archive is now the only unique identifier, thus it is
moved to the leftmost place.
256bits (64 hex digits) was a bit much and as borg can also deal with
abbreviated IDs, we only show 32bits (8 hex digits) by default.

the ID is followed by the timestamp (also quite "interesting", because
it usually differs for different archives).

then following are: archive name, user name, host name - these might be
always the same if there is only one series of archives in a repo.

use 2 blanks separating the fields for better readability.
2024-09-26 15:53:36 +02:00
Thomas Waldmann
1b680531ee
repo-list --short: only print archive IDs
Needed to change this because listing just the
archive names is pretty useless if names are not
unique.

The short list is likely mostly used by scripts to
iterate over all archives, so outputting IDs is
better.
2024-09-26 09:10:52 +02:00
Thomas Waldmann
fb496bf1b7
build_usage build_man 2024-09-26 07:57:01 +02:00
Thomas Waldmann
439024cba6
update CHANGES 2024-09-26 07:54:38 +02:00
TW
84615385ce
Merge pull request #8420 from ThomasWaldmann/catch-be-error
catch BackendError raised by Store(), see #8373
2024-09-26 07:06:12 +02:00
Thomas Waldmann
628990d32c
fix markup error in change log 2024-09-25 23:53:15 +02:00
Thomas Waldmann
c3038e129d
catch BackendError raised by Store(), see #8373 2024-09-25 23:45:27 +02:00