mirror of
https://github.com/restic/restic.git
synced 2025-08-25 12:07:34 +00:00
Compare commits
823 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
1bc87e1718 | ||
![]() |
c1a5da56e3 | ||
![]() |
193c62dfc3 | ||
![]() |
a825e0d409 | ||
![]() |
b824d8cdcc | ||
![]() |
a2e89234fc | ||
![]() |
b4ae05627f | ||
![]() |
bd7bca2b51 | ||
![]() |
be90a565cc | ||
![]() |
7a5d29ce24 | ||
![]() |
d198a77d86 | ||
![]() |
cb5a61c46e | ||
![]() |
ee6b9dc492 | ||
![]() |
506d92e87c | ||
![]() |
ad6eabbfa5 | ||
![]() |
7681a63fdb | ||
![]() |
99e4ccbd94 | ||
![]() |
22f46c18f9 | ||
![]() |
6db979b3a6 | ||
![]() |
9cdc8da10f | ||
![]() |
b51e73e78f | ||
![]() |
98dcd0a887 | ||
![]() |
e0d6bf525c | ||
![]() |
5d0523e2f1 | ||
![]() |
cc4728d287 | ||
![]() |
c3374b3ea5 | ||
![]() |
7f0929e519 | ||
![]() |
ed94678820 | ||
![]() |
e530d422a0 | ||
![]() |
b6c86ababe | ||
![]() |
0d9ac78437 | ||
![]() |
7e96a5af62 | ||
![]() |
f414db987d | ||
![]() |
522406b4f0 | ||
![]() |
dbca93da28 | ||
![]() |
b4dfab002a | ||
![]() |
2758d76b77 | ||
![]() |
af50fe9ac0 | ||
![]() |
4cccffab58 | ||
![]() |
2ea6c82cf6 | ||
![]() |
bb27f7408c | ||
![]() |
c4b3a154ba | ||
![]() |
2cb2aa31cd | ||
![]() |
6f517858e8 | ||
![]() |
f0bb4f8708 | ||
![]() |
40c8755b13 | ||
![]() |
f673068dbb | ||
![]() |
f26231c9e6 | ||
![]() |
80e3efffef | ||
![]() |
01ab36336f | ||
![]() |
6e92d852a8 | ||
![]() |
9ad3ad5972 | ||
![]() |
2930a102de | ||
![]() |
8fa64a8f99 | ||
![]() |
f3fdc66b32 | ||
![]() |
b82f4824f0 | ||
![]() |
0b9b4c52ad | ||
![]() |
0b7291b8b2 | ||
![]() |
cfa80e2c6b | ||
![]() |
74ae76036f | ||
![]() |
09497aec02 | ||
![]() |
83b4c50ee3 | ||
![]() |
caa17988a3 | ||
![]() |
a3e48da3a3 | ||
![]() |
b3cdee66a9 | ||
![]() |
1ed775e3a8 | ||
![]() |
38becfc436 | ||
![]() |
82c268c917 | ||
![]() |
7266f07c87 | ||
![]() |
55a11c1396 | ||
![]() |
eaf43607f9 | ||
![]() |
7f3b2be1e8 | ||
![]() |
176b387d98 | ||
![]() |
324935cb80 | ||
![]() |
1b076cda97 | ||
![]() |
d7e2892048 | ||
![]() |
8a44258b6f | ||
![]() |
420ddc03c9 | ||
![]() |
e43be84eb8 | ||
![]() |
1e3f05c3f1 | ||
![]() |
6a6d313c9a | ||
![]() |
0269381b8d | ||
![]() |
0a6fa602c8 | ||
![]() |
2db7733ee3 | ||
![]() |
f678f7cb04 | ||
![]() |
1751afae26 | ||
![]() |
57f4003f2f | ||
![]() |
696c18e031 | ||
![]() |
04a8ee80fb | ||
![]() |
15679be858 | ||
![]() |
7d14b1baf1 | ||
![]() |
ad6ac680af | ||
![]() |
846d021db5 | ||
![]() |
b9fa6e05bd | ||
![]() |
73053674d9 | ||
![]() |
e85a21eda2 | ||
![]() |
623770eebb | ||
![]() |
d0590b7841 | ||
![]() |
5cbde03eae | ||
![]() |
7643237da5 | ||
![]() |
5723c72eb1 | ||
![]() |
2bdc40e612 | ||
![]() |
23ebec717c | ||
![]() |
4ffd479ba4 | ||
![]() |
2ba14160de | ||
![]() |
4a10ebed15 | ||
![]() |
b817681a11 | ||
![]() |
c206a101a3 | ||
![]() |
32f4997733 | ||
![]() |
dcb00fd2d1 | ||
![]() |
79321a195c | ||
![]() |
049f4c4144 | ||
![]() |
3bf53da672 | ||
![]() |
5a6f2f9fa0 | ||
![]() |
04e49924fb | ||
![]() |
768c890fcb | ||
![]() |
fcb3ddf181 | ||
![]() |
8b8bd4e8ac | ||
![]() |
443cc49afd | ||
![]() |
1f5369e072 | ||
![]() |
827ab02eea | ||
![]() |
e9c39442fb | ||
![]() |
9729e6d7ef | ||
![]() |
c44b21d366 | ||
![]() |
8c11fc3ec9 | ||
![]() |
a0cef9f247 | ||
![]() |
163ab9c025 | ||
![]() |
89d3ce852b | ||
![]() |
fbcbd5318c | ||
![]() |
d9ea1e9ee2 | ||
![]() |
715d457aad | ||
![]() |
9be1bd2acc | ||
![]() |
7478cbf70e | ||
![]() |
b2043e8198 | ||
![]() |
5639c41b6a | ||
![]() |
64a7ec5341 | ||
![]() |
6cbeb4a9f9 | ||
![]() |
f5c219f5a2 | ||
![]() |
d71b29221b | ||
![]() |
71ff6b77f0 | ||
![]() |
6970d05d47 | ||
![]() |
3934480da4 | ||
![]() |
71a0157c2c | ||
![]() |
2aad6f24b5 | ||
![]() |
ec4dfa3c66 | ||
![]() |
8d3f04aefa | ||
![]() |
b609523582 | ||
![]() |
ac96a4138d | ||
![]() |
7e36ec279d | ||
![]() |
be524f0b78 | ||
![]() |
9a7db6675c | ||
![]() |
d6e3c7f28e | ||
![]() |
98a3125ce4 | ||
![]() |
87d899c099 | ||
![]() |
545220803b | ||
![]() |
ce89018902 | ||
![]() |
b6a38d43b3 | ||
![]() |
3af9c2cc58 | ||
![]() |
6f53ecc1ae | ||
![]() |
cd50feb66f | ||
![]() |
74df9d5998 | ||
![]() |
dbb5860dc9 | ||
![]() |
753e56ee29 | ||
![]() |
fa25d6118e | ||
![]() |
bba1e81719 | ||
![]() |
120ccc8754 | ||
![]() |
bba4c69a2a | ||
![]() |
3e1de52e0a | ||
![]() |
621023a50b | ||
![]() |
90e9c5c4cc | ||
![]() |
7137034517 | ||
![]() |
cdaf9b4f26 | ||
![]() |
5e0f1c3cef | ||
![]() |
0df022fa6d | ||
![]() |
04c23fa95d | ||
![]() |
bb5f196b09 | ||
![]() |
c16f989d4a | ||
![]() |
00d7fcff96 | ||
![]() |
a6e9e08034 | ||
![]() |
856d5e4303 | ||
![]() |
6c4ceaf1e7 | ||
![]() |
99634c0936 | ||
![]() |
fdc53a9d32 | ||
![]() |
6923353c43 | ||
![]() |
5a11d14082 | ||
![]() |
0936d864a4 | ||
![]() |
ec7c9ce88b | ||
![]() |
2cd7e90ad1 | ||
![]() |
c1a8fa4290 | ||
![]() |
e68c3a4e62 | ||
![]() |
1974ad7ce2 | ||
![]() |
ef53ca4a5a | ||
![]() |
bf81bf0795 | ||
![]() |
e0a7852b8b | ||
![]() |
8ef2968f28 | ||
![]() |
e4f20dea61 | ||
![]() |
fe5a8e137a | ||
![]() |
628ae799ca | ||
![]() |
ed8aa15376 | ||
![]() |
a77d5c4d11 | ||
![]() |
19641bf828 | ||
![]() |
a0fa9c6e9f | ||
![]() |
90d2c0502b | ||
![]() |
bc96879d41 | ||
![]() |
307f14604f | ||
![]() |
19581dbc18 | ||
![]() |
8bdfcf779f | ||
![]() |
910d917b71 | ||
![]() |
2c893fe43c | ||
![]() |
f92ecf13c9 | ||
![]() |
0c0e7b6957 | ||
![]() |
c9ef873192 | ||
![]() |
d08549f0ae | ||
![]() |
f144920ed5 | ||
![]() |
1dd4b9b60e | ||
![]() |
07114ccb21 | ||
![]() |
c9557b2822 | ||
![]() |
fa8f02292e | ||
![]() |
7d64aa7f57 | ||
![]() |
853ceb3bec | ||
![]() |
e002b09d57 | ||
![]() |
408ac1a0c2 | ||
![]() |
5eba1217e7 | ||
![]() |
0cb6b3d80a | ||
![]() |
60ca6b1418 | ||
![]() |
b7c990871f | ||
![]() |
0db1d11b2e | ||
![]() |
74f7fe2b98 | ||
![]() |
d2c5843c68 | ||
![]() |
78a21bbccf | ||
![]() |
2ce8587598 | ||
![]() |
a73fc31b50 | ||
![]() |
dde8e9e296 | ||
![]() |
bc27c370e7 | ||
![]() |
9e30152f3c | ||
![]() |
cc3f8d3732 | ||
![]() |
c8e1ac4049 | ||
![]() |
173695104c | ||
![]() |
ded783dd61 | ||
![]() |
2aa75d6272 | ||
![]() |
88a8701fb5 | ||
![]() |
b2a2e5f727 | ||
![]() |
b52c631bd3 | ||
![]() |
e7df66cc91 | ||
![]() |
36bd464e8c | ||
![]() |
39a335e690 | ||
![]() |
5141228e0c | ||
![]() |
48a0d83143 | ||
![]() |
ac36fda155 | ||
![]() |
df554e5f69 | ||
![]() |
54b8337813 | ||
![]() |
2e0f1f5113 | ||
![]() |
47c56dea5c | ||
![]() |
c270ab1e08 | ||
![]() |
2da377c582 | ||
![]() |
ae7e51382a | ||
![]() |
5c6db534d4 | ||
![]() |
c1bbbcd0dc | ||
![]() |
59eb132dcd | ||
![]() |
5815f727ee | ||
![]() |
4faff0debe | ||
![]() |
e36a40db10 | ||
![]() |
7559d2f105 | ||
![]() |
381bd94c6c | ||
![]() |
5406743102 | ||
![]() |
c8c0d659ec | ||
![]() |
8c244214bf | ||
![]() |
a5f1d318ac | ||
![]() |
82ed5a3a15 | ||
![]() |
3af6c180e4 | ||
![]() |
92816fa966 | ||
![]() |
ab49c14621 | ||
![]() |
2c07f7fff3 | ||
![]() |
9fb81c4246 | ||
![]() |
e7fd200237 | ||
![]() |
cc8a03b1d0 | ||
![]() |
9bb532672a | ||
![]() |
26c333325c | ||
![]() |
38c0531b52 | ||
![]() |
fb5b9370f3 | ||
![]() |
ffbd48c0c6 | ||
![]() |
95bcc9ea31 | ||
![]() |
2d6a943911 | ||
![]() |
9af499d8a4 | ||
![]() |
2e3d23c1d7 | ||
![]() |
dbbeac7174 | ||
![]() |
cf5cb673fb | ||
![]() |
b335cb6285 | ||
![]() |
9c047f170a | ||
![]() |
f31b4f29c1 | ||
![]() |
71c653f9e0 | ||
![]() |
29a8f92967 | ||
![]() |
ac9324aeaf | ||
![]() |
dc5adef255 | ||
![]() |
4b01b06f2f | ||
![]() |
bcab548617 | ||
![]() |
ec2b25565a | ||
![]() |
9ffb8920f1 | ||
![]() |
abe5935693 | ||
![]() |
8776031f96 | ||
![]() |
5eb05a0afe | ||
![]() |
2f36e044db | ||
![]() |
94dc9a0fa7 | ||
![]() |
8b11b86383 | ||
![]() |
f38f457a64 | ||
![]() |
ba27d29d58 | ||
![]() |
7132df529e | ||
![]() |
2535524132 | ||
![]() |
fda7bb0f09 | ||
![]() |
66f9048bce | ||
![]() |
fd05037e1a | ||
![]() |
6fb408d90e | ||
![]() |
362ab06023 | ||
![]() |
4b957e7373 | ||
![]() |
0957b74887 | ||
![]() |
270ed00d1f | ||
![]() |
4e1ef7804a | ||
![]() |
e4780d3956 | ||
![]() |
c183e35b5a | ||
![]() |
6f9e20a1bb | ||
![]() |
f9219e8608 | ||
![]() |
3b630d9998 | ||
![]() |
566ac11c65 | ||
![]() |
f5609d1d3c | ||
![]() |
e597b99b55 | ||
![]() |
ee627cd832 | ||
![]() |
4f97492d28 | ||
![]() |
07a565e6f7 | ||
![]() |
bf7da7ff10 | ||
![]() |
dba47d29d5 | ||
![]() |
8ac7519fd5 | ||
![]() |
edc1a24a90 | ||
![]() |
9563e2f75c | ||
![]() |
7f133a28b2 | ||
![]() |
4f3b1f19cb | ||
![]() |
89ee1cf9ee | ||
![]() |
a059ef90f8 | ||
![]() |
4077a81b34 | ||
![]() |
9a3f1a9703 | ||
![]() |
c2aabb2686 | ||
![]() |
c60a5f00c9 | ||
![]() |
0ba9d4ced7 | ||
![]() |
04e054465a | ||
![]() |
1519e9f911 | ||
![]() |
ebab35581c | ||
![]() |
7b9ae91e04 | ||
![]() |
47243176fa | ||
![]() |
5af828e3e6 | ||
![]() |
4636c20397 | ||
![]() |
9e12159230 | ||
![]() |
3d29083e60 | ||
![]() |
2ec0f3303a | ||
![]() |
ece06f125e | ||
![]() |
cd783358d3 | ||
![]() |
0b258cc054 | ||
![]() |
9e34c791c9 | ||
![]() |
7d55b4f95e | ||
![]() |
de4e3117eb | ||
![]() |
500079d265 | ||
![]() |
192288bc9c | ||
![]() |
d9c9415cfd | ||
![]() |
59370b6062 | ||
![]() |
6e5731bf2f | ||
![]() |
305cd1e730 | ||
![]() |
c23c0f7c14 | ||
![]() |
774c2e75ca | ||
![]() |
66d50b72e3 | ||
![]() |
89d86a7933 | ||
![]() |
7510bdc247 | ||
![]() |
f190d2e60e | ||
![]() |
206550a246 | ||
![]() |
db8a958991 | ||
![]() |
724ace0e99 | ||
![]() |
af31266b7d | ||
![]() |
2f81af6afa | ||
![]() |
61e179ee78 | ||
![]() |
c60540b196 | ||
![]() |
fefe9f5c0e | ||
![]() |
a773cb6527 | ||
![]() |
6408686973 | ||
![]() |
243698680a | ||
![]() |
d6db5a1fc2 | ||
![]() |
f78bd14e28 | ||
![]() |
dc3d77dacc | ||
![]() |
6877e7edbb | ||
![]() |
2e1613d4c6 | ||
![]() |
a08b95c497 | ||
![]() |
537b4c310a | ||
![]() |
4d5db61bd0 | ||
![]() |
4ab12f59a5 | ||
![]() |
40791fff64 | ||
![]() |
a53a4a23fd | ||
![]() |
b567c08e80 | ||
![]() |
0ca89b6fec | ||
![]() |
d7e46c187a | ||
![]() |
6aefe3e111 | ||
![]() |
03137a34db | ||
![]() |
c7d637ec39 | ||
![]() |
6087c4ad75 | ||
![]() |
cdf478c8f4 | ||
![]() |
80969a6347 | ||
![]() |
676d5d498c | ||
![]() |
9c1d49e312 | ||
![]() |
e682f7c0d6 | ||
![]() |
ca1e2316cf | ||
![]() |
0b8b524f12 | ||
![]() |
a350625554 | ||
![]() |
32e61f2620 | ||
![]() |
8388f66c4c | ||
![]() |
0937008648 | ||
![]() |
3a285f91bc | ||
![]() |
29a5778626 | ||
![]() |
53656f019a | ||
![]() |
cd190bee14 | ||
![]() |
2ee07ded2b | ||
![]() |
12606b575f | ||
![]() |
5f145f0c7e | ||
![]() |
13c40d4199 | ||
![]() |
13aae82635 | ||
![]() |
b85d035956 | ||
![]() |
47aa4613f7 | ||
![]() |
a9a5acb8ce | ||
![]() |
6dee59b789 | ||
![]() |
2e19d19216 | ||
![]() |
18a1de0de1 | ||
![]() |
9b57fcc6b0 | ||
![]() |
17878036d8 | ||
![]() |
2b1932a258 | ||
![]() |
fdc738fb70 | ||
![]() |
daea461f15 | ||
![]() |
a3d99217a4 | ||
![]() |
e0ab689ccd | ||
![]() |
7af69fd7b9 | ||
![]() |
49b67c8aaa | ||
![]() |
44d543ede3 | ||
![]() |
5ef4ee7760 | ||
![]() |
254c8743fc | ||
![]() |
ad4f4dbc7a | ||
![]() |
63f6a9b085 | ||
![]() |
4a2d5a146d | ||
![]() |
1efc26899d | ||
![]() |
8df246d0f3 | ||
![]() |
27524979e8 | ||
![]() |
dd30083c2b | ||
![]() |
fb4c5af5c4 | ||
![]() |
18ec49ddfa | ||
![]() |
5ec312ca06 | ||
![]() |
aebd24e414 | ||
![]() |
d72181c8c1 | ||
![]() |
c6fd13425b | ||
![]() |
bba8ba7a5b | ||
![]() |
47554a3428 | ||
![]() |
4b3dc415ef | ||
![]() |
930a00ad54 | ||
![]() |
34ebafb8b6 | ||
![]() |
becebf5d88 | ||
![]() |
f1e58e7c7f | ||
![]() |
f40abd92fa | ||
![]() |
f00f690658 | ||
![]() |
c4a2bfcb39 | ||
![]() |
153e2ba859 | ||
![]() |
cc90f2ba6b | ||
![]() |
d8f58fb7bf | ||
![]() |
a4786dda5a | ||
![]() |
aaa7f94139 | ||
![]() |
6b17a7110c | ||
![]() |
7080fed7ae | ||
![]() |
74f29ad09b | ||
![]() |
5f34ad523f | ||
![]() |
58236ead12 | ||
![]() |
8ae4d86a84 | ||
![]() |
3f0184ba2a | ||
![]() |
90473ea9ff | ||
![]() |
4e84e8ab3f | ||
![]() |
2e9180638e | ||
![]() |
058dfc20da | ||
![]() |
502fc3281c | ||
![]() |
77c850148a | ||
![]() |
df89aa0087 | ||
![]() |
792523b28b | ||
![]() |
f0a8182493 | ||
![]() |
6183d0be53 | ||
![]() |
7f6fc78f95 | ||
![]() |
abfbacf3d3 | ||
![]() |
b0c1d0f9cd | ||
![]() |
8b6fe845d4 | ||
![]() |
6ff32ee4d3 | ||
![]() |
2ff3b7d69c | ||
![]() |
9589de16db | ||
![]() |
2c3e5d943d | ||
![]() |
e2bb384a60 | ||
![]() |
e5985e0d63 | ||
![]() |
8832837a8a | ||
![]() |
f92130d878 | ||
![]() |
a5b0e0bef4 | ||
![]() |
e6e51b84ac | ||
![]() |
c5c3dfe10f | ||
![]() |
19ec4d8f17 | ||
![]() |
47ecd950b8 | ||
![]() |
051cc7ce71 | ||
![]() |
64e733f3d6 | ||
![]() |
017614c41a | ||
![]() |
0cfdb82ea4 | ||
![]() |
d5ed5da85c | ||
![]() |
8eb83029a8 | ||
![]() |
882d58abce | ||
![]() |
8de4401bb5 | ||
![]() |
f7a9b90eb9 | ||
![]() |
aa214f99b4 | ||
![]() |
4a25bbaed3 | ||
![]() |
583edc39b8 | ||
![]() |
212b2f651f | ||
![]() |
15ab96ecd6 | ||
![]() |
d71afb3d32 | ||
![]() |
4bf05d91a1 | ||
![]() |
de3afc1005 | ||
![]() |
2ea998f70e | ||
![]() |
e8fa3855e7 | ||
![]() |
34a6a24544 | ||
![]() |
1d8a0b06cb | ||
![]() |
50053a85d3 | ||
![]() |
f1cfb97237 | ||
![]() |
cb81ee9396 | ||
![]() |
b0e64deb27 | ||
![]() |
43d173b042 | ||
![]() |
1b152a2c4d | ||
![]() |
15cc3c0e23 | ||
![]() |
5904f80cfa | ||
![]() |
4d579c4387 | ||
![]() |
15d7313387 | ||
![]() |
6c84ea1412 | ||
![]() |
78c7dd53ef | ||
![]() |
a34bfa8269 | ||
![]() |
0425a30420 | ||
![]() |
1b23675f21 | ||
![]() |
836fbb9133 | ||
![]() |
c71729dfc4 | ||
![]() |
711ceb0109 | ||
![]() |
829c0a67af | ||
![]() |
fb5d9345a7 | ||
![]() |
95eb859b54 | ||
![]() |
257740b0cc | ||
![]() |
46d08d9404 | ||
![]() |
a7853057ab | ||
![]() |
eb282532dc | ||
![]() |
f2a3b3b4a1 | ||
![]() |
58e8b34633 | ||
![]() |
a02cea6e83 | ||
![]() |
708d7a2574 | ||
![]() |
6f4b5ab8d1 | ||
![]() |
634a9c162d | ||
![]() |
632ca2ef52 | ||
![]() |
24088f8307 | ||
![]() |
c892c0bab9 | ||
![]() |
78dac2fd48 | ||
![]() |
5ea8bba1a1 | ||
![]() |
a5e103a212 | ||
![]() |
e7ec0453b1 | ||
![]() |
1ebcb1d097 | ||
![]() |
fe04d024c7 | ||
![]() |
718966a81a | ||
![]() |
4f33eca634 | ||
![]() |
cc110c42e6 | ||
![]() |
897d8e662c | ||
![]() |
4a95af5290 | ||
![]() |
f28c8bc1c2 | ||
![]() |
1827b16ade | ||
![]() |
8b758c78a3 | ||
![]() |
8d2996eaaa | ||
![]() |
58efe21eca | ||
![]() |
71fcf48533 | ||
![]() |
921e328b56 | ||
![]() |
e62d4f622f | ||
![]() |
2cdc0719af | ||
![]() |
bdcdfaf6b4 | ||
![]() |
2b94742ca5 | ||
![]() |
d357744104 | ||
![]() |
d4225ec803 | ||
![]() |
de8521ae56 | ||
![]() |
bb066cf7d3 | ||
![]() |
556424d61b | ||
![]() |
92ae951ffa | ||
![]() |
973fa921cb | ||
![]() |
e0d615c264 | ||
![]() |
ef5672a902 | ||
![]() |
c0eddc9969 | ||
![]() |
fbb0e6499a | ||
![]() |
503d4c3e2f | ||
![]() |
cccb0d4064 | ||
![]() |
a144c986f2 | ||
![]() |
d62bfed65d | ||
![]() |
77b129ec74 | ||
![]() |
3024239e40 | ||
![]() |
5ccf583b8a | ||
![]() |
80cbaf6d38 | ||
![]() |
448419990c | ||
![]() |
7baa9a570d | ||
![]() |
bf9c8771a4 | ||
![]() |
5e84f38f31 | ||
![]() |
8fe122d675 | ||
![]() |
74c47f1f12 | ||
![]() |
fa5ca8af81 | ||
![]() |
b45d88e124 | ||
![]() |
bc4cbd775b | ||
![]() |
a29777f467 | ||
![]() |
bce87922c0 | ||
![]() |
81876d5c1b | ||
![]() |
7f0aa49f45 | ||
![]() |
5aaa3e93c1 | ||
![]() |
ec2e3b260e | ||
![]() |
26914abe62 | ||
![]() |
950b818274 | ||
![]() |
defe19fdf6 | ||
![]() |
409e4936af | ||
![]() |
10b39d7591 | ||
![]() |
194ed19557 | ||
![]() |
877fc9f352 | ||
![]() |
64258a2c2a | ||
![]() |
c520672982 | ||
![]() |
9374c3ce81 | ||
![]() |
4d56b34096 | ||
![]() |
66382b2861 | ||
![]() |
1fab5892b5 | ||
![]() |
c898f7a6bf | ||
![]() |
7659790923 | ||
![]() |
ecf34783ef | ||
![]() |
68370feeee | ||
![]() |
574c83e47f | ||
![]() |
e6a5801155 | ||
![]() |
d90efd7704 | ||
![]() |
9fe5a87785 | ||
![]() |
7f1608dc77 | ||
![]() |
f4c5dec05d | ||
![]() |
7c1903e1ee | ||
![]() |
51b7e3119b | ||
![]() |
a009b39e4c | ||
![]() |
1d3e99f475 | ||
![]() |
9aa2eff384 | ||
![]() |
ee2f14eaf0 | ||
![]() |
553ea36ca6 | ||
![]() |
6586e90acf | ||
![]() |
ea04f40eb3 | ||
![]() |
f9b6f8fd45 | ||
![]() |
1b1a2115fa | ||
![]() |
65908647e3 | ||
![]() |
81e2499d19 | ||
![]() |
195a5cf996 | ||
![]() |
bc97a3d1f9 | ||
![]() |
702cff636f | ||
![]() |
780e11b7e2 | ||
![]() |
4126435663 | ||
![]() |
d107a2cfdf | ||
![]() |
38a8a48a25 | ||
![]() |
77bf148460 | ||
![]() |
533ac4fd95 | ||
![]() |
7049f1cbfc | ||
![]() |
dc7a8aab24 | ||
![]() |
94983a1f36 | ||
![]() |
a92faca10e | ||
![]() |
b19cd8c50f | ||
![]() |
b862732318 | ||
![]() |
cb844e7136 | ||
![]() |
b7fe1fe6b4 | ||
![]() |
c98bbdcdbe | ||
![]() |
326fefcd80 | ||
![]() |
fa3eed1998 | ||
![]() |
5571c3f7fd | ||
![]() |
d8ea10db8c | ||
![]() |
77551597b2 | ||
![]() |
92f293cd0b | ||
![]() |
2081bd12fb | ||
![]() |
74ebc650ab | ||
![]() |
c707d71b72 | ||
![]() |
691866ce43 | ||
![]() |
efd918c59e | ||
![]() |
7d28006e2e | ||
![]() |
0880afe67b | ||
![]() |
100baf74c0 | ||
![]() |
c733ae6b16 | ||
![]() |
989b398fee | ||
![]() |
bbc8146934 | ||
![]() |
aa22ebac69 | ||
![]() |
097ed659b2 | ||
![]() |
185a55026b | ||
![]() |
495831d53c | ||
![]() |
3442dc87fb | ||
![]() |
a81f34ae47 | ||
![]() |
95b44490a0 | ||
![]() |
3caab3c7ac | ||
![]() |
40745b4f82 | ||
![]() |
6c01078f3d | ||
![]() |
790294dc26 | ||
![]() |
30d968b0e4 | ||
![]() |
43b82d69b4 | ||
![]() |
bd316d3893 | ||
![]() |
e8bbb05328 | ||
![]() |
58be5172ff | ||
![]() |
cb6fd281a0 | ||
![]() |
eb61de7b3a | ||
![]() |
98a88b483d | ||
![]() |
6a4c1ed50d | ||
![]() |
409306db2b | ||
![]() |
aad8864835 | ||
![]() |
c1eb7ac1a1 | ||
![]() |
e5f0f67ba0 | ||
![]() |
45eb30388f | ||
![]() |
454b6d608e | ||
![]() |
a61a0255a8 | ||
![]() |
6add186867 | ||
![]() |
a476752962 | ||
![]() |
e8d20ea32c | ||
![]() |
fe43f53528 | ||
![]() |
0d4f16b6ba | ||
![]() |
0666c4d244 | ||
![]() |
fdbd65485e | ||
![]() |
2daf033156 | ||
![]() |
5dad45f005 | ||
![]() |
7eb6372123 | ||
![]() |
61b368ddea | ||
![]() |
fd8bce8184 | ||
![]() |
d7322a5f36 | ||
![]() |
9cc1ecdd45 | ||
![]() |
af3de702c7 | ||
![]() |
226cd8d4d1 | ||
![]() |
4cabad8c34 | ||
![]() |
cf92c58460 | ||
![]() |
5767c65c62 | ||
![]() |
75c990504d | ||
![]() |
5a87a0ba0a | ||
![]() |
38ccddc84f | ||
![]() |
d7b5061aa5 | ||
![]() |
27141ae87f | ||
![]() |
90d75651e6 | ||
![]() |
2a915069a8 | ||
![]() |
55bea6e7a6 | ||
![]() |
af6f6fba15 | ||
![]() |
6d8ceefd67 | ||
![]() |
7349c6d338 | ||
![]() |
2a92b68e65 | ||
![]() |
64b00d28b1 | ||
![]() |
23f9cb838d | ||
![]() |
01261770bb | ||
![]() |
a0f1c74000 | ||
![]() |
be6fc02c04 | ||
![]() |
3ce5544796 | ||
![]() |
556caa326f | ||
![]() |
ae170e2b38 | ||
![]() |
f7316cea07 | ||
![]() |
32a84ab3e4 | ||
![]() |
6c7eabf08c | ||
![]() |
4aaf10c356 | ||
![]() |
f65e1211d9 | ||
![]() |
7cb8ea69ba | ||
![]() |
80564a9bc9 | ||
![]() |
5e6af77b7a | ||
![]() |
cc254dfefe | ||
![]() |
23531be272 | ||
![]() |
b922fc851b | ||
![]() |
ccfd5f1d4a | ||
![]() |
9a1f685179 | ||
![]() |
b5e40b370c | ||
![]() |
74c0607c92 | ||
![]() |
5861bb031c | ||
![]() |
c2569ff923 | ||
![]() |
ecbe7f3a99 | ||
![]() |
88731d8c28 | ||
![]() |
dc88ca79b6 | ||
![]() |
efb10b3c40 | ||
![]() |
d456437ad1 | ||
![]() |
4c61825249 | ||
![]() |
9f44129c2f | ||
![]() |
5592c17e4a | ||
![]() |
aa0a7b78a8 | ||
![]() |
88a23521dd | ||
![]() |
e678acafcf | ||
![]() |
54d58edacc | ||
![]() |
5975ed61f3 | ||
![]() |
dc62ec5933 | ||
![]() |
547d9b384d | ||
![]() |
187a77fb27 | ||
![]() |
fa7b9d5dfe | ||
![]() |
6774fc6454 | ||
![]() |
096f15db5c | ||
![]() |
84491ff40b | ||
![]() |
b3c3121622 | ||
![]() |
ce4b6d0874 | ||
![]() |
52061e817c | ||
![]() |
133ac42a0b | ||
![]() |
90f975fa1c | ||
![]() |
086993bae1 | ||
![]() |
d6f78163d4 | ||
![]() |
c9b4fadd91 | ||
![]() |
da458a55db | ||
![]() |
9ccdba9df6 | ||
![]() |
a0f9d73d44 | ||
![]() |
427781928f | ||
![]() |
2fc7abac35 | ||
![]() |
f9c581f219 | ||
![]() |
18fccb5995 | ||
![]() |
2a9f0f19b6 | ||
![]() |
d686fa25de | ||
![]() |
f000f41c91 | ||
![]() |
64fe733fa0 | ||
![]() |
781378a65e | ||
![]() |
64a9272c9a | ||
![]() |
ee89e33f12 | ||
![]() |
f0e9068ef2 | ||
![]() |
f70aca6f6f | ||
![]() |
814a399e4c | ||
![]() |
13730e3844 | ||
![]() |
0f41e99ea7 | ||
![]() |
6712c6de73 | ||
![]() |
9e852af5be | ||
![]() |
4baebdc6f5 | ||
![]() |
a293fd9aef | ||
![]() |
91e8f0e486 | ||
![]() |
d7d562b287 | ||
![]() |
76e1ba6fd0 | ||
![]() |
8eb6a5805b | ||
![]() |
65bd2a9a49 | ||
![]() |
12f0ccc237 | ||
![]() |
bb53fcfc0d | ||
![]() |
cd25e36811 |
12
.dockerignore
Normal file
12
.dockerignore
Normal file
@@ -0,0 +1,12 @@
|
||||
# Folders
|
||||
.git/
|
||||
.github/
|
||||
changelog/
|
||||
doc/
|
||||
docker/
|
||||
helpers/
|
||||
|
||||
# Files
|
||||
.gitignore
|
||||
.golangci.yml
|
||||
*.md
|
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Workaround for https://github.com/golang/go/issues/52268.
|
||||
**/testdata/fuzz/*/* eol=lf
|
32
.github/PULL_REQUEST_TEMPLATE.md
vendored
32
.github/PULL_REQUEST_TEMPLATE.md
vendored
@@ -1,13 +1,7 @@
|
||||
|
||||
|
||||
<!--
|
||||
Thank you very much for contributing code or documentation to restic! Please
|
||||
fill out the following questions to make it easier for us to review your
|
||||
changes.
|
||||
|
||||
You do not need to check all the boxes below all at once, feel free to take
|
||||
your time and add more commits. If you're done and ready for review, please
|
||||
check the last box.
|
||||
-->
|
||||
|
||||
What does this PR change? What problem does it solve?
|
||||
@@ -17,8 +11,8 @@ What does this PR change? What problem does it solve?
|
||||
Describe the changes and their purpose here, as detailed as needed.
|
||||
-->
|
||||
|
||||
Was the change discussed in an issue or in the forum before?
|
||||
------------------------------------------------------------
|
||||
Was the change previously discussed in an issue or on the forum?
|
||||
----------------------------------------------------------------
|
||||
|
||||
<!--
|
||||
Link issues and relevant forum posts here.
|
||||
@@ -30,11 +24,17 @@ is closed automatically when this PR is merged.
|
||||
Checklist
|
||||
---------
|
||||
|
||||
- [ ] I have read the [Contribution Guidelines](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#providing-patches)
|
||||
- [ ] I have enabled [maintainer edits for this PR](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork)
|
||||
- [ ] I have added tests for all changes in this PR
|
||||
- [ ] I have added documentation for the changes (in the manual)
|
||||
- [ ] There's a new file in `changelog/unreleased/` that describes the changes for our users (template [here](https://github.com/restic/restic/blob/master/changelog/TEMPLATE))
|
||||
- [ ] I have run `gofmt` on the code in all commits
|
||||
- [ ] All commit messages are formatted in the same style as [the other commits in the repo](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#git-commits)
|
||||
- [ ] I'm done, this Pull Request is ready for review
|
||||
<!--
|
||||
You do not need to check all the boxes below all at once. Feel free to take
|
||||
your time and add more commits. If you're done and ready for review, please
|
||||
check the last box. Enable a checkbox by replacing [ ] with [x].
|
||||
-->
|
||||
|
||||
- [ ] I have read the [contribution guidelines](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#providing-patches).
|
||||
- [ ] I have [enabled maintainer edits](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/allowing-changes-to-a-pull-request-branch-created-from-a-fork).
|
||||
- [ ] I have added tests for all code changes.
|
||||
- [ ] I have added documentation for relevant changes (in the manual).
|
||||
- [ ] There's a new file in `changelog/unreleased/` that describes the changes for our users (see [template](https://github.com/restic/restic/blob/master/changelog/TEMPLATE)).
|
||||
- [ ] I have run `gofmt` on the code in all commits.
|
||||
- [ ] All commit messages are formatted in the same style as [the other commits in the repo](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#git-commits).
|
||||
- [ ] I'm done! This pull request is ready for review.
|
||||
|
103
.github/workflows/tests.yml
vendored
103
.github/workflows/tests.yml
vendored
@@ -8,6 +8,10 @@ on:
|
||||
# run tests for all pull requests
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
latest_go: "1.19.x"
|
||||
GO111MODULE: on
|
||||
|
||||
jobs:
|
||||
test:
|
||||
strategy:
|
||||
@@ -15,30 +19,47 @@ jobs:
|
||||
# list of jobs to run:
|
||||
include:
|
||||
- job_name: Windows
|
||||
go: 1.15.x
|
||||
go: 1.19.x
|
||||
os: windows-latest
|
||||
install_verb: install
|
||||
|
||||
- job_name: macOS
|
||||
go: 1.15.x
|
||||
go: 1.19.x
|
||||
os: macOS-latest
|
||||
test_fuse: false
|
||||
install_verb: install
|
||||
|
||||
- job_name: Linux
|
||||
go: 1.15.x
|
||||
go: 1.19.x
|
||||
os: ubuntu-latest
|
||||
test_cloud_backends: true
|
||||
test_fuse: true
|
||||
check_changelog: true
|
||||
install_verb: install
|
||||
|
||||
- job_name: Linux
|
||||
go: 1.14.x
|
||||
go: 1.18.x
|
||||
os: ubuntu-latest
|
||||
test_fuse: true
|
||||
install_verb: install
|
||||
|
||||
- job_name: Linux
|
||||
go: 1.13.x
|
||||
go: 1.17.x
|
||||
os: ubuntu-latest
|
||||
test_fuse: true
|
||||
install_verb: install
|
||||
|
||||
- job_name: Linux
|
||||
go: 1.16.x
|
||||
os: ubuntu-latest
|
||||
test_fuse: true
|
||||
install_verb: get
|
||||
|
||||
- job_name: Linux
|
||||
go: 1.15.x
|
||||
os: ubuntu-latest
|
||||
test_fuse: true
|
||||
install_verb: get
|
||||
|
||||
name: ${{ matrix.job_name }} Go ${{ matrix.go }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
@@ -55,7 +76,7 @@ jobs:
|
||||
- name: Get programs (Linux/macOS)
|
||||
run: |
|
||||
echo "build Go tools"
|
||||
go get github.com/restic/rest-server/...
|
||||
go ${{ matrix.install_verb }} github.com/restic/rest-server/cmd/rest-server@latest
|
||||
|
||||
echo "install minio server"
|
||||
mkdir $HOME/bin
|
||||
@@ -87,7 +108,7 @@ jobs:
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
|
||||
echo "build Go tools"
|
||||
go get github.com/restic/rest-server/...
|
||||
go ${{ matrix.install_verb }} github.com/restic/rest-server/...
|
||||
|
||||
echo "install minio server"
|
||||
mkdir $Env:USERPROFILE/bin
|
||||
@@ -177,7 +198,7 @@ jobs:
|
||||
- name: Check changelog files with calens
|
||||
run: |
|
||||
echo "install calens"
|
||||
go get github.com/restic/calens
|
||||
go install github.com/restic/calens@latest
|
||||
|
||||
echo "check changelog files"
|
||||
calens
|
||||
@@ -190,18 +211,17 @@ jobs:
|
||||
matrix:
|
||||
# run cross-compile in two batches parallel so the overall tests run faster
|
||||
targets:
|
||||
- "linux/386 linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/mips linux/mipsle linux/mips64 linux/mips64le \
|
||||
- "linux/386 linux/amd64 linux/arm linux/arm64 linux/ppc64le linux/mips linux/mipsle linux/mips64 linux/mips64le linux/s390x \
|
||||
openbsd/386 openbsd/amd64"
|
||||
|
||||
- "freebsd/386 freebsd/amd64 freebsd/arm \
|
||||
aix/ppc64 \
|
||||
darwin/amd64 \
|
||||
darwin/amd64 darwin/arm64 \
|
||||
netbsd/386 netbsd/amd64 \
|
||||
windows/386 windows/amd64 \
|
||||
solaris/amd64"
|
||||
|
||||
env:
|
||||
go: 1.15.x
|
||||
GOPROXY: https://proxy.golang.org
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
@@ -209,17 +229,17 @@ jobs:
|
||||
name: Cross Compile for ${{ matrix.targets }}
|
||||
|
||||
steps:
|
||||
- name: Set up Go ${{ env.go }}
|
||||
- name: Set up Go ${{ env.latest_go }}
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ env.go }}
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
go-version: ${{ env.latest_go }}
|
||||
|
||||
- name: Install gox
|
||||
run: |
|
||||
go get github.com/mitchellh/gox
|
||||
go install github.com/mitchellh/gox@latest
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Cross-compile with gox for ${{ matrix.targets }}
|
||||
env:
|
||||
@@ -234,6 +254,11 @@ jobs:
|
||||
name: lint
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Set up Go ${{ env.latest_go }}
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: ${{ env.latest_go }}
|
||||
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
@@ -241,10 +266,11 @@ jobs:
|
||||
uses: golangci/golangci-lint-action@v2
|
||||
with:
|
||||
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version.
|
||||
version: v1.36
|
||||
version: v1.48
|
||||
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
||||
only-new-issues: true
|
||||
args: --verbose --timeout 5m
|
||||
skip-go-installation: true
|
||||
|
||||
# only run golangci-lint for pull requests, otherwise ALL hints get
|
||||
# reported. We need to slowly address all issues until we can enable
|
||||
@@ -256,3 +282,44 @@ jobs:
|
||||
echo "check if go.mod and go.sum are up to date"
|
||||
go mod tidy
|
||||
git diff --exit-code go.mod go.sum
|
||||
|
||||
docker:
|
||||
name: docker
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
# list of Docker images to use as base name for tags
|
||||
images: |
|
||||
restic/restic
|
||||
# generate Docker tags based on the following events/attributes
|
||||
tags: |
|
||||
type=schedule
|
||||
type=ref,event=branch
|
||||
type=ref,event=pr
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
type=semver,pattern={{major}}
|
||||
type=sha
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Build and push
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: false
|
||||
context: .
|
||||
file: docker/Dockerfile
|
||||
pull: true
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
|
@@ -24,7 +24,7 @@ linters:
|
||||
- govet
|
||||
|
||||
# make sure names and comments are used according to the conventions
|
||||
- golint
|
||||
- revive
|
||||
|
||||
# detect when assignments to existing variables are not used
|
||||
- ineffassign
|
||||
@@ -51,7 +51,7 @@ issues:
|
||||
|
||||
# list of things to not warn about
|
||||
exclude:
|
||||
# golint: do not warn about missing comments for exported stuff
|
||||
- exported (function|method|var|type|const) `.*` should have comment or be unexported
|
||||
# golint: ignore constants in all caps
|
||||
# revive: do not warn about missing comments for exported stuff
|
||||
- exported (function|method|var|type|const) .* should have comment or be unexported
|
||||
# revive: ignore constants in all caps
|
||||
- don't use ALL_CAPS in Go names; use CamelCase
|
||||
|
1105
CHANGELOG.md
1105
CHANGELOG.md
File diff suppressed because it is too large
Load Diff
@@ -13,11 +13,10 @@ bug fixes are most welcome. However even "minor" details as fixing spelling
|
||||
errors, improving documentation or pointing out usability issues are a great
|
||||
help also.
|
||||
|
||||
|
||||
The restic project uses the GitHub infrastructure (see the
|
||||
[project page](https://github.com/restic/restic)) for all related discussions
|
||||
as well as the [forum](https://forum.restic.net/) and the `#restic` channel
|
||||
on [irc.freenode.net](https://kiwiirc.com/nextclient/irc.freenode.net/restic).
|
||||
on [irc.libera.chat](https://kiwiirc.com/nextclient/#ircs://irc.libera.chat:6697/#restic).
|
||||
|
||||
If you want to find an area that currently needs improving have a look at the
|
||||
open issues listed at the
|
||||
@@ -49,9 +48,8 @@ environment was used and so on. Please tell us at least the following things:
|
||||
Remember, the easier it is for us to reproduce the bug, the earlier it will be
|
||||
corrected!
|
||||
|
||||
In addition, you can compile restic with debug support by running
|
||||
`go run build.go -tags debug` and instructing it to create a debug
|
||||
log by setting the environment variable `DEBUG_LOG` to a file, e.g. like this:
|
||||
In addition, you can instruct restic to create a debug log by setting the
|
||||
environment variable `DEBUG_LOG` to a file, e.g. like this:
|
||||
|
||||
$ export DEBUG_LOG=/tmp/restic-debug.log
|
||||
$ restic backup ~/work
|
||||
@@ -67,8 +65,8 @@ Development Environment
|
||||
The repository contains the code written for restic in the directories
|
||||
`cmd/` and `internal/`.
|
||||
|
||||
Restic requires Go version 1.13 or later for compiling. Clone the repo (without
|
||||
having `$GOPATH` set) and `cd` into the directory:
|
||||
Make sure you have the minimum required Go version installed. Clone the repo
|
||||
(without having `$GOPATH` set) and `cd` into the directory:
|
||||
|
||||
$ unset GOPATH
|
||||
$ git clone https://github.com/restic/restic
|
||||
@@ -124,7 +122,10 @@ down to the following steps:
|
||||
writing, ask yourself: If I were the user, what would I need to be aware
|
||||
of with this change?
|
||||
|
||||
8. Once your code looks good and passes all the tests, we'll merge it. Thanks
|
||||
8. Do not edit the man pages under `doc/man` or `doc/manual_rest.rst` -
|
||||
these are autogenerated before new releases.
|
||||
|
||||
9. Once your code looks good and passes all the tests, we'll merge it. Thanks
|
||||
a lot for your contribution!
|
||||
|
||||
Please provide the patches for each bug or feature in a separate branch and
|
||||
|
@@ -46,8 +46,8 @@ Therefore, restic supports the following backends for storing backups natively:
|
||||
|
||||
- [Local directory](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#local)
|
||||
- [sftp server (via SSH)](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#sftp)
|
||||
- [HTTP REST server](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#rest-server) ([protocol](doc/100_references.rst#rest-backend), [rest-server](https://github.com/restic/rest-server))
|
||||
- [AWS S3](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#amazon-s3) (either from Amazon or using the [Minio](https://minio.io) server)
|
||||
- [HTTP REST server](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#rest-server) ([protocol](https://restic.readthedocs.io/en/latest/100_references.html#rest-backend), [rest-server](https://github.com/restic/rest-server))
|
||||
- [Amazon S3](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#amazon-s3) (either from Amazon or using the [Minio](https://minio.io) server)
|
||||
- [OpenStack Swift](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#openstack-swift)
|
||||
- [BackBlaze B2](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#backblaze-b2)
|
||||
- [Microsoft Azure Blob Storage](https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#microsoft-azure-blob-storage)
|
||||
|
16
build.go
16
build.go
@@ -35,6 +35,7 @@
|
||||
// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
//go:build ignore_build_go
|
||||
// +build ignore_build_go
|
||||
|
||||
package main
|
||||
@@ -58,7 +59,7 @@ var config = Config{
|
||||
Main: "./cmd/restic", // package name for the main package
|
||||
DefaultBuildTags: []string{"selfupdate"}, // specify build tags which are always used
|
||||
Tests: []string{"./..."}, // tests to run
|
||||
MinVersion: GoVersion{Major: 1, Minor: 11, Patch: 0}, // minimum Go version supported
|
||||
MinVersion: GoVersion{Major: 1, Minor: 14, Patch: 0}, // minimum Go version supported
|
||||
}
|
||||
|
||||
// Config configures the build.
|
||||
@@ -123,17 +124,8 @@ func printEnv(env []string) {
|
||||
|
||||
// build runs "go build args..." with GOPATH set to gopath.
|
||||
func build(cwd string, env map[string]string, args ...string) error {
|
||||
a := []string{"build"}
|
||||
|
||||
// try to remove all absolute paths from resulting binary
|
||||
if goVersion.AtLeast(GoVersion{1, 13, 0}) {
|
||||
// use the new flag introduced by Go 1.13
|
||||
a = append(a, "-trimpath")
|
||||
} else {
|
||||
// otherwise try to trim as many paths as possible
|
||||
a = append(a, "-asmflags", fmt.Sprintf("all=-trimpath=%s", cwd))
|
||||
a = append(a, "-gcflags", fmt.Sprintf("all=-trimpath=%s", cwd))
|
||||
}
|
||||
// -trimpath removes all absolute paths from the binary.
|
||||
a := []string{"build", "-trimpath"}
|
||||
|
||||
if enablePIE {
|
||||
a = append(a, "-buildmode=pie")
|
||||
|
13
changelog/0.12.1_2021-08-03/issue-2742
Normal file
13
changelog/0.12.1_2021-08-03/issue-2742
Normal file
@@ -0,0 +1,13 @@
|
||||
Bugfix: Improve error handling for rclone and REST backend over HTTP2
|
||||
|
||||
When retrieving data from the rclone / REST backend while also using HTTP2
|
||||
restic did not detect when no data was returned at all. This could cause
|
||||
for example the `check` command to report the following error:
|
||||
|
||||
Pack ID does not match, want [...], got e3b0c442
|
||||
|
||||
This has been fixed by correctly detecting and retrying the incomplete download.
|
||||
|
||||
https://github.com/restic/restic/issues/2742
|
||||
https://github.com/restic/restic/pull/3453
|
||||
https://forum.restic.net/t/http2-stream-closed-connection-reset-context-canceled/3743/10
|
6
changelog/0.12.1_2021-08-03/issue-2780
Normal file
6
changelog/0.12.1_2021-08-03/issue-2780
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add release binaries for s390x architecture on Linux
|
||||
|
||||
We've added release binaries for Linux using the s390x architecture.
|
||||
|
||||
https://github.com/restic/restic/issues/2780
|
||||
https://github.com/restic/restic/pull/3452
|
11
changelog/0.12.1_2021-08-03/issue-3111
Normal file
11
changelog/0.12.1_2021-08-03/issue-3111
Normal file
@@ -0,0 +1,11 @@
|
||||
Bugfix: Fix terminal output redirection for PowerShell
|
||||
|
||||
When redirecting the output of restic using PowerShell on Windows, the
|
||||
output contained terminal escape characters. This has been fixed by
|
||||
properly detecting the terminal type.
|
||||
|
||||
In addition, the mintty terminal now shows progress output for the backup
|
||||
command.
|
||||
|
||||
https://github.com/restic/restic/issues/3111
|
||||
https://github.com/restic/restic/pull/3325
|
9
changelog/0.12.1_2021-08-03/issue-3214
Normal file
9
changelog/0.12.1_2021-08-03/issue-3214
Normal file
@@ -0,0 +1,9 @@
|
||||
Bugfix: Treat an empty password as a fatal error for repository init
|
||||
|
||||
When attempting to initialize a new repository, if an empty password was
|
||||
supplied, the repository would be created but the init command would return
|
||||
an error with a stack trace. Now, if an empty password is provided, it is
|
||||
treated as a fatal error, and no repository is created.
|
||||
|
||||
https://github.com/restic/restic/issues/3214
|
||||
https://github.com/restic/restic/pull/3283
|
8
changelog/0.12.1_2021-08-03/issue-3247
Normal file
8
changelog/0.12.1_2021-08-03/issue-3247
Normal file
@@ -0,0 +1,8 @@
|
||||
Change: Empty files now have size of 0 in `ls --json` output
|
||||
|
||||
The `ls --json` command used to omit the sizes of empty files in its
|
||||
output. It now reports a size of zero explicitly for regular files,
|
||||
while omitting the size field for all other types.
|
||||
|
||||
https://github.com/restic/restic/issues/3247
|
||||
https://github.com/restic/restic/pull/3257
|
11
changelog/0.12.1_2021-08-03/issue-3267
Normal file
11
changelog/0.12.1_2021-08-03/issue-3267
Normal file
@@ -0,0 +1,11 @@
|
||||
Bugfix: `copy` failed to copy snapshots in rare cases
|
||||
|
||||
The `copy` command could in rare cases fail with the error message `SaveTree(...)
|
||||
returned unexpected id ...`. This has been fixed.
|
||||
|
||||
On Linux/BSDs, the error could be caused by backing up symlinks with non-UTF-8
|
||||
target paths. Note that, due to limitations in the repository format, these are
|
||||
not stored properly and should be avoided if possible.
|
||||
|
||||
https://github.com/restic/restic/issues/3267
|
||||
https://github.com/restic/restic/pull/3310
|
11
changelog/0.12.1_2021-08-03/issue-3284
Normal file
11
changelog/0.12.1_2021-08-03/issue-3284
Normal file
@@ -0,0 +1,11 @@
|
||||
Bugfix: `backup --quiet` no longer prints status information
|
||||
|
||||
A regression in the latest restic version caused the output of `backup --quiet`
|
||||
to contain large amounts of backup progress information when run using an
|
||||
interactive terminal. This is fixed now.
|
||||
|
||||
A workaround for this bug is to run restic as follows:
|
||||
`restic backup --quiet [..] | cat -`.
|
||||
|
||||
https://github.com/restic/restic/issues/3184
|
||||
https://github.com/restic/restic/pull/3186
|
14
changelog/0.12.1_2021-08-03/issue-3293
Normal file
14
changelog/0.12.1_2021-08-03/issue-3293
Normal file
@@ -0,0 +1,14 @@
|
||||
Enhancement: Add `--repository-file2` option to `init` and `copy` command
|
||||
|
||||
The `init` and `copy` command can now be used with the `--repository-file2`
|
||||
option or the `$RESTIC_REPOSITORY_FILE2` environment variable.
|
||||
These to options are in addition to the `--repo2` flag and allow you to read
|
||||
the destination repository from a file.
|
||||
|
||||
Using both `--repository-file` and `--repo2` options resulted in an error for
|
||||
the `copy` or `init` command. The handling of this combination of options has
|
||||
been fixed. A workaround for this issue is to only use `--repo` or `-r` and
|
||||
`--repo2` for `init` or `copy`.
|
||||
|
||||
https://github.com/restic/restic/issues/3293
|
||||
https://github.com/restic/restic/pull/3294
|
7
changelog/0.12.1_2021-08-03/issue-3296
Normal file
7
changelog/0.12.1_2021-08-03/issue-3296
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: Fix crash of `check --read-data-subset=x%` run for an empty repository
|
||||
|
||||
The command `restic check --read-data-subset=x%` crashed when run for an empty
|
||||
repository. This has been fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/3296
|
||||
https://github.com/restic/restic/pull/3309
|
8
changelog/0.12.1_2021-08-03/issue-3302
Normal file
8
changelog/0.12.1_2021-08-03/issue-3302
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Fix `fdopendir: not a directory` error for local backend
|
||||
|
||||
The `check`, `list packs`, `prune` and `rebuild-index` commands failed
|
||||
for the local backend when the `data` folder in the repository contained
|
||||
files. This has been fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/3302
|
||||
https://github.com/restic/restic/pull/3308
|
5
changelog/0.12.1_2021-08-03/issue-3312
Normal file
5
changelog/0.12.1_2021-08-03/issue-3312
Normal file
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add auto-completion support for fish
|
||||
|
||||
The `generate` command now supports fish auto completion.
|
||||
|
||||
https://github.com/restic/restic/pull/3312
|
8
changelog/0.12.1_2021-08-03/issue-3334
Normal file
8
changelog/0.12.1_2021-08-03/issue-3334
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Print `created new cache` message only on a terminal
|
||||
|
||||
The message `created new cache` was printed even when the output wasn't a
|
||||
terminal. That broke piping `restic dump` output to tar or zip if cache
|
||||
directory didn't exist. The message is now only printed on a terminal.
|
||||
|
||||
https://github.com/restic/restic/issues/3334
|
||||
https://github.com/restic/restic/pull/3343
|
8
changelog/0.12.1_2021-08-03/issue-3336
Normal file
8
changelog/0.12.1_2021-08-03/issue-3336
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: SFTP backend now checks for disk space
|
||||
|
||||
Backing up over SFTP previously spewed multiple generic "failure" messages
|
||||
when the remote disk was full. It now checks for disk space before writing
|
||||
a file and fails immediately with a "no space left on device" message.
|
||||
|
||||
https://github.com/restic/restic/issues/3336
|
||||
https://github.com/restic/restic/pull/3345
|
6
changelog/0.12.1_2021-08-03/issue-3377
Normal file
6
changelog/0.12.1_2021-08-03/issue-3377
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add release binaries for Apple Silicon
|
||||
|
||||
We've added release binaries for macOS on Apple Silicon (M1).
|
||||
|
||||
https://github.com/restic/restic/issues/3377
|
||||
https://github.com/restic/restic/pull/3394
|
7
changelog/0.12.1_2021-08-03/issue-3380
Normal file
7
changelog/0.12.1_2021-08-03/issue-3380
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: Fix crash of `backup --exclude='**'`
|
||||
|
||||
The exclude filter `**`, which excludes all files, caused restic to crash. This
|
||||
has been corrected.
|
||||
|
||||
https://github.com/restic/restic/issues/3380
|
||||
https://github.com/restic/restic/pull/3393
|
20
changelog/0.12.1_2021-08-03/issue-3414
Normal file
20
changelog/0.12.1_2021-08-03/issue-3414
Normal file
@@ -0,0 +1,20 @@
|
||||
Enhancement: Add `--keep-within-hourly` option to restic forget
|
||||
|
||||
The `forget` command allowed keeping a given number of hourly
|
||||
backups or to keep all backups within a given interval, but it
|
||||
was not possible to specify keeping hourly backups within a given
|
||||
interval.
|
||||
|
||||
The new `--keep-within-hourly` option now offers this functionality.
|
||||
Similar options for daily/weekly/monthly/yearly are also implemented,
|
||||
the new options are:
|
||||
|
||||
--keep-within-hourly <1y2m3d4h>
|
||||
--keep-within-daily <1y2m3d4h>
|
||||
--keep-within-weekly <1y2m3d4h>
|
||||
--keep-within-monthly <1y2m3d4h>
|
||||
--keep-within-yearly <1y2m3d4h>
|
||||
|
||||
https://github.com/restic/restic/issues/3414
|
||||
https://github.com/restic/restic/pull/3416
|
||||
https://forum.restic.net/t/forget-policy/4014/11
|
9
changelog/0.12.1_2021-08-03/issue-3456
Normal file
9
changelog/0.12.1_2021-08-03/issue-3456
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Support filtering and specifying untagged snapshots
|
||||
|
||||
It was previously not possible to specify an empty tag with the `--tag` and
|
||||
`--keep-tag` options. This has now been fixed, such that `--tag ''` and
|
||||
`--keep-tag ''` now matches snapshots without tags. This allows e.g. the
|
||||
`snapshots` and `forget` commands to only operate on untagged snapshots.
|
||||
|
||||
https://github.com/restic/restic/issues/3456
|
||||
https://github.com/restic/restic/pull/3457
|
9
changelog/0.12.1_2021-08-03/pull-3167
Normal file
9
changelog/0.12.1_2021-08-03/pull-3167
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Allow specifying limit of `snapshots` list
|
||||
|
||||
The `--last` option allowed limiting the output of the `snapshots`
|
||||
command to the latest snapshot for each host. The new `--latest n`
|
||||
option allows limiting the output to the latest `n` snapshots.
|
||||
|
||||
This change deprecates the option `--last` in favour of `--latest 1`.
|
||||
|
||||
https://github.com/restic/restic/pull/3167
|
6
changelog/0.12.1_2021-08-03/pull-3305
Normal file
6
changelog/0.12.1_2021-08-03/pull-3305
Normal file
@@ -0,0 +1,6 @@
|
||||
Bugfix: Fix possibly missing backup summary of JSON output in case of error
|
||||
|
||||
When using `--json` output it happened from time to time that the summary
|
||||
output was missing in case an error occurred. This has been fixed.
|
||||
|
||||
https://github.com/restic/restic/pull/3305
|
7
changelog/0.12.1_2021-08-03/pull-3426
Normal file
7
changelog/0.12.1_2021-08-03/pull-3426
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Optimize read performance of mount command
|
||||
|
||||
Reading large files in a mounted repository may be up to five times faster.
|
||||
This improvement primarily applies to repositories stored at a backend that can
|
||||
be accessed with low latency, like e.g. the local backend.
|
||||
|
||||
https://github.com/restic/restic/pull/3426
|
13
changelog/0.12.1_2021-08-03/pull-3427
Normal file
13
changelog/0.12.1_2021-08-03/pull-3427
Normal file
@@ -0,0 +1,13 @@
|
||||
Enhancement: `find --pack` fallback to index if data file is missing
|
||||
|
||||
When investigating a repository with missing data files, it might be useful to
|
||||
determine affected snapshots before running `rebuild-index`. Previously,
|
||||
`find --pack pack-id` returned no data as it required accessing the data file.
|
||||
Now, if the necessary data is still available in the repository index, it gets
|
||||
retrieved from there.
|
||||
|
||||
The command now also supports looking up multiple pack files in a single `find`
|
||||
run.
|
||||
|
||||
https://github.com/restic/restic/pull/3427
|
||||
https://forum.restic.net/t/missing-packs-not-found/2600
|
8
changelog/0.12.1_2021-08-03/pull-3449
Normal file
8
changelog/0.12.1_2021-08-03/pull-3449
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Correctly handle download errors during `restore`
|
||||
|
||||
Due to a regression in restic 0.12.0, the `restore` command in some cases did
|
||||
not retry download errors and only printed a warning. This has been fixed by
|
||||
retrying incomplete data downloads.
|
||||
|
||||
https://github.com/restic/restic/issues/3439
|
||||
https://github.com/restic/restic/pull/3449
|
10
changelog/0.13.0_2022-03-26/issue-1106
Normal file
10
changelog/0.13.0_2022-03-26/issue-1106
Normal file
@@ -0,0 +1,10 @@
|
||||
Bugfix: Never lock repository for `list locks`
|
||||
|
||||
The `list locks` command previously locked to the repository by default. This
|
||||
had the problem that it wouldn't work for an exclusively locked repository and
|
||||
that the command would also display its own lock file which can be confusing.
|
||||
|
||||
Now, the `list locks` command never locks the repository.
|
||||
|
||||
https://github.com/restic/restic/issues/1106
|
||||
https://github.com/restic/restic/pull/3665
|
16
changelog/0.13.0_2022-03-26/issue-1542
Normal file
16
changelog/0.13.0_2022-03-26/issue-1542
Normal file
@@ -0,0 +1,16 @@
|
||||
Enhancement: Add `--dry-run`/`-n` option to `backup` command
|
||||
|
||||
Testing exclude filters and other configuration options was error prone as
|
||||
wrong filters could cause files to be uploaded unintentionally. It was also
|
||||
not possible to estimate beforehand how much data would be uploaded.
|
||||
|
||||
The `backup` command now has a `--dry-run`/`-n` option, which performs all the
|
||||
normal steps of a backup without actually writing anything to the repository.
|
||||
|
||||
Passing -vv will log information about files that would be added, allowing for
|
||||
verification of source and exclusion options before running the real backup.
|
||||
|
||||
https://github.com/restic/restic/issues/1542
|
||||
https://github.com/restic/restic/pull/2308
|
||||
https://github.com/restic/restic/pull/3210
|
||||
https://github.com/restic/restic/pull/3300
|
15
changelog/0.13.0_2022-03-26/issue-2202
Normal file
15
changelog/0.13.0_2022-03-26/issue-2202
Normal file
@@ -0,0 +1,15 @@
|
||||
Enhancement: Add upload checksum for Azure, GS, S3 and Swift backends
|
||||
|
||||
Previously only the B2 and partially the Swift backends verified the integrity
|
||||
of uploaded (encrypted) files. The verification works by informing the backend
|
||||
about the expected hash of the uploaded file. The backend then verifies the
|
||||
upload and thereby rules out any data corruption during upload.
|
||||
|
||||
We have now added upload checksums for the Azure, GS, S3 and Swift backends,
|
||||
which besides integrity checking for uploads also means that restic can now be
|
||||
used to store backups in S3 buckets which have Object Lock enabled.
|
||||
|
||||
https://github.com/restic/restic/issues/2202
|
||||
https://github.com/restic/restic/issues/2700
|
||||
https://github.com/restic/restic/issues/3023
|
||||
https://github.com/restic/restic/pull/3246
|
29
changelog/0.13.0_2022-03-26/issue-233
Normal file
29
changelog/0.13.0_2022-03-26/issue-233
Normal file
@@ -0,0 +1,29 @@
|
||||
Enhancement: Support negative include/exclude patterns
|
||||
|
||||
If a pattern starts with an exclamation mark and it matches a file that was
|
||||
previously matched by a regular pattern, the match is cancelled. Notably,
|
||||
this can be used with `--exclude-file` to cancel the exclusion of some files.
|
||||
|
||||
It works similarly to `.gitignore`, with the same limitation; Once a directory
|
||||
is excluded, it is not possible to include files inside the directory.
|
||||
|
||||
Example of use as an exclude pattern for the `backup` command:
|
||||
|
||||
$HOME/**/*
|
||||
!$HOME/Documents
|
||||
!$HOME/code
|
||||
!$HOME/.emacs.d
|
||||
!$HOME/games
|
||||
# [...]
|
||||
node_modules
|
||||
*~
|
||||
*.o
|
||||
*.lo
|
||||
*.pyc
|
||||
# [...]
|
||||
$HOME/code/linux/*
|
||||
!$HOME/code/linux/.git
|
||||
# [...]
|
||||
|
||||
https://github.com/restic/restic/issues/233
|
||||
https://github.com/restic/restic/pull/2311
|
13
changelog/0.13.0_2022-03-26/issue-2345
Normal file
13
changelog/0.13.0_2022-03-26/issue-2345
Normal file
@@ -0,0 +1,13 @@
|
||||
Bugfix: Make cache crash-resistant and usable by multiple concurrent processes
|
||||
|
||||
The restic cache directory (`RESTIC_CACHE_DIR`) could end up in a broken state
|
||||
in the event of restic (or the OS) crashing. This is now less likely to occur
|
||||
as files are downloaded to a temporary location before being moved to their
|
||||
proper location.
|
||||
|
||||
This also allows multiple concurrent restic processes to operate on a single
|
||||
repository without conflicts. Previously, concurrent operations could cause
|
||||
segfaults because the processes saw each other's partially downloaded files.
|
||||
|
||||
https://github.com/restic/restic/issues/2345
|
||||
https://github.com/restic/restic/pull/2838
|
10
changelog/0.13.0_2022-03-26/issue-2388
Normal file
10
changelog/0.13.0_2022-03-26/issue-2388
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Add warning for S3 if partial credentials are provided
|
||||
|
||||
Previously restic did not notify about incomplete credentials when using the
|
||||
S3 backend, instead just reporting access denied.
|
||||
|
||||
Restic now checks that both the AWS key ID and secret environment variables are
|
||||
set before connecting to the remote server, and reports an error if not.
|
||||
|
||||
https://github.com/restic/restic/issues/2388
|
||||
https://github.com/restic/restic/pull/3532
|
11
changelog/0.13.0_2022-03-26/issue-2452
Normal file
11
changelog/0.13.0_2022-03-26/issue-2452
Normal file
@@ -0,0 +1,11 @@
|
||||
Bugfix: Improve error handling of repository locking
|
||||
|
||||
Previously, when the lock refresh failed to delete the old lock file, it forgot
|
||||
about the newly created one. Instead it continued trying to delete the old
|
||||
(usually no longer existing) lock file and thus over time lots of lock files
|
||||
accumulated. This has now been fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/2452
|
||||
https://github.com/restic/restic/issues/2473
|
||||
https://github.com/restic/restic/issues/2562
|
||||
https://github.com/restic/restic/pull/3512
|
8
changelog/0.13.0_2022-03-26/issue-2508
Normal file
8
changelog/0.13.0_2022-03-26/issue-2508
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Support JSON output and quiet mode for the `diff` command
|
||||
|
||||
The `diff` command now supports outputting machine-readable output in JSON
|
||||
format. To enable this, pass the `--json` option to the command. To only print
|
||||
the summary and suppress detailed output, pass the `--quiet` option.
|
||||
|
||||
https://github.com/restic/restic/issues/2508
|
||||
https://github.com/restic/restic/pull/3592
|
8
changelog/0.13.0_2022-03-26/issue-2656
Normal file
8
changelog/0.13.0_2022-03-26/issue-2656
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Add flag to disable TLS verification for self-signed certificates
|
||||
|
||||
There is now an `--insecure-tls` global option in restic, which disables TLS
|
||||
verification for self-signed certificates in order to support some development
|
||||
workflows.
|
||||
|
||||
https://github.com/restic/restic/issues/2656
|
||||
https://github.com/restic/restic/pull/2657
|
8
changelog/0.13.0_2022-03-26/issue-2738
Normal file
8
changelog/0.13.0_2022-03-26/issue-2738
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Don't print progress for `backup --json --quiet`
|
||||
|
||||
Unlike the text output, the `--json` output format still printed progress
|
||||
information even in `--quiet` mode. This has now been fixed by always
|
||||
disabling the progress output in quiet mode.
|
||||
|
||||
https://github.com/restic/restic/issues/2738
|
||||
https://github.com/restic/restic/pull/3264
|
9
changelog/0.13.0_2022-03-26/issue-3003
Normal file
9
changelog/0.13.0_2022-03-26/issue-3003
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Atomic uploads for the SFTP backend
|
||||
|
||||
The SFTP backend did not upload files atomically. An interrupted upload could
|
||||
leave an incomplete file behind which could prevent restic from accessing the
|
||||
repository. This has now been fixed and uploads in the SFTP backend are done
|
||||
atomically.
|
||||
|
||||
https://github.com/restic/restic/issues/3003
|
||||
https://github.com/restic/restic/pull/3524
|
6
changelog/0.13.0_2022-03-26/issue-3127
Normal file
6
changelog/0.13.0_2022-03-26/issue-3127
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add xattr (extended attributes) support for Solaris
|
||||
|
||||
Restic now supports xattr for the Solaris operating system.
|
||||
|
||||
https://github.com/restic/restic/issues/3127
|
||||
https://github.com/restic/restic/pull/3628
|
8
changelog/0.13.0_2022-03-26/issue-3382
Normal file
8
changelog/0.13.0_2022-03-26/issue-3382
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Make `check` command honor `RESTIC_CACHE_DIR` environment variable
|
||||
|
||||
Previously, the `check` command didn't honor the `RESTIC_CACHE_DIR` environment
|
||||
variable, which caused problems in certain system/usage configurations. This
|
||||
has now been fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/3382
|
||||
https://github.com/restic/restic/pull/3474
|
10
changelog/0.13.0_2022-03-26/issue-3464
Normal file
10
changelog/0.13.0_2022-03-26/issue-3464
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Skip lock creation on `forget` if `--no-lock` and `--dry-run`
|
||||
|
||||
Restic used to silently ignore the `--no-lock` option of the `forget` command.
|
||||
|
||||
It now skips creation of lock file in case both `--dry-run` and `--no-lock`
|
||||
are specified. If `--no-lock` option is specified without `--dry-run`, restic
|
||||
prints a warning message to stderr.
|
||||
|
||||
https://github.com/restic/restic/issues/3464
|
||||
https://github.com/restic/restic/pull/3623
|
8
changelog/0.13.0_2022-03-26/issue-3490
Normal file
8
changelog/0.13.0_2022-03-26/issue-3490
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Support random subset by size in `check --read-data-subset`
|
||||
|
||||
The `--read-data-subset` option of the `check` command now supports a third way
|
||||
of specifying the subset to check, namely `nS` where `n` is a size in bytes with
|
||||
suffix `S` as k/K, m/M, g/G or t/T.
|
||||
|
||||
https://github.com/restic/restic/issues/3490
|
||||
https://github.com/restic/restic/pull/3548
|
8
changelog/0.13.0_2022-03-26/issue-3518
Normal file
8
changelog/0.13.0_2022-03-26/issue-3518
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Make `copy` command honor `--no-lock` for source repository
|
||||
|
||||
The `copy` command previously did not respect the `--no-lock` option for the
|
||||
source repository, causing failures with read-only storage backends. This has
|
||||
now been fixed such that the option is now respected.
|
||||
|
||||
https://github.com/restic/restic/issues/3518
|
||||
https://github.com/restic/restic/pull/3589
|
9
changelog/0.13.0_2022-03-26/issue-3541
Normal file
9
changelog/0.13.0_2022-03-26/issue-3541
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Improve handling of temporary B2 delete errors
|
||||
|
||||
Deleting files on B2 could sometimes fail temporarily, which required restic to
|
||||
retry the delete operation. In some cases the file was deleted nevertheless,
|
||||
causing the retries and ultimately the restic command to fail. This has now been
|
||||
fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/3541
|
||||
https://github.com/restic/restic/pull/3544
|
8
changelog/0.13.0_2022-03-26/issue-3542
Normal file
8
changelog/0.13.0_2022-03-26/issue-3542
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Add file mode in symbolic notation to `ls --json`
|
||||
|
||||
The `ls --json` command now provides the file mode in symbolic notation (using
|
||||
the `permissions` key), aligned with `find --json`.
|
||||
|
||||
https://github.com/restic/restic/issues/3542
|
||||
https://github.com/restic/restic/pull/3573
|
||||
https://forum.restic.net/t/restic-ls-understanding-file-mode-with-json/4371
|
10
changelog/0.13.0_2022-03-26/issue-3556
Normal file
10
changelog/0.13.0_2022-03-26/issue-3556
Normal file
@@ -0,0 +1,10 @@
|
||||
Bugfix: Fix hang with Backblaze B2 on SSL certificate authority error
|
||||
|
||||
Previously, if a request failed with an SSL unknown certificate authority
|
||||
error, the B2 backend retried indefinitely and restic would appear to hang.
|
||||
|
||||
This has now been fixed and restic instead fails with an error message.
|
||||
|
||||
https://github.com/restic/restic/issues/3556
|
||||
https://github.com/restic/restic/issues/2355
|
||||
https://github.com/restic/restic/pull/3571
|
15
changelog/0.13.0_2022-03-26/issue-3601
Normal file
15
changelog/0.13.0_2022-03-26/issue-3601
Normal file
@@ -0,0 +1,15 @@
|
||||
Bugfix: Fix rclone backend prematurely exiting when receiving SIGINT on Windows
|
||||
|
||||
Previously, pressing Ctrl+C in a Windows console where restic was running with
|
||||
rclone as the backend would cause rclone to exit prematurely due to getting a
|
||||
`SIGINT` signal at the same time as restic. Restic would then wait for a long
|
||||
time for time with "unexpected EOF" and "rclone stdio connection already closed"
|
||||
errors.
|
||||
|
||||
This has now been fixed by restic starting the rclone process detached from the
|
||||
console restic runs in (similar to starting processes in a new process group on
|
||||
Linux), which enables restic to gracefully clean up rclone (which now never gets
|
||||
the `SIGINT`).
|
||||
|
||||
https://github.com/restic/restic/issues/3601
|
||||
https://github.com/restic/restic/pull/3602
|
14
changelog/0.13.0_2022-03-26/issue-3641
Normal file
14
changelog/0.13.0_2022-03-26/issue-3641
Normal file
@@ -0,0 +1,14 @@
|
||||
Change: Ignore parent snapshot for `backup --stdin`
|
||||
|
||||
Restic uses a parent snapshot to speed up directory scanning when performing
|
||||
backups, but this only wasted time and memory when the backup source is stdin
|
||||
(using the `--stdin` option of the `backup` command), since no directory scanning
|
||||
is performed in this case.
|
||||
|
||||
Snapshots made with `backup --stdin` no longer have a parent snapshot, which allows
|
||||
restic to skip some startup operations and saves a bit of resources.
|
||||
|
||||
The `--parent` option is still available for `backup --stdin`, but is now ignored.
|
||||
|
||||
https://github.com/restic/restic/issues/3641
|
||||
https://github.com/restic/restic/pull/3645
|
8
changelog/0.13.0_2022-03-26/issue-3667
Normal file
8
changelog/0.13.0_2022-03-26/issue-3667
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: The `mount` command now reports symlinks sizes
|
||||
|
||||
Symlinks used to have size zero in restic mountpoints, confusing some
|
||||
third-party tools. They now have a size equal to the byte length of their
|
||||
target path, as required by POSIX.
|
||||
|
||||
https://github.com/restic/restic/issues/3667
|
||||
https://github.com/restic/restic/pull/3668
|
7
changelog/0.13.0_2022-03-26/pull-2594
Normal file
7
changelog/0.13.0_2022-03-26/pull-2594
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Speed up the `restore --verify` command
|
||||
|
||||
The `--verify` option lets the `restore` command verify the file content
|
||||
after it has restored a snapshot. The performance of this operation has
|
||||
now been improved by up to a factor of two.
|
||||
|
||||
https://github.com/restic/restic/pull/2594
|
10
changelog/0.13.0_2022-03-26/pull-2816
Normal file
10
changelog/0.13.0_2022-03-26/pull-2816
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: The `backup` command no longer updates file access times on Linux
|
||||
|
||||
When reading files during backup, restic used to cause the operating system to
|
||||
update the files' access times. Note that this did not apply to filesystems with
|
||||
disabled file access times.
|
||||
|
||||
Restic now instructs the operating system not to update the file access time,
|
||||
if the user running restic is the file owner or has root permissions.
|
||||
|
||||
https://github.com/restic/restic/pull/2816
|
9
changelog/0.13.0_2022-03-26/pull-2880
Normal file
9
changelog/0.13.0_2022-03-26/pull-2880
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Make `recover` collect only unreferenced trees
|
||||
|
||||
Previously, the `recover` command used to generate a snapshot containing *all*
|
||||
root trees, even those which were already referenced by a snapshot.
|
||||
|
||||
This has been improved such that it now only processes trees not already
|
||||
referenced by any snapshot.
|
||||
|
||||
https://github.com/restic/restic/pull/2880
|
12
changelog/0.13.0_2022-03-26/pull-3429
Normal file
12
changelog/0.13.0_2022-03-26/pull-3429
Normal file
@@ -0,0 +1,12 @@
|
||||
Enhancement: Verify that new or modified keys are stored correctly
|
||||
|
||||
When adding a new key or changing the password of a key, restic used to just
|
||||
create the new key (and remove the old one, when changing the password). There
|
||||
was no verification that the new key was stored correctly and works properly.
|
||||
As the repository cannot be decrypted without a valid key file, this could in
|
||||
rare cases cause the repository to become inaccessible.
|
||||
|
||||
Restic now checks that new key files actually work before continuing. This
|
||||
can protect against some (rare) cases of hardware or storage problems.
|
||||
|
||||
https://github.com/restic/restic/pull/3429
|
12
changelog/0.13.0_2022-03-26/pull-3436
Normal file
12
changelog/0.13.0_2022-03-26/pull-3436
Normal file
@@ -0,0 +1,12 @@
|
||||
Enhancement: Improve local backend's resilience to (system) crashes
|
||||
|
||||
Restic now ensures that files stored using the `local` backend are created
|
||||
atomically (that is, files are either stored completely or not at all). This
|
||||
ensures that no incomplete files are left behind even if restic is terminated
|
||||
while writing a file.
|
||||
|
||||
In addition, restic now tries to ensure that the directory in the repository
|
||||
which contains a newly uploaded file is also written to disk. This can prevent
|
||||
missing files if the system crashes or the disk is not properly unmounted.
|
||||
|
||||
https://github.com/restic/restic/pull/3436
|
9
changelog/0.13.0_2022-03-26/pull-3488
Normal file
9
changelog/0.13.0_2022-03-26/pull-3488
Normal file
@@ -0,0 +1,9 @@
|
||||
Bugfix: `rebuild-index` failed if an index file was damaged
|
||||
|
||||
Previously, the `rebuild-index` command would fail with an error if an index
|
||||
file was damaged or truncated. This has now been fixed.
|
||||
|
||||
On older restic versions, a (slow) workaround is to use
|
||||
`rebuild-index --read-all-packs` or to manually delete the damaged index.
|
||||
|
||||
https://github.com/restic/restic/pull/3488
|
10
changelog/0.13.0_2022-03-26/pull-3508
Normal file
10
changelog/0.13.0_2022-03-26/pull-3508
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Cache blobs read by the `dump` command
|
||||
|
||||
When dumping a file using the `dump` command, restic did not cache blobs in any
|
||||
way, so even consecutive runs of the same blob were loaded from the repository
|
||||
again and again, slowing down the dump.
|
||||
|
||||
Now, the caching mechanism already used by the `fuse` command is also used by
|
||||
the `dump` command. This makes dumping much faster, especially for sparse files.
|
||||
|
||||
https://github.com/restic/restic/pull/3508
|
8
changelog/0.13.0_2022-03-26/pull-3514
Normal file
8
changelog/0.13.0_2022-03-26/pull-3514
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Support configurable timeout for the rclone backend
|
||||
|
||||
A slow rclone backend could cause restic to time out while waiting for the
|
||||
repository to open. Restic now offers an `-o rclone.timeout` option to make
|
||||
this timeout configurable.
|
||||
|
||||
https://github.com/restic/restic/issues/3511
|
||||
https://github.com/restic/restic/pull/3514
|
6
changelog/0.13.0_2022-03-26/pull-3519
Normal file
6
changelog/0.13.0_2022-03-26/pull-3519
Normal file
@@ -0,0 +1,6 @@
|
||||
Change: Require Go 1.14 or newer
|
||||
|
||||
Restic now requires Go 1.14 to build. This allows it to use new
|
||||
standard library features instead of an external dependency.
|
||||
|
||||
https://github.com/restic/restic/issues/3519
|
8
changelog/0.13.0_2022-03-26/pull-3591
Normal file
8
changelog/0.13.0_2022-03-26/pull-3591
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Fix handling of `prune --max-repack-size=0`
|
||||
|
||||
Restic ignored the `--max-repack-size` option when passing a value of 0. This
|
||||
has now been fixed.
|
||||
|
||||
As a workaround, `--max-repack-size=1` can be used with older versions of restic.
|
||||
|
||||
https://github.com/restic/restic/pull/3591
|
10
changelog/0.13.0_2022-03-26/pull-3593
Normal file
10
changelog/0.13.0_2022-03-26/pull-3593
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Improve `copy` performance by parallelizing IO
|
||||
|
||||
Restic copy previously only used a single thread for copying blobs between
|
||||
repositories, which resulted in limited performance when copying small blobs
|
||||
to/from a high latency backend (i.e. any remote backend, especially b2).
|
||||
|
||||
Copying will now use 8 parallel threads to increase the throughput of the copy
|
||||
operation.
|
||||
|
||||
https://github.com/restic/restic/pull/3593
|
11
changelog/0.13.0_2022-03-26/pull-3619
Normal file
11
changelog/0.13.0_2022-03-26/pull-3619
Normal file
@@ -0,0 +1,11 @@
|
||||
Bugfix: Avoid choosing parent snapshots newer than time of new snapshot
|
||||
|
||||
The `backup` command, when a `--parent` was not provided, previously chose the
|
||||
most recent matching snapshot as the parent snapshot. However, this didn't make
|
||||
sense when the user passed `--time` to create a new snapshot older than the most
|
||||
recent snapshot.
|
||||
|
||||
Instead, `backup` now chooses the most recent snapshot which is not newer than
|
||||
the snapshot-being-created's timestamp, to avoid any time travel.
|
||||
|
||||
https://github.com/restic/restic/pull/3619
|
9
changelog/0.14.0_2022-08-25/issue-1153
Normal file
9
changelog/0.14.0_2022-08-25/issue-1153
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Support pruning even when the disk is full
|
||||
|
||||
When running out of disk space it was no longer possible to add or remove
|
||||
data from a repository. To help with recovering from such a deadlock, the
|
||||
prune command now supports an `--unsafe-recover-no-free-space` option to
|
||||
recover from these situations. Make sure to read the documentation first!
|
||||
|
||||
https://github.com/restic/restic/issues/1153
|
||||
https://github.com/restic/restic/pull/3481
|
8
changelog/0.14.0_2022-08-25/issue-1842
Normal file
8
changelog/0.14.0_2022-08-25/issue-1842
Normal file
@@ -0,0 +1,8 @@
|
||||
Change: Support debug log creation in release builds
|
||||
|
||||
Creating a debug log was only possible in debug builds which required users to
|
||||
manually build restic. We changed the release builds to allow creating debug
|
||||
logs by simply setting the environment variable `DEBUG_LOG=logname.log`.
|
||||
|
||||
https://github.com/restic/restic/issues/1842
|
||||
https://github.com/restic/restic/pull/3826
|
28
changelog/0.14.0_2022-08-25/issue-21
Normal file
28
changelog/0.14.0_2022-08-25/issue-21
Normal file
@@ -0,0 +1,28 @@
|
||||
Enhancement: Add compression support
|
||||
|
||||
We've added compression support to the restic repository format. To create a
|
||||
repository using the new format run `init --repository-version 2`. Please note
|
||||
that the repository cannot be read by restic versions prior to 0.14.0.
|
||||
|
||||
You can configure whether data is compressed with the option `--compression`. It
|
||||
can be set to `auto` (the default, which will compress very fast), `max` (which
|
||||
will trade backup speed and CPU usage for better compression), or `off` (which
|
||||
disables compression). Each setting is only applied for the current run of restic
|
||||
and does *not* apply to future runs. The option can also be set via the
|
||||
environment variable `RESTIC_COMPRESSION`.
|
||||
|
||||
To upgrade in place run `migrate upgrade_repo_v2` followed by `prune`. See the
|
||||
documentation for more details. The migration checks the repository integrity
|
||||
and upgrades the repository format, but will not change any data. Afterwards,
|
||||
prune will rewrite the metadata to make use of compression.
|
||||
|
||||
As an alternative you can use the `copy` command to migrate snapshots; First
|
||||
create a new repository using
|
||||
`init --repository-version 2 --copy-chunker-params --repo2 path/to/old/repo`,
|
||||
and then use the `copy` command to copy all snapshots to the new repository.
|
||||
|
||||
https://github.com/restic/restic/issues/21
|
||||
https://github.com/restic/restic/issues/3779
|
||||
https://github.com/restic/restic/pull/3666
|
||||
https://github.com/restic/restic/pull/3704
|
||||
https://github.com/restic/restic/pull/3733
|
18
changelog/0.14.0_2022-08-25/issue-2162
Normal file
18
changelog/0.14.0_2022-08-25/issue-2162
Normal file
@@ -0,0 +1,18 @@
|
||||
Enhancement: Adaptive IO concurrency based on backend connections
|
||||
|
||||
Many commands used hard-coded limits for the number of concurrent operations.
|
||||
This prevented speed improvements by increasing the number of connections used
|
||||
by a backend.
|
||||
|
||||
These limits have now been replaced by using the configured number of backend
|
||||
connections instead, which can be controlled using the
|
||||
`-o <backend-name>.connections=5` option. Commands will then automatically
|
||||
scale their parallelism accordingly.
|
||||
|
||||
To limit the number of CPU cores used by restic, you can set the environment
|
||||
variable `GOMAXPROCS` accordingly. For example to use a single CPU core, use
|
||||
`GOMAXPROCS=1`.
|
||||
|
||||
https://github.com/restic/restic/issues/2162
|
||||
https://github.com/restic/restic/issues/1467
|
||||
https://github.com/restic/restic/pull/3611
|
8
changelog/0.14.0_2022-08-25/issue-2248
Normal file
8
changelog/0.14.0_2022-08-25/issue-2248
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Support `self-update` on Windows
|
||||
|
||||
Restic `self-update` would fail in situations where the operating system
|
||||
locks running binaries, including Windows. The new behavior works around
|
||||
this by renaming the running file and swapping the updated file in place.
|
||||
|
||||
https://github.com/restic/restic/issues/2248
|
||||
https://github.com/restic/restic/pull/3675
|
12
changelog/0.14.0_2022-08-25/issue-2291
Normal file
12
changelog/0.14.0_2022-08-25/issue-2291
Normal file
@@ -0,0 +1,12 @@
|
||||
Enhancement: Allow pack size customization
|
||||
|
||||
Restic now uses a target pack size of 16 MiB by default. This can be customized
|
||||
using the `--pack-size size` option. Supported pack sizes range between 4 and
|
||||
128 MiB.
|
||||
|
||||
It is possible to migrate an existing repository to _larger_ pack files using
|
||||
`prune --repack-small`. This will rewrite every pack file which is
|
||||
significantly smaller than the target size.
|
||||
|
||||
https://github.com/restic/restic/issues/2291
|
||||
https://github.com/restic/restic/pull/3731
|
14
changelog/0.14.0_2022-08-25/issue-2295
Normal file
14
changelog/0.14.0_2022-08-25/issue-2295
Normal file
@@ -0,0 +1,14 @@
|
||||
Enhancement: Allow use of SAS token to authenticate to Azure
|
||||
|
||||
Previously restic only supported AccountKeys to authenticate to Azure
|
||||
storage accounts, which necessitates giving a significant amount of
|
||||
access.
|
||||
|
||||
We added support for Azure SAS tokens which are a more fine-grained
|
||||
and time-limited manner of granting access. Set the `AZURE_ACCOUNT_NAME`
|
||||
and `AZURE_ACCOUNT_SAS` environment variables to use a SAS token for
|
||||
authentication. Note that if `AZURE_ACCOUNT_KEY` is set, it will take
|
||||
precedence.
|
||||
|
||||
https://github.com/restic/restic/issues/2295
|
||||
https://github.com/restic/restic/pull/3661
|
13
changelog/0.14.0_2022-08-25/issue-2696
Normal file
13
changelog/0.14.0_2022-08-25/issue-2696
Normal file
@@ -0,0 +1,13 @@
|
||||
Enhancement: Improve backup speed with many small files
|
||||
|
||||
We have restructured the backup pipeline to continue reading files while all
|
||||
upload connections are busy. This allows the backup to already prepare the next
|
||||
data file such that the upload can continue as soon as a connection becomes
|
||||
available. This can especially improve the backup performance for high latency
|
||||
backends.
|
||||
|
||||
The upload concurrency is now controlled using the `-o <backend-name>.connections=5`
|
||||
option.
|
||||
|
||||
https://github.com/restic/restic/issues/2696
|
||||
https://github.com/restic/restic/pull/3489
|
15
changelog/0.14.0_2022-08-25/issue-2907
Normal file
15
changelog/0.14.0_2022-08-25/issue-2907
Normal file
@@ -0,0 +1,15 @@
|
||||
Enhancement: Make snapshot directory structure of `mount` command customizable
|
||||
|
||||
We've added the possibility to customize the snapshot directory structure of
|
||||
the `mount` command using templates passed to the `--snapshot-template` option.
|
||||
The formatting of snapshots' timestamps is now controlled using `--time-template`
|
||||
and supports subdirectories to for example group snapshots by year. Please
|
||||
see `restic help mount` for further details.
|
||||
|
||||
Characters in tag names which are not allowed in a filename are replaced by
|
||||
underscores `_`. For example a tag `foo/bar` will result in a directory name
|
||||
of `foo_bar`.
|
||||
|
||||
https://github.com/restic/restic/issues/2907
|
||||
https://github.com/restic/restic/pull/2913
|
||||
https://github.com/restic/restic/pull/3691
|
12
changelog/0.14.0_2022-08-25/issue-3114
Normal file
12
changelog/0.14.0_2022-08-25/issue-3114
Normal file
@@ -0,0 +1,12 @@
|
||||
Enhancement: Optimize handling of duplicate blobs in `prune`
|
||||
|
||||
Restic `prune` always used to repack all data files containing duplicate
|
||||
blobs. This effectively removed all duplicates during prune. However, as a
|
||||
consequence all these data files were repacked even if the unused repository
|
||||
space threshold could be reached with less work.
|
||||
|
||||
This is now changed and `prune` works nice and fast even when there are lots
|
||||
of duplicate blobs.
|
||||
|
||||
https://github.com/restic/restic/issues/3114
|
||||
https://github.com/restic/restic/pull/3290
|
13
changelog/0.14.0_2022-08-25/issue-3295
Normal file
13
changelog/0.14.0_2022-08-25/issue-3295
Normal file
@@ -0,0 +1,13 @@
|
||||
Change: Deprecate `check --check-unused` and add further checks
|
||||
|
||||
Since restic 0.12.0, it is expected to still have unused blobs after running
|
||||
`prune`. This made the `--check-unused` option of the `check` command rather
|
||||
useless and tended to confuse users. This option has been deprecated and is
|
||||
now ignored.
|
||||
|
||||
The `check` command now also warns if a repository is using either the legacy
|
||||
S3 layout or mixed pack files with both tree and data blobs. The latter is
|
||||
known to cause performance problems.
|
||||
|
||||
https://github.com/restic/restic/issues/3295
|
||||
https://github.com/restic/restic/pull/3730
|
14
changelog/0.14.0_2022-08-25/issue-3428
Normal file
14
changelog/0.14.0_2022-08-25/issue-3428
Normal file
@@ -0,0 +1,14 @@
|
||||
Bugfix: List snapshots in backend at most once to resolve snapshot IDs
|
||||
|
||||
Many commands support specifying a list of snapshot IDs which are then used to
|
||||
determine the snapshots to be processed by the command. To resolve snapshot IDs
|
||||
or `latest`, and check that these exist, restic previously listed all snapshots
|
||||
stored in the repository. Depending on the backend this could be a slow and/or
|
||||
expensive operation.
|
||||
|
||||
Restic now lists the snapshots only once and remembers the result in order to
|
||||
resolve all further snapshot IDs swiftly.
|
||||
|
||||
https://github.com/restic/restic/issues/3428
|
||||
https://github.com/restic/restic/pull/3570
|
||||
https://github.com/restic/restic/pull/3395
|
14
changelog/0.14.0_2022-08-25/issue-3432
Normal file
14
changelog/0.14.0_2022-08-25/issue-3432
Normal file
@@ -0,0 +1,14 @@
|
||||
Bugfix: Fix rare 'not found in repository' error for `copy` command
|
||||
|
||||
In rare cases `copy` (and other commands) would report that `LoadTree(...)`
|
||||
returned an `id [...] not found in repository` error. This could be caused by
|
||||
a backup or copy command running concurrently. The error was only temporary;
|
||||
running the failed restic command a second time as a workaround did resolve the
|
||||
error.
|
||||
|
||||
This issue has now been fixed by correcting the order in which restic reads data
|
||||
from the repository. It is now guaranteed that restic only loads snapshots for
|
||||
which all necessary data is already available.
|
||||
|
||||
https://github.com/restic/restic/issues/3432
|
||||
https://github.com/restic/restic/pull/3570
|
10
changelog/0.14.0_2022-08-25/issue-3465
Normal file
10
changelog/0.14.0_2022-08-25/issue-3465
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Improve handling of temporary files on Windows
|
||||
|
||||
In some cases restic failed to delete temporary files, causing the current
|
||||
command to fail. This has now been fixed by ensuring that Windows automatically
|
||||
deletes the file. In addition, temporary files are only written to disk when
|
||||
necessary, reducing disk writes.
|
||||
|
||||
https://github.com/restic/restic/issues/3465
|
||||
https://github.com/restic/restic/issues/1551
|
||||
https://github.com/restic/restic/pull/3610
|
7
changelog/0.14.0_2022-08-25/issue-3685
Normal file
7
changelog/0.14.0_2022-08-25/issue-3685
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: The `diff` command incorrectly listed some files as added
|
||||
|
||||
There was a bug in the `diff` command, causing it to always show files in a
|
||||
removed directory as added. This has now been fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/3685
|
||||
https://github.com/restic/restic/pull/3686
|
13
changelog/0.14.0_2022-08-25/issue-3692
Normal file
13
changelog/0.14.0_2022-08-25/issue-3692
Normal file
@@ -0,0 +1,13 @@
|
||||
Bugfix: Fix rclone (shimmed by Scoop) and sftp not working on Windows
|
||||
|
||||
In #3602 a fix was introduced to address the problem of `rclone` prematurely
|
||||
exiting when Ctrl+C is pressed on Windows. The solution was to create the
|
||||
subprocess with its console detached from the restic console.
|
||||
|
||||
However, this solution failed when using `rclone` installed by Scoop or using
|
||||
`sftp` with a passphrase-protected private key. We've now fixed this by using
|
||||
a different approach to prevent Ctrl-C from passing down too early.
|
||||
|
||||
https://github.com/restic/restic/issues/3681
|
||||
https://github.com/restic/restic/issues/3692
|
||||
https://github.com/restic/restic/pull/3696
|
11
changelog/0.14.0_2022-08-25/issue-3709
Normal file
11
changelog/0.14.0_2022-08-25/issue-3709
Normal file
@@ -0,0 +1,11 @@
|
||||
Enhancement: Validate exclude patterns before backing up
|
||||
|
||||
Exclude patterns provided via `--exclude`, `--iexclude`, `--exclude-file` or
|
||||
`--iexclude-file` previously weren't validated. As a consequence, invalid
|
||||
patterns resulted in files that were meant to be excluded being backed up.
|
||||
|
||||
Restic now validates all patterns before running the backup and aborts with
|
||||
a fatal error if an invalid pattern is detected.
|
||||
|
||||
https://github.com/restic/restic/issues/3709
|
||||
https://github.com/restic/restic/pull/3734
|
13
changelog/0.14.0_2022-08-25/issue-3720
Normal file
13
changelog/0.14.0_2022-08-25/issue-3720
Normal file
@@ -0,0 +1,13 @@
|
||||
Bugfix: Directory sync errors for repositories accessed via SMB
|
||||
|
||||
On Linux and macOS, accessing a repository via a SMB/CIFS mount resulted in
|
||||
restic failing to save the lock file, yielding the following errors:
|
||||
|
||||
Save(<lock/071fe833f0>) returned error, retrying after 552.330144ms: sync /repo/locks: no such file or directory
|
||||
Save(<lock/bf789d7343>) returned error, retrying after 552.330144ms: sync /repo/locks: invalid argument
|
||||
|
||||
This has now been fixed by ignoring the relevant error codes.
|
||||
|
||||
https://github.com/restic/restic/issues/3720
|
||||
https://github.com/restic/restic/issues/3751
|
||||
https://github.com/restic/restic/pull/3752
|
8
changelog/0.14.0_2022-08-25/issue-3736
Normal file
8
changelog/0.14.0_2022-08-25/issue-3736
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: The `stats` command miscalculated restore size for multiple snapshots
|
||||
|
||||
Since restic 0.10.0 the restore size calculated by the `stats` command for
|
||||
multiple snapshots was too low. The hardlink detection was accidentally applied
|
||||
across multiple snapshots and thus ignored many files. This has now been fixed.
|
||||
|
||||
https://github.com/restic/restic/issues/3736
|
||||
https://github.com/restic/restic/pull/3740
|
8
changelog/0.14.0_2022-08-25/issue-3837
Normal file
8
changelog/0.14.0_2022-08-25/issue-3837
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Improve SFTP repository initialization over slow links
|
||||
|
||||
The `init` command, when used on an SFTP backend, now sends multiple `mkdir`
|
||||
commands to the backend concurrently. This reduces the waiting times when
|
||||
creating a repository over a very slow connection.
|
||||
|
||||
https://github.com/restic/restic/issues/3837
|
||||
https://github.com/restic/restic/pull/3840
|
9
changelog/0.14.0_2022-08-25/issue-3861
Normal file
9
changelog/0.14.0_2022-08-25/issue-3861
Normal file
@@ -0,0 +1,9 @@
|
||||
Bugfix: Yield error on invalid policy to `forget`
|
||||
|
||||
The `forget` command previously silently ignored invalid/unsupported
|
||||
units in the duration options, such as e.g. `--keep-within-daily 2w`.
|
||||
|
||||
Specifying an invalid/unsupported duration unit now results in an error.
|
||||
|
||||
https://github.com/restic/restic/issues/3861
|
||||
https://github.com/restic/restic/pull/3862
|
21
changelog/0.14.0_2022-08-25/pull-3419
Normal file
21
changelog/0.14.0_2022-08-25/pull-3419
Normal file
@@ -0,0 +1,21 @@
|
||||
Enhancement: Use config file permissions to control file group access
|
||||
|
||||
Previously files in a local/SFTP repository would always end up with very
|
||||
restrictive access permissions, allowing access only to the owner. This
|
||||
prevented a number of valid use-cases involving groups and ACLs.
|
||||
|
||||
We now use the permissions of the config file in the repository to decide
|
||||
whether group access should be given to newly created repository files or
|
||||
not. We arrange for repository files to be created group readable exactly
|
||||
when the repository config file is group readable.
|
||||
|
||||
To opt-in to group readable repositories, a simple `chmod -R g+r` or
|
||||
equivalent on the config file can be used. For repositories that should
|
||||
be writable by group members a tad more setup is required, see the docs.
|
||||
|
||||
Posix ACLs can also be used now that the group permissions being forced to
|
||||
zero no longer masks the effect of ACL entries.
|
||||
|
||||
https://github.com/restic/restic/issues/2351
|
||||
https://github.com/restic/restic/pull/3419
|
||||
https://forum.restic.net/t/1391
|
9
changelog/0.14.0_2022-08-25/pull-3475
Normal file
9
changelog/0.14.0_2022-08-25/pull-3475
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Allow limiting IO concurrency for local and SFTP backend
|
||||
|
||||
Restic did not support limiting the IO concurrency / number of connections for
|
||||
accessing repositories stored using the local or SFTP backends. The number of
|
||||
connections is now limited as for other backends, and can be configured via the
|
||||
the `-o local.connections=2` and `-o sftp.connections=5` options. This ensures
|
||||
that restic does not overwhelm the backend with concurrent IO operations.
|
||||
|
||||
https://github.com/restic/restic/pull/3475
|
13
changelog/0.14.0_2022-08-25/pull-3484
Normal file
13
changelog/0.14.0_2022-08-25/pull-3484
Normal file
@@ -0,0 +1,13 @@
|
||||
Enhancement: Stream data in `check` and `prune` commands
|
||||
|
||||
The commands `check --read-data` and `prune` previously downloaded data files
|
||||
into temporary files which could end up being written to disk. This could cause
|
||||
a large amount of data being written to disk.
|
||||
|
||||
The pack files are now instead streamed, which removes the need for temporary
|
||||
files. Please note that *uploads* during `backup` and `prune` still require
|
||||
temporary files.
|
||||
|
||||
https://github.com/restic/restic/pull/3484
|
||||
https://github.com/restic/restic/issues/3710
|
||||
https://github.com/restic/restic/pull/3717
|
10
changelog/0.14.0_2022-08-25/pull-3513
Normal file
10
changelog/0.14.0_2022-08-25/pull-3513
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Improve speed of `copy` command
|
||||
|
||||
The `copy` command could require a long time to copy snapshots for non-local
|
||||
backends. This has been improved to provide a throughput comparable to the
|
||||
`restore` command.
|
||||
|
||||
Additionally, `copy` now displays a progress bar.
|
||||
|
||||
https://github.com/restic/restic/issues/2923
|
||||
https://github.com/restic/restic/pull/3513
|
8
changelog/0.14.0_2022-08-25/pull-3680
Normal file
8
changelog/0.14.0_2022-08-25/pull-3680
Normal file
@@ -0,0 +1,8 @@
|
||||
Change: Update dependencies and require Go 1.15 or newer
|
||||
|
||||
We've updated most dependencies. Since some libraries require newer language
|
||||
features we're dropping support for Go 1.14, which means that restic now
|
||||
requires at least Go 1.15 to build.
|
||||
|
||||
https://github.com/restic/restic/issues/3680
|
||||
https://github.com/restic/restic/issues/3883
|
7
changelog/0.14.0_2022-08-25/pull-3716
Normal file
7
changelog/0.14.0_2022-08-25/pull-3716
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: Print "wrong password" to stderr instead of stdout
|
||||
|
||||
If an invalid password was entered, the error message was printed on stdout and
|
||||
not on stderr as intended. This has now been fixed.
|
||||
|
||||
https://github.com/restic/restic/pull/3716
|
||||
https://forum.restic.net/t/4965
|
8
changelog/0.14.0_2022-08-25/pull-3729
Normal file
8
changelog/0.14.0_2022-08-25/pull-3729
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Display full IDs in `check` warnings
|
||||
|
||||
When running commands to inspect or repair a damaged repository, it is often
|
||||
necessary to supply the full IDs of objects stored in the repository.
|
||||
|
||||
The output of `check` now includes full IDs instead of their shortened variant.
|
||||
|
||||
https://github.com/restic/restic/pull/3729
|
19
changelog/0.14.0_2022-08-25/pull-3742
Normal file
19
changelog/0.14.0_2022-08-25/pull-3742
Normal file
@@ -0,0 +1,19 @@
|
||||
Change: Replace `--repo2` option used by `init`/`copy` with `--from-repo`
|
||||
|
||||
The `init` and `copy` commands can read data from another repository.
|
||||
However, confusingly `--repo2` referred to the repository *from* which the
|
||||
`init` command copies parameters, but for the `copy` command `--repo2`
|
||||
referred to the copy *destination*.
|
||||
|
||||
We've introduced a new option, `--from-repo`, which always refers to the
|
||||
source repository for both commands. The old parameter names have been
|
||||
deprecated but still work. To create a new repository and copy all snapshots
|
||||
to it, the commands are now as follows:
|
||||
|
||||
```
|
||||
restic -r /srv/restic-repo-copy init --from-repo /srv/restic-repo --copy-chunker-params
|
||||
restic -r /srv/restic-repo-copy copy --from-repo /srv/restic-repo
|
||||
```
|
||||
|
||||
https://github.com/restic/restic/pull/3742
|
||||
https://forum.restic.net/t/5017
|
14
changelog/0.14.0_2022-08-25/pull-3772
Normal file
14
changelog/0.14.0_2022-08-25/pull-3772
Normal file
@@ -0,0 +1,14 @@
|
||||
Bugfix: Correctly rebuild index for legacy repositories
|
||||
|
||||
After running `rebuild-index` on a legacy repository containing mixed pack
|
||||
files (that is, pack files which store both metadata and file data), `check`
|
||||
printed warnings like `pack 12345678 contained in several indexes: ...`.
|
||||
This warning was not critical, but has now nonetheless been fixed by properly
|
||||
handling mixed pack files while rebuilding the index.
|
||||
|
||||
Running `prune` for such legacy repositories will also fix the warning by
|
||||
reorganizing the pack files which caused it.
|
||||
|
||||
https://github.com/restic/restic/pull/3772
|
||||
https://github.com/restic/restic/pull/3884
|
||||
https://forum.restic.net/t/5044/13
|
7
changelog/0.14.0_2022-08-25/pull-3773
Normal file
7
changelog/0.14.0_2022-08-25/pull-3773
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Optimize memory usage for directories with many files
|
||||
|
||||
Backing up a directory with hundreds of thousands or more files caused restic
|
||||
to require large amounts of memory. We've now optimized the `backup` command
|
||||
such that it requires up to 30% less memory.
|
||||
|
||||
https://github.com/restic/restic/pull/3773
|
11
changelog/0.14.0_2022-08-25/pull-3776
Normal file
11
changelog/0.14.0_2022-08-25/pull-3776
Normal file
@@ -0,0 +1,11 @@
|
||||
Bugfix: Limit number of key files tested while opening a repository
|
||||
|
||||
Previously, restic tested the password against every key in the repository
|
||||
when opening a repository. The more keys there were in the repository, the
|
||||
slower this operation became.
|
||||
|
||||
Restic now tests the password against up to 20 key files in the repository.
|
||||
Alternatively, you can use the `--key-hint=<key ID>` option to specify a
|
||||
specific key file to use instead.
|
||||
|
||||
https://github.com/restic/restic/pull/3776
|
11
changelog/0.14.0_2022-08-25/pull-3819
Normal file
11
changelog/0.14.0_2022-08-25/pull-3819
Normal file
@@ -0,0 +1,11 @@
|
||||
Enhancement: Validate include/exclude patterns before restoring
|
||||
|
||||
Patterns provided to `restore` via `--exclude`, `--iexclude`, `--include`
|
||||
and `--iinclude` weren't validated before running the restore. Invalid
|
||||
patterns would result in error messages being printed repeatedly, and
|
||||
possibly unwanted files being restored.
|
||||
|
||||
Restic now validates all patterns before running the restore, and aborts
|
||||
with a fatal error if an invalid pattern is detected.
|
||||
|
||||
https://github.com/restic/restic/pull/3819
|
@@ -1,4 +1,4 @@
|
||||
Enhancement: Clarify semantic for `--tasg` for the `forget` command
|
||||
Enhancement: Clarify semantic for `--tag` for the `forget` command
|
||||
|
||||
https://github.com/restic/restic/issues/1081
|
||||
https://github.com/restic/restic/pull/1090
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user