@@ -12,20 +12,20 @@ This section provides information about security and corruption issues.
12
12
Upgrade Notes
13
13
=============
14
14
15
- borg 1.2.x to borg 2.0
16
- ----------------------
15
+ borg 1.2.x/1.4.x to borg 2.0
16
+ ----------------------------
17
17
18
18
Compatibility notes:
19
19
20
20
- this is a major "breaking" release that is not compatible with existing repos.
21
21
22
22
We tried to put all the necessary "breaking" changes into this release, so we
23
23
hopefully do not need another breaking release in the near future. The changes
24
- were necessary for improved security, improved speed, unblocking future
25
- improvements, getting rid of legacy crap / design limitations, having less and
26
- simpler code to maintain.
24
+ were necessary for improved security, improved speed and parallelism,
25
+ unblocking future improvements, getting rid of legacy crap and design
26
+ limitations, having less and simpler code to maintain.
27
27
28
- You can use "borg transfer" to transfer archives from borg 1.1 /1.2 repos to
28
+ You can use "borg transfer" to transfer archives from borg 1.2 /1.4 repos to
29
29
a new borg 2.0 repo, but it will need some time and space.
30
30
31
31
Before using "borg transfer", you must have upgraded to borg >= 1.2.6 (or
@@ -84,6 +84,7 @@ Compatibility notes:
84
84
- removed --nobsdflags (use --noflags)
85
85
- removed --noatime (default now, see also --atime)
86
86
- removed --save-space option (does not change behaviour)
87
+ - removed --bypass-lock option
87
88
- using --list together with --progress is now disallowed (except with --log-json), #7219
88
89
- the --glob-archives option was renamed to --match-archives (the short option
89
90
name -a is unchanged) and extended to support different pattern styles:
@@ -114,12 +115,61 @@ Compatibility notes:
114
115
fail now that somehow "worked" before (but maybe didn't work as intended due to
115
116
the contradicting options).
116
117
117
-
118
118
.. _changelog :
119
119
120
120
Change Log 2.x
121
121
==============
122
122
123
+ Version 2.0.0b10 (2024-09-09)
124
+ -----------------------------
125
+
126
+ TL;DR: this is a huge change and the first very fundamental change in how borg
127
+ works since ever:
128
+
129
+ - you will need to create new repos.
130
+ - likely more exciting than previous betas, definitely not for production.
131
+
132
+ New features:
133
+
134
+ - borgstore based repository, file:, ssh: and sftp: for now, more possible.
135
+ - repository stores objects separately now, not using segment files.
136
+ this has more fs overhead, but needs much less I/O because no segment
137
+ files compaction is required anymore. also, no repository index is
138
+ needed anymore because we can directly find the objects by their ID.
139
+ - locking: new borgstore based repository locking with automatic stale
140
+ lock removal (if lock does not get refreshed, if lock owner process is dead).
141
+ - simultaneous repository access for many borg commands except check/compact.
142
+ the cache lock for adhocwithfiles is still exclusive though, so use
143
+ BORG_CACHE_IMPL=adhoc if you want to try that out using only 1 machine
144
+ and 1 user (that implementation doesn't use a cache lock). When using
145
+ multiple client machines or users, it also works with the default cache.
146
+ - delete/prune: much quicker now and can be undone.
147
+ - check --repair --undelete-archives: bring archives back from the dead.
148
+ - rspace: manage reserved space in repository (avoid dead-end situation if
149
+ repository fs runs full).
150
+
151
+ Bugs/issues fixed:
152
+
153
+ - a lot! all linked from PR #8332.
154
+
155
+ Other changes:
156
+
157
+ - repository: remove transactions, solved differently and much simpler now
158
+ (convergence and write order primarily).
159
+ - repository: replaced precise reference counting with "object exists in repo?"
160
+ and "garbage collection of unused objects".
161
+ - cache: remove transactions, remove chunks cache.
162
+ removed LocalCache, BORG_CACHE_IMPL=local, solving all related issues.
163
+ as in beta 9, adhowwithfiles is the default implementation.
164
+ - compact: needs the borg key now (run it clientside), -v gives nice stats.
165
+ - transfer: archive transfers from borg 1.x need the --from-borg1 option
166
+ - check: reimplemented / bigger changes.
167
+ - code: got rid of a metric ton of not needed complexity.
168
+ when borg does not need to read borg 1.x repos/archives anymore, after
169
+ users have transferred their archives, even much more can be removed.
170
+ - docs: updated / removed outdated stuff
171
+
172
+
123
173
Version 2.0.0b9 (2024-07-20)
124
174
----------------------------
125
175
0 commit comments