1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 08:45:13 +00:00
Commit graph

6981 commits

Author SHA1 Message Date
Thomas Waldmann
c7ed985ffd Merge branch 'master' into borg2 2022-07-02 23:28:39 +02:00
TW
f9d68050d6
Merge pull request #6829 from ThomasWaldmann/remove-deprecated-stuff-borg2
remove deprecated stuff
2022-07-02 22:42:43 +02:00
Thomas Waldmann
0dac106812 remove deprecated --remote-buffer
--remote-buffer is deprecated since 1.2.

there is --upload-buffer for the same purpose.
2022-07-02 22:09:55 +02:00
Thomas Waldmann
1b88eb67e0 remove deprecated --remote-ratelimit
--remote-ratelimit is deprecated since 1.2.

there is --upload-ratelimit for the same purpose.
2022-07-02 22:08:19 +02:00
Thomas Waldmann
79696429b4 remove deprecated --numeric-owner
--numeric-owner is deprecated since 1.2.

there is --numeric-ids for the same purpose.
2022-07-02 22:05:47 +02:00
Thomas Waldmann
1196d14f45 remove deprecated --nobsdflags
--nobsdflags is deprecated since 1.2.

there is --flags for the same purpose.
2022-07-02 22:00:13 +02:00
Thomas Waldmann
d8735450c5 remove deprecated --noatime
not storing atime is the default since 1.2.
--noatime is deprecated since 1.2.

there is --atime if you want to store the atime.
2022-07-02 21:55:45 +02:00
TW
ac0e725815
Merge pull request #6828 from ThomasWaldmann/remove-prefix-option-borg2
remove -P (aka --prefix) option, fixes #6806
2022-07-02 21:48:02 +02:00
Thomas Waldmann
6888d5dcb2 remove -P (aka --prefix) option, fixes #6806
-a (aka --glob-archives) can be used for same purpose and is more powerful.
2022-07-02 20:52:41 +02:00
TW
01d40057db
Merge pull request #6827 from ThomasWaldmann/repo-info-borg2
check repo version / borg rinfo extended
2022-07-02 20:49:40 +02:00
TW
dff33f61d7
Merge pull request #6825 from ThomasWaldmann/fix-progress-percent-docs-master
docs: json progress_percent: some values are optional, fixes #4074
2022-07-02 20:21:24 +02:00
Thomas Waldmann
ea4ed6b98f docs: json progress_percent: some values are optional, fixes #4074
in the finished == true message, these are missing:
- message
- current / total
- info

This is to be somewhat consistent with #6683 by only providing a
minimal set of values for the finished case.

The finished messages is primarily intended for cleanup purposes,
e.g. clearing the progress display.
2022-07-01 14:35:44 +02:00
Thomas Waldmann
a7870ab5bd only accept old repos for --other-repo (e.g. rcreate/transfer)
we do not want to run the new borg code against old repos.

if you want to e.g. check an old repo, use an old borg version.
2022-07-01 00:30:01 +02:00
Thomas Waldmann
b0b5a2fd27 add repository.info(), giving some basic repo infos
there was no way to tell the repository version for a remote repo.
borg 2 needs that to reject doing most operations with an old repo,
except the stuff needed for borg transfer.
2022-06-30 23:55:51 +02:00
TW
2ab254cea0
Merge pull request #6821 from ThomasWaldmann/remove-legacy-repo-creation-borg2
rcreate: remove legacy crypto for new repos, fixes #6490
2022-06-30 21:33:46 +02:00
TW
f649b9f16f
Merge pull request #6818 from ThomasWaldmann/fix-hashindex-compact-master
hashindex_compact: fix eval order (check idx before use), fixes #5899
2022-06-30 20:57:17 +02:00
Thomas Waldmann
eabad3e3b7 rcreate: always use argon2 kdf for new repos, fixes #6820
this way, we can remove the legacy pbkdf2 key code in next release.
2022-06-30 20:52:48 +02:00
Thomas Waldmann
ef24dafb15 tests: use less RepoKey/KeyfileKey 2022-06-30 20:52:48 +02:00
Thomas Waldmann
dc2f2f47a8 rcreate: remove legacy encryption modes for new repos, fixes #6490
These are legacy crypto modes based on AES-CTR mode:
(repokey|keyfile)[-blake2]

New crypto modes with session keys and AEAD ciphers:

(repokey|keyfile)[-blake2]-(aes-ocb|chacha20-poly1305)

Tests needed some changes:
- most used repokey/keyfile, changed to new modes
- some nonce tests removed, the new crypto code does not generate
  the repo side nonces any more (were only used for AES-CTR)
2022-06-30 20:52:48 +02:00
Thomas Waldmann
2157a35212 hashindex_compact: fix eval order (check idx before use), fixes #5899
also: fix "off by one" comment
2022-06-29 20:12:29 +02:00
TW
241a56704b
Merge pull request #6815 from fantasya-pbem/docs/6572_mount-limitations
[DOCS] #6572 - Document FUSE limitations better
2022-06-29 19:46:57 +02:00
TW
677de50364
Merge pull request #6813 from ThomasWaldmann/other-repo-accepts-v1-repo
support repo version 1 also, fixes #6811
2022-06-29 18:54:43 +02:00
Thalian
e492c2281d [DOCS] #6572 - Document FUSE limitations better 2022-06-29 18:50:30 +02:00
Thomas Waldmann
8ebdb0b024 support repo version 1 also, fixes #6811
v2 is the default repo version for borg 2.0.
v1 repos must only be used in a read-only way, e.g. for
--other-repo=V1_REPO with borg init and borg transfer!
2022-06-29 17:31:50 +02:00
TW
e577ccb094
Merge pull request #6755 from fantasya-pbem/docs/5960_FAQ-quota-size
[DOCS] #5960 - FAQ: Full quota / full disk
2022-06-29 14:42:11 +02:00
TW
a44dbc1dc8
Merge pull request #6809 from ThomasWaldmann/refactor-transfer-upgrades-borg2
transfer: use an Upgrader class
2022-06-28 22:40:28 +02:00
Thomas Waldmann
f7ef674f29 fix memoryview/bytes issue in upgrader 2022-06-28 22:11:09 +02:00
Thomas Waldmann
5d8b29a93f transfer: --upgrader=NoOp is the default
This is to support general-purpose transfer of archives between related
borg2 repos.

To transfer (and convert) archives from borg 1.2 repos, users need to
give --upgrader=From12To20 .
2022-06-28 22:11:09 +02:00
TW
f2d276a892
Merge pull request #6808 from ThomasWaldmann/no-symlinked-hardlinks-macos-borg2
macOS does not support hardlinking symlinks, fixes #6802
2022-06-28 22:08:28 +02:00
TW
2fd01aaf89
Merge pull request #6810 from ThomasWaldmann/remove-old-upgrader-remainders-borg2
remove remainders of old borg/attic upgrader
2022-06-28 16:30:11 +02:00
Thomas Waldmann
b5aebcc253 remove remainders of old borg/attic upgrader 2022-06-28 15:47:35 +02:00
Thomas Waldmann
f749d0dccf macOS does not support hardlinking symlinks, fixes #6802 2022-06-28 13:35:36 +02:00
TW
6ebcfb7490
Merge pull request #6803 from ThomasWaldmann/fix-docs-borg2
borg2: fix docs
2022-06-26 23:01:34 +02:00
Thomas Waldmann
0a7baa53c4 docs: fix borg transfer formatting / rendering, fixes #6800 2022-06-26 20:29:10 +02:00
Thomas Waldmann
e2f7087aa8 docs: remove reference to borg upgrade 2022-06-26 20:09:54 +02:00
Thomas Waldmann
9680538a70 fix rendering of list/rlist help 2022-06-26 20:08:38 +02:00
Thomas Waldmann
a98c6ba479 changes: init -> rcreate 2022-06-26 19:59:08 +02:00
TW
70cc578fc2
Merge pull request #6795 from ThomasWaldmann/rel200a2
release 2.0.0 alpha 2
2022-06-26 16:38:36 +02:00
Thomas Waldmann
ab25bf8175 build_usage build_man 2022-06-26 13:56:33 +02:00
Thomas Waldmann
20bf97a8a4 CHANGES: set release date, formatting 2022-06-26 13:52:47 +02:00
TW
b157573c69
Merge pull request #6793 from ThomasWaldmann/more-fixes-borg2
more fixes/updates for borg2
2022-06-26 02:16:57 +02:00
Thomas Waldmann
3232cb4a7e transfer: add a specific transfer example 2022-06-26 01:22:28 +02:00
Thomas Waldmann
391178e68e update CHANGES 2022-06-26 01:03:58 +02:00
Thomas Waldmann
d15791e45f authors: remove 3rd party lib authors
we do not include the source code of these libs any more.
2022-06-26 00:30:13 +02:00
Thomas Waldmann
dbae8e60eb remove borg upgrade 2022-06-26 00:25:44 +02:00
Thomas Waldmann
3fbb297fd7 compact: remove --cleanup-commits
this was a one-time fix only needed for borg 1.2.

users are expected to use borg 1.2 to cleanup the commits.
2022-06-26 00:07:07 +02:00
TW
162035da91
Merge pull request #6790 from ThomasWaldmann/update-docs-borg2
borg2: update docs
2022-06-25 23:40:04 +02:00
TW
e535a99c7a
Merge pull request #6792 from ThomasWaldmann/check-always-glob-borg2
borg check: remove --name, better use -a
2022-06-25 22:59:25 +02:00
Thomas Waldmann
c36c75db59 borg check: remove --name, better use -a
The glob can also match precisely one archive,
so this does the same with less code.
2022-06-25 22:17:29 +02:00
Thomas Waldmann
51cf85e627 build_usage / build_man / doc updates 2022-06-25 21:58:19 +02:00