mirror of
https://github.com/restic/restic.git
synced 2026-02-22 16:56:24 +00:00
Compare commits
745 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2fb4d44a4d | ||
|
|
3c08f956a3 | ||
|
|
1463a7aaaa | ||
|
|
76b8e080c3 | ||
|
|
a9f9243afc | ||
|
|
34bf9de339 | ||
|
|
597f6be4e4 | ||
|
|
aeeec0ff94 | ||
|
|
b723094739 | ||
|
|
84dcc3c396 | ||
|
|
21747bc219 | ||
|
|
28b00891d2 | ||
|
|
b4e00c324f | ||
|
|
4eb9df63cf | ||
|
|
fde674d214 | ||
|
|
fbb08c14de | ||
|
|
8b95b48bae | ||
|
|
71a4ccea71 | ||
|
|
5a9c7c51e6 | ||
|
|
5abd133e26 | ||
|
|
2debb5c0e0 | ||
|
|
54c0794cf3 | ||
|
|
cff3f3dc0d | ||
|
|
c5575c7ed9 | ||
|
|
7f0d964a05 | ||
|
|
514f1b8917 | ||
|
|
a7a99be460 | ||
|
|
e17f65b23a | ||
|
|
e86fb5eedd | ||
|
|
c8cb9a9509 | ||
|
|
aa333f4d49 | ||
|
|
c40002246d | ||
|
|
77a6054d64 | ||
|
|
94ec55ff2c | ||
|
|
2369da158f | ||
|
|
5379950c64 | ||
|
|
cbfa516575 | ||
|
|
fb62da1748 | ||
|
|
b1b1f6e04f | ||
|
|
05f826a4fc | ||
|
|
649afb1198 | ||
|
|
5dc8d3588d | ||
|
|
9d2aa0a71c | ||
|
|
c34db983d8 | ||
|
|
e805b968b1 | ||
|
|
e706f1a8d1 | ||
|
|
4219bfbcc9 | ||
|
|
f99c95c766 | ||
|
|
cccb2fc7e7 | ||
|
|
ff3de66ddf | ||
|
|
fb0d01ef1f | ||
|
|
e11a183578 | ||
|
|
ee6732d2c6 | ||
|
|
4b2f2b542d | ||
|
|
6eb2d76435 | ||
|
|
f63c7048c7 | ||
|
|
ca3c566a99 | ||
|
|
7719cf88d9 | ||
|
|
00e905ebe6 | ||
|
|
164acceb55 | ||
|
|
909d9273cc | ||
|
|
d62a664bb7 | ||
|
|
663c57ab4d | ||
|
|
ed99f53786 | ||
|
|
abc4027083 | ||
|
|
d6212ee2d9 | ||
|
|
9c55e8d69c | ||
|
|
1c9fca6d14 | ||
|
|
be205563be | ||
|
|
fc6c341b26 | ||
|
|
f86c141b83 | ||
|
|
a6d4888d48 | ||
|
|
44550a88a0 | ||
|
|
b5c23695c9 | ||
|
|
0084e42cb6 | ||
|
|
fe33c05a20 | ||
|
|
3789e55e20 | ||
|
|
4cec7e236a | ||
|
|
3a16148447 | ||
|
|
df2c03a6a4 | ||
|
|
ebce4b2581 | ||
|
|
953f3d55ee | ||
|
|
7e6bfdae79 | ||
|
|
0f4cbea27d | ||
|
|
59782e347c | ||
|
|
e835abeceb | ||
|
|
8e812b7ac0 | ||
|
|
685ce719ad | ||
|
|
2b39f9f4b2 | ||
|
|
b63de7c798 | ||
|
|
b0c6e53241 | ||
|
|
e9ea268847 | ||
|
|
dd91b13ff3 | ||
|
|
c4e9d5d11e | ||
|
|
52230b8f07 | ||
|
|
a3d43a92b3 | ||
|
|
2130897ce0 | ||
|
|
67da240068 | ||
|
|
1046eabf95 | ||
|
|
663e8284b2 | ||
|
|
5a43ca1ccb | ||
|
|
200415e0a1 | ||
|
|
ea50687e8b | ||
|
|
7335a2492f | ||
|
|
bcb6881ffb | ||
|
|
37df829b3d | ||
|
|
39f1ba1897 | ||
|
|
231076fa4a | ||
|
|
0bdb131521 | ||
|
|
c31a5e7e5c | ||
|
|
05958caf6e | ||
|
|
87e31799f2 | ||
|
|
35528506a6 | ||
|
|
2544978aaf | ||
|
|
97565d68a2 | ||
|
|
f49f5c5903 | ||
|
|
d89f2e5226 | ||
|
|
02f4f5dc66 | ||
|
|
5723636b35 | ||
|
|
5632ca4f44 | ||
|
|
539599d1f1 | ||
|
|
d77a326bb0 | ||
|
|
60a7a9d019 | ||
|
|
99f0fce673 | ||
|
|
b708cfee3f | ||
|
|
b8620429e2 | ||
|
|
aab414b368 | ||
|
|
e120b17abd | ||
|
|
5f43e17918 | ||
|
|
489eef5a6f | ||
|
|
8c550ca011 | ||
|
|
032621289b | ||
|
|
92316a9853 | ||
|
|
180741609e | ||
|
|
70250762f3 | ||
|
|
39ba17a2d6 | ||
|
|
cfe8c8c9cd | ||
|
|
b45fc89512 | ||
|
|
aabc0ccaa7 | ||
|
|
2bc4d200d4 | ||
|
|
0247fe01c0 | ||
|
|
c912b38bf0 | ||
|
|
559946c58a | ||
|
|
a99637c613 | ||
|
|
36501dda73 | ||
|
|
18ecd9df30 | ||
|
|
c686dd0448 | ||
|
|
6d91d468e7 | ||
|
|
5f9b5b0219 | ||
|
|
3f7d85360a | ||
|
|
8d8456590c | ||
|
|
85f9f3e290 | ||
|
|
9e1180a29b | ||
|
|
e17c1096a0 | ||
|
|
546d6f36b2 | ||
|
|
6ecd14d780 | ||
|
|
f6ed7dc013 | ||
|
|
e290f2591e | ||
|
|
75f90ca303 | ||
|
|
ca1430184f | ||
|
|
a297ab9d7c | ||
|
|
f078525d98 | ||
|
|
e03cc81a9a | ||
|
|
af27f1dde5 | ||
|
|
32505c3916 | ||
|
|
9a8d5a1bff | ||
|
|
740ee787c1 | ||
|
|
2eba0bfeec | ||
|
|
d780ec4bce | ||
|
|
6b564d21b3 | ||
|
|
6c2b2a58ad | ||
|
|
b80b68dcb3 | ||
|
|
29c92ca415 | ||
|
|
bc04ce8e6b | ||
|
|
6b6b75fa4a | ||
|
|
84e493beba | ||
|
|
323376efa2 | ||
|
|
e353b00501 | ||
|
|
2510d770ab | ||
|
|
7d8765a937 | ||
|
|
81a04656c5 | ||
|
|
2f26fb8834 | ||
|
|
d3ebe1311f | ||
|
|
42a8c19aae | ||
|
|
27ccea6371 | ||
|
|
4f46b4f393 | ||
|
|
221e741537 | ||
|
|
8b3b7bc5ef | ||
|
|
934ae1b559 | ||
|
|
0e7e3cb714 | ||
|
|
95b6e4e9e9 | ||
|
|
3a5e040b7e | ||
|
|
28c826868b | ||
|
|
1695c8ed55 | ||
|
|
366622f09a | ||
|
|
0dc31c03e1 | ||
|
|
0405e67f8b | ||
|
|
df350e1f6e | ||
|
|
06cb3f7058 | ||
|
|
56b884be17 | ||
|
|
a25d280f3e | ||
|
|
2253a73837 | ||
|
|
946c8399e2 | ||
|
|
9d0f13c4c0 | ||
|
|
eb9e2bc79a | ||
|
|
0722c44ba1 | ||
|
|
2424012d75 | ||
|
|
82ded35706 | ||
|
|
69fcb604c8 | ||
|
|
88607fc625 | ||
|
|
7092af6329 | ||
|
|
23d7d91597 | ||
|
|
ad82781743 | ||
|
|
20d78ab0d9 | ||
|
|
be24237063 | ||
|
|
d886cb5c27 | ||
|
|
63bb1933e5 | ||
|
|
81e6a9d0d0 | ||
|
|
5d4110d2a7 | ||
|
|
0cedb3ac9f | ||
|
|
0b44c629f2 | ||
|
|
2579fe6b7b | ||
|
|
812ce4bfc4 | ||
|
|
410efe0694 | ||
|
|
b2d944d5cb | ||
|
|
b846c3915c | ||
|
|
ffbc68aa2e | ||
|
|
eddb8549ef | ||
|
|
bb44855078 | ||
|
|
2567026ccb | ||
|
|
0cc8fc6f18 | ||
|
|
cc81b916a6 | ||
|
|
27fadd2c6e | ||
|
|
dc38265b54 | ||
|
|
1ea518d5ef | ||
|
|
901cd5edef | ||
|
|
e1fd47765b | ||
|
|
c02923fbfc | ||
|
|
7c5ce83044 | ||
|
|
37e2e9a844 | ||
|
|
26e5db1849 | ||
|
|
a2766ffe0c | ||
|
|
0f5e38609f | ||
|
|
f178cbf93d | ||
|
|
c8096ca8d2 | ||
|
|
27d29b9853 | ||
|
|
8a171731ba | ||
|
|
abde9e2fba | ||
|
|
6a4a328bbc | ||
|
|
8253fadc96 | ||
|
|
134abbd82b | ||
|
|
fe557b022a | ||
|
|
cd8226130a | ||
|
|
1ebf0e8de8 | ||
|
|
37ea764000 | ||
|
|
0fdb9a6129 | ||
|
|
47b326b7b5 | ||
|
|
e2cf6eb434 | ||
|
|
f79698dcdd | ||
|
|
35a5307db3 | ||
|
|
6341c7d72c | ||
|
|
f4bab789b8 | ||
|
|
fa893ee477 | ||
|
|
014cec06f1 | ||
|
|
431ab5aa6a | ||
|
|
262b0cd9d4 | ||
|
|
e83ec17e95 | ||
|
|
ea593fca1b | ||
|
|
fe1f151ae1 | ||
|
|
b12bba4e2a | ||
|
|
e2005e02bb | ||
|
|
41c8c946ba | ||
|
|
fe08686558 | ||
|
|
0ed2401711 | ||
|
|
06bd606d85 | ||
|
|
c347431907 | ||
|
|
f63d7048f9 | ||
|
|
f39f7c76dd | ||
|
|
0268d0e7d6 | ||
|
|
8515d093e0 | ||
|
|
fe3f326d8d | ||
|
|
8170db40c7 | ||
|
|
99ac0da4bc | ||
|
|
7e2c93420f | ||
|
|
6d46824fb0 | ||
|
|
bb435b39d9 | ||
|
|
2a67d7a6c2 | ||
|
|
ba43c8bab5 | ||
|
|
931e6ed2ac | ||
|
|
a5f0e9ab65 | ||
|
|
6fc133ad6a | ||
|
|
e1b80859f2 | ||
|
|
d069ee31b2 | ||
|
|
981752ade0 | ||
|
|
d01d07fc0a | ||
|
|
526aaca6f5 | ||
|
|
2f8147af59 | ||
|
|
f3016a9096 | ||
|
|
f854a41ba9 | ||
|
|
ca3cadef5e | ||
|
|
3304b0fcf0 | ||
|
|
d8938e259a | ||
|
|
53a554c89d | ||
|
|
e71db01230 | ||
|
|
178e946fc7 | ||
|
|
f3bff12939 | ||
|
|
7a99418dc5 | ||
|
|
c71ba466ea | ||
|
|
8ce5d35543 | ||
|
|
134f834c60 | ||
|
|
8a37c07295 | ||
|
|
bd0ada7842 | ||
|
|
eea96f652d | ||
|
|
38c3061df7 | ||
|
|
f5fa602482 | ||
|
|
e44ac55f63 | ||
|
|
f1cfb73a8b | ||
|
|
5b96885c6d | ||
|
|
c5da90a5b7 | ||
|
|
bcdebfb84e | ||
|
|
359b273649 | ||
|
|
2e2c8dc620 | ||
|
|
8d37b723ca | ||
|
|
315b7f282f | ||
|
|
a3f8e9dfa7 | ||
|
|
982810f7cc | ||
|
|
90b96d19cd | ||
|
|
6a52bb6f54 | ||
|
|
cacaa4393f | ||
|
|
d63ab4e9a4 | ||
|
|
ca6daec8dd | ||
|
|
c87f2420a6 | ||
|
|
f5bbbc52f4 | ||
|
|
9e3dde8ec7 | ||
|
|
9dba182e51 | ||
|
|
944fc857eb | ||
|
|
7507a658ac | ||
|
|
9fa4f5eb6b | ||
|
|
ce4d71d626 | ||
|
|
8e2ef3f38b | ||
|
|
8dc952775e | ||
|
|
99b6163e27 | ||
|
|
beaf55f1fc | ||
|
|
980bb9059f | ||
|
|
0e7281eb71 | ||
|
|
0b6133d7b5 | ||
|
|
b57ca64275 | ||
|
|
faadbd734b | ||
|
|
88b0a93409 | ||
|
|
4a995105a9 | ||
|
|
7fe496f983 | ||
|
|
e56370eb5b | ||
|
|
b8af7f63a0 | ||
|
|
3eea555155 | ||
|
|
897c923cc9 | ||
|
|
67193e3deb | ||
|
|
0e722efb09 | ||
|
|
3736f33ebf | ||
|
|
d1d9c3f9d7 | ||
|
|
cd5cbe0910 | ||
|
|
814e992c0b | ||
|
|
660fe78735 | ||
|
|
87d084e18c | ||
|
|
9ce2a73fc5 | ||
|
|
f2314b26ba | ||
|
|
74dcf41f25 | ||
|
|
b6ba30186f | ||
|
|
32637a0328 | ||
|
|
0addd90e14 | ||
|
|
1b5ee5b10a | ||
|
|
042adeb5d0 | ||
|
|
7e4ce0dacc | ||
|
|
8ceb22fe8a | ||
|
|
c5553ec855 | ||
|
|
bb3ed54291 | ||
|
|
513ba3b6f7 | ||
|
|
17d688afef | ||
|
|
d81eee26b3 | ||
|
|
cc5ada63a4 | ||
|
|
88fb60e0b5 | ||
|
|
02200acad0 | ||
|
|
1a2d190bdb | ||
|
|
2db4ff168a | ||
|
|
a77c8cc5d2 | ||
|
|
b8866c1fe4 | ||
|
|
f0f17db847 | ||
|
|
a5c003acb0 | ||
|
|
7b44fd0f9d | ||
|
|
cebee0b8fa | ||
|
|
d886bc6c48 | ||
|
|
d81adcfaa5 | ||
|
|
6da9bfbbce | ||
|
|
69a6e622d0 | ||
|
|
1dcfd64028 | ||
|
|
5d1c1f721e | ||
|
|
fbc8bbf305 | ||
|
|
cdef55bb88 | ||
|
|
26df48b2aa | ||
|
|
a7baea0522 | ||
|
|
55e6003749 | ||
|
|
846acd5d4c | ||
|
|
43f8145858 | ||
|
|
79759928f6 | ||
|
|
eb59d28154 | ||
|
|
79f63a2e74 | ||
|
|
6a62254048 | ||
|
|
657a1d75af | ||
|
|
2694def56a | ||
|
|
7843341da3 | ||
|
|
d46314648e | ||
|
|
e45011af57 | ||
|
|
fb09884893 | ||
|
|
d1eecafa63 | ||
|
|
b47d991f56 | ||
|
|
553ea812a7 | ||
|
|
216e374310 | ||
|
|
034b0b8040 | ||
|
|
5ab9e12b46 | ||
|
|
abe6e0d22d | ||
|
|
f5b550191c | ||
|
|
3dcacb3730 | ||
|
|
033589a66b | ||
|
|
e46a647c45 | ||
|
|
f26492fc2d | ||
|
|
3473c3f7b6 | ||
|
|
1b5242b4f9 | ||
|
|
6d897def1b | ||
|
|
2f10e25738 | ||
|
|
555bd257bd | ||
|
|
3afd974dea | ||
|
|
f4120c9d45 | ||
|
|
61cb1cc6f8 | ||
|
|
49bc1d0b3b | ||
|
|
ba23d24dd1 | ||
|
|
556a63de19 | ||
|
|
fae3c4d437 | ||
|
|
89c2ed2a1c | ||
|
|
23f1cb06d6 | ||
|
|
ac92e2dd2d | ||
|
|
bf58425351 | ||
|
|
a3dc0ab398 | ||
|
|
224ebdb8b9 | ||
|
|
cf80d295f3 | ||
|
|
2133869127 | ||
|
|
97330ac621 | ||
|
|
1ee1559506 | ||
|
|
eccc336319 | ||
|
|
7fe657ec71 | ||
|
|
77c07bfd19 | ||
|
|
4de938d97a | ||
|
|
dad1c87afe | ||
|
|
801dbb6d03 | ||
|
|
fa0be82da8 | ||
|
|
7e8bc8d362 | ||
|
|
0bb2a8e0d0 | ||
|
|
2e72b57f2f | ||
|
|
bff1039e3a | ||
|
|
5a999cb77f | ||
|
|
3a2539e0ac | ||
|
|
e262f35d0a | ||
|
|
176bfa6529 | ||
|
|
240c4cf2fd | ||
|
|
db5ec5d876 | ||
|
|
e1dfaf5d87 | ||
|
|
5436154f0d | ||
|
|
809e218d20 | ||
|
|
1eaad6cebb | ||
|
|
56fccecd06 | ||
|
|
3890a947ca | ||
|
|
e299272378 | ||
|
|
70248bd05a | ||
|
|
7a5fde8f5a | ||
|
|
62ba9f1950 | ||
|
|
610b676444 | ||
|
|
58699e3c90 | ||
|
|
9be24a1c9f | ||
|
|
5ace41471e | ||
|
|
3b2106ed30 | ||
|
|
5f4f997126 | ||
|
|
49d397a419 | ||
|
|
ea1ab96749 | ||
|
|
24c62e719a | ||
|
|
9c6b7f688e | ||
|
|
d41dce5ecb | ||
|
|
52a3eafede | ||
|
|
55dfc85159 | ||
|
|
a7a478a19e | ||
|
|
2080afd9de | ||
|
|
9aa136b982 | ||
|
|
3a191f37cb | ||
|
|
429106340f | ||
|
|
530c73b457 | ||
|
|
fb9729fdb9 | ||
|
|
45a09c76ff | ||
|
|
efd65a1b65 | ||
|
|
ae60188eb9 | ||
|
|
3b904525d9 | ||
|
|
1e31f5202f | ||
|
|
f12d41138a | ||
|
|
98369f6a5d | ||
|
|
8f9bf1995b | ||
|
|
e7de3b5f9d | ||
|
|
3541d06d07 | ||
|
|
db0e3cd772 | ||
|
|
d3fee08f9a | ||
|
|
727fb6eabe | ||
|
|
d610c60991 | ||
|
|
3f6e11d26e | ||
|
|
a4577769ae | ||
|
|
7f927d4774 | ||
|
|
e091673f8f | ||
|
|
9842eff887 | ||
|
|
c40b3d3983 | ||
|
|
ac5eefdee4 | ||
|
|
bf508643a5 | ||
|
|
02fc16e97d | ||
|
|
1a83a739dc | ||
|
|
81473f4538 | ||
|
|
e1a847e4d1 | ||
|
|
0f426c3795 | ||
|
|
6df3d169b8 | ||
|
|
5479daa6d4 | ||
|
|
397fec0152 | ||
|
|
d7e644272f | ||
|
|
e91749bbb0 | ||
|
|
bcd1e45ba7 | ||
|
|
4c6b626db6 | ||
|
|
835ba16c27 | ||
|
|
3b6a580b32 | ||
|
|
01c486d486 | ||
|
|
6342a08a16 | ||
|
|
94c8ee11f8 | ||
|
|
9b38980ed9 | ||
|
|
649c536250 | ||
|
|
dd49e2b12d | ||
|
|
f61dab1774 | ||
|
|
40edf00182 | ||
|
|
c35518a865 | ||
|
|
7a0b4428e3 | ||
|
|
c784a15aaa | ||
|
|
ce180de9b8 | ||
|
|
fca9a523e9 | ||
|
|
8a3889be11 | ||
|
|
2a1633621b | ||
|
|
e2deeceb1b | ||
|
|
d4e994de7b | ||
|
|
a60e751217 | ||
|
|
81c5d8a968 | ||
|
|
5b1e4df177 | ||
|
|
4d80744cbb | ||
|
|
e243d4b7ee | ||
|
|
dce35fcb00 | ||
|
|
e45a21b0b6 | ||
|
|
fda563d606 | ||
|
|
f3b49987f8 | ||
|
|
c8c01a5cae | ||
|
|
f7ece90129 | ||
|
|
0f25ef9498 | ||
|
|
5bf2228596 | ||
|
|
227b01395f | ||
|
|
9f52fe1a10 | ||
|
|
affc6c3390 | ||
|
|
951a34dcbf | ||
|
|
36eaa22ed0 | ||
|
|
62df316356 | ||
|
|
00797fdd85 | ||
|
|
9eb39cef05 | ||
|
|
ee6150f67c | ||
|
|
9fa909ccd6 | ||
|
|
b1af544b1d | ||
|
|
7d5b17ac72 | ||
|
|
7a221f2473 | ||
|
|
bdbe956c5c | ||
|
|
8e5b1e6f2f | ||
|
|
257a454515 | ||
|
|
b6aeea425b | ||
|
|
c8e05d1f2a | ||
|
|
a8aa4eb06c | ||
|
|
c1a02cc081 | ||
|
|
e66adc42da | ||
|
|
89938bc21c | ||
|
|
0b2947dedb | ||
|
|
47ddd34266 | ||
|
|
2fdca5d310 | ||
|
|
e5d4e33509 | ||
|
|
e117f613af | ||
|
|
0dfdf02885 | ||
|
|
4a0129fc2b | ||
|
|
a9c705009c | ||
|
|
d937ad8cf6 | ||
|
|
1a08a8219f | ||
|
|
9924c311c9 | ||
|
|
e846e14965 | ||
|
|
36e70228f2 | ||
|
|
a677f1139a | ||
|
|
6f8eba9c28 | ||
|
|
c22c582546 | ||
|
|
ea75509d6e | ||
|
|
ed30bd7b76 | ||
|
|
7090c5ceeb | ||
|
|
bee09c1a0f | ||
|
|
8f9ef4402b | ||
|
|
f26c0cb70f | ||
|
|
81d7ecba2b | ||
|
|
087c3fe1dc | ||
|
|
43ff971dfd | ||
|
|
5c75a98053 | ||
|
|
7ce47402fb | ||
|
|
1e48141648 | ||
|
|
dbda892542 | ||
|
|
b46774be21 | ||
|
|
1073bfba37 | ||
|
|
5dfb4d1195 | ||
|
|
0a2219c5f7 | ||
|
|
ff3149831e | ||
|
|
c935d0558c | ||
|
|
83eb075e3a | ||
|
|
204c2bf09c | ||
|
|
2444522243 | ||
|
|
92eb1cbffd | ||
|
|
8c40ae5a03 | ||
|
|
fa2ee78a5c | ||
|
|
e4a5cdc5bc | ||
|
|
2d73a273af | ||
|
|
761af08889 | ||
|
|
0ee1650f82 | ||
|
|
0e647417f3 | ||
|
|
d1bf5a4882 | ||
|
|
b8414b240c | ||
|
|
3fbdd12b04 | ||
|
|
a3f6bf3e5a | ||
|
|
3a5805db50 | ||
|
|
de8c64e767 | ||
|
|
73d6b15095 | ||
|
|
5d396b9302 | ||
|
|
61d2519111 | ||
|
|
e61c94a846 | ||
|
|
7ed0f61f3f | ||
|
|
85055d1c68 | ||
|
|
e4c469c149 | ||
|
|
9940e8d9f1 | ||
|
|
3dccca1f27 | ||
|
|
22e96a37f8 | ||
|
|
48b1ab5aaf | ||
|
|
0230fa188f | ||
|
|
4118ce876e | ||
|
|
9537bc561d | ||
|
|
ae43c47ca8 | ||
|
|
2fa4060991 | ||
|
|
f9a934759f | ||
|
|
3686b1ffe5 | ||
|
|
ea017a49c3 | ||
|
|
3559f9c776 | ||
|
|
637f57ca71 | ||
|
|
4e60156b45 | ||
|
|
af9946b098 | ||
|
|
b7d4b0f821 | ||
|
|
62ed776a8c | ||
|
|
f880ff21aa | ||
|
|
4a36993c19 | ||
|
|
d87b2f189d | ||
|
|
f9a097a8c0 | ||
|
|
d43358b6dd | ||
|
|
8058f196e1 | ||
|
|
e13e6f34d2 | ||
|
|
c2ff7150aa | ||
|
|
a899621930 | ||
|
|
a0966e1d1d | ||
|
|
e2464382ed | ||
|
|
095bc79dc3 | ||
|
|
1fd3c2488e | ||
|
|
2ee8485886 | ||
|
|
b67c178672 | ||
|
|
7ac4f0a525 | ||
|
|
c4613c51d1 | ||
|
|
77bf17076b | ||
|
|
8dd6beba15 | ||
|
|
a345386967 | ||
|
|
bdd43bd430 | ||
|
|
1716501598 | ||
|
|
d9a5b9178e | ||
|
|
8ca6a9a240 | ||
|
|
ba75a3884c | ||
|
|
d91d89eef6 | ||
|
|
a726c91116 | ||
|
|
d00fe95f10 | ||
|
|
072b7a014e | ||
|
|
618ce115d7 | ||
|
|
d973aa82fe | ||
|
|
3a85b6b7c6 | ||
|
|
2c22ff175c | ||
|
|
6bc43a4198 | ||
|
|
e348b3deeb | ||
|
|
6724b9a583 | ||
|
|
41c35b2218 | ||
|
|
4477d76f03 | ||
|
|
14f5f6235a | ||
|
|
739350fd8e | ||
|
|
14ed97102b | ||
|
|
db389058fa | ||
|
|
b557d04007 | ||
|
|
52c5da997b | ||
|
|
57d198f99a | ||
|
|
a3ab17b470 | ||
|
|
9bf3141893 | ||
|
|
d35eb6a0c3 | ||
|
|
37aad2e3aa | ||
|
|
efc5d0699a | ||
|
|
893bc9f777 | ||
|
|
61b8729ef9 | ||
|
|
b89d3cc4d0 | ||
|
|
e8cc11ea34 | ||
|
|
2e804511ca | ||
|
|
b6790c491b | ||
|
|
c95e2b009e | ||
|
|
d5615a67c8 | ||
|
|
d9b9bbd4a8 | ||
|
|
d780b1eede | ||
|
|
608adf15a3 | ||
|
|
1717391f6c | ||
|
|
2e6e9ff6f8 | ||
|
|
23c903074c | ||
|
|
94030a12cf | ||
|
|
f63d7de9da | ||
|
|
13ee6792df | ||
|
|
6302444f34 | ||
|
|
61c5e4b54a | ||
|
|
d6118871be | ||
|
|
94b27e8933 | ||
|
|
05500dc5f8 | ||
|
|
c5a72971fe | ||
|
|
5bc6486e3b | ||
|
|
59e18bce0a | ||
|
|
898c5b6df5 | ||
|
|
9cd422791a | ||
|
|
91edebf1fe | ||
|
|
df8a5792f1 | ||
|
|
cda7b417cd | ||
|
|
d2ac35af26 | ||
|
|
6caeff2408 | ||
|
|
83d1a46526 | ||
|
|
d1bd160b0a | ||
|
|
bc88a8bb03 | ||
|
|
d702227af0 | ||
|
|
b7251dbea5 |
48
.github/ISSUE_TEMPLATE.md
vendored
48
.github/ISSUE_TEMPLATE.md
vendored
@@ -1,25 +1,63 @@
|
||||
<!--
|
||||
NOTE: Not filling out the issue template needs a good reason, otherwise the
|
||||
issue may be closed instantly! Please take the time to help us debugging the
|
||||
problem by collecting information, even if it seems irrelevant to you. Thanks!
|
||||
NOTE: Not filling out the issue template needs a good reason, otherwise it may
|
||||
take a lot longer to find the problem! Please take the time to help us
|
||||
debugging the problem by collecting information, even if it seems irrelevant to
|
||||
you. Thanks!
|
||||
|
||||
If you have a question, the forum at https://forum.restic.net is a better place.
|
||||
Please do not create issues for usage or documentation questions! We're using
|
||||
the GitHub issue tracker mainly for tracking bugs and feature requests.
|
||||
-->
|
||||
|
||||
## Output of `restic version`
|
||||
|
||||
|
||||
## How did you start restic exactly? (Include the complete command line)
|
||||
## How did you run restic exactly?
|
||||
|
||||
<!--
|
||||
This section should include at least:
|
||||
|
||||
* The complete command line and any environment variables you used to
|
||||
configure restic's backend access. Make sure to replace sensitive values!
|
||||
|
||||
* The output of the commands, what restic prints gives may give us much
|
||||
information to diagnose the problem!
|
||||
-->
|
||||
|
||||
|
||||
## What backend/server/service did you use?
|
||||
## What backend/server/service did you use to store the repository?
|
||||
|
||||
|
||||
## Expected behavior
|
||||
|
||||
<!--
|
||||
Describe what you'd like restic to do differently.
|
||||
-->
|
||||
|
||||
## Actual behavior
|
||||
|
||||
<!--
|
||||
In this section, please try to concentrate on observations, so only describe
|
||||
what you observed directly.
|
||||
-->
|
||||
|
||||
## Steps to reproduce the behavior
|
||||
|
||||
<!--
|
||||
The more time you spend describing an easy way to reproduce the behavior (if
|
||||
this is possible), the easier it is for the project developers to fix it!
|
||||
-->
|
||||
|
||||
|
||||
## Do you have any idea what may have caused this?
|
||||
|
||||
|
||||
## Do you have an idea how to solve the issue?
|
||||
|
||||
## Did restic help you or made you happy in any way?
|
||||
|
||||
<!--
|
||||
Answering this question is not required, but if you have anything positive to share, please do so here!
|
||||
Sometimes we get tired of reading bug reports all day and a little positive end note does wonders.
|
||||
Idea by Joey Hess, https://joeyh.name/blog/entry/two_holiday_stories/
|
||||
-->
|
||||
|
||||
31
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
31
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<!--
|
||||
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 is the purpose of this change? What does it change?
|
||||
|
||||
<!--
|
||||
Describe the changes here, as detailed as needed.
|
||||
-->
|
||||
|
||||
### Was the change discussed in an issue or in the forum before?
|
||||
|
||||
<!--
|
||||
Link issues and relevant forum posts here.
|
||||
-->
|
||||
|
||||
### Checklist
|
||||
|
||||
- [ ] I have read the [Contribution Guidelines](https://github.com/restic/restic/blob/master/CONTRIBUTING.md#providing-patches)
|
||||
- [ ] 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 a subdir of `changelog/x.y.z` that describe the changes for our users (template [here](https://github.com/restic/restic/blob/master/changelog/changelog-entry.tmpl))
|
||||
- [ ] 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
|
||||
3
.gitignore
vendored
3
.gitignore
vendored
@@ -1,6 +1,3 @@
|
||||
/pkg
|
||||
/bin
|
||||
/restic
|
||||
/.vagrant
|
||||
/vendor/pkg
|
||||
/doc/_build
|
||||
|
||||
16
.travis.yml
16
.travis.yml
@@ -2,9 +2,9 @@ language: go
|
||||
sudo: false
|
||||
|
||||
go:
|
||||
- 1.7.6
|
||||
- 1.8.3
|
||||
- tip
|
||||
- "1.8.x"
|
||||
- "1.9.x"
|
||||
- "1.10"
|
||||
|
||||
os:
|
||||
- linux
|
||||
@@ -17,19 +17,17 @@ env:
|
||||
matrix:
|
||||
exclude:
|
||||
- os: osx
|
||||
go: 1.7.6
|
||||
go: "1.8.x"
|
||||
- os: osx
|
||||
go: tip
|
||||
go: "1.9.x"
|
||||
- os: linux
|
||||
go: 1.8.3
|
||||
go: "1.10"
|
||||
include:
|
||||
- os: linux
|
||||
go: 1.8.3
|
||||
go: "1.10"
|
||||
sudo: true
|
||||
env:
|
||||
RESTIC_TEST_FUSE=1
|
||||
allow_failures:
|
||||
- go: tip
|
||||
|
||||
branches:
|
||||
only:
|
||||
|
||||
947
CHANGELOG.md
947
CHANGELOG.md
@@ -1,179 +1,872 @@
|
||||
This file describes changes relevant to all users that are made in each
|
||||
released version of restic from the perspective of the user.
|
||||
Changelog for restic 0.8.2 (2018-02-17)
|
||||
=======================================
|
||||
|
||||
Important Changes in 0.7.1
|
||||
==========================
|
||||
The following sections list the changes in restic 0.8.2 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
* The `migrate` command for chaning the `s3legacy` layout to the `default`
|
||||
layout for s3 backends has been improved: It can now be restarted with
|
||||
`restic migrate --force s3_layout` and automatically retries operations on
|
||||
error.
|
||||
https://github.com/restic/restic/issues/1073
|
||||
https://github.com/restic/restic/pull/1075
|
||||
Summary
|
||||
-------
|
||||
|
||||
Small changes
|
||||
-------------
|
||||
* Fix #1506: Limit bandwith at the http.RoundTripper for HTTP based backends
|
||||
* Fix #1512: Restore directory permissions as the last step
|
||||
* Fix #1528: Correctly create missing subdirs in data/
|
||||
* Fix #1590: Strip spaces for lines read via --files-from
|
||||
* Fix #1589: Complete intermediate index upload
|
||||
* Fix #1594: Google Cloud Storage: Use generic HTTP transport
|
||||
* Fix #1595: Backup: Remove bandwidth display
|
||||
* Enh #1522: Add support for TLS client certificate authentication
|
||||
* Enh #1541: Reduce number of remote requests during repository check
|
||||
* Enh #1567: Reduce number of backend requests for rebuild-index and prune
|
||||
* Enh #1507: Only reload snapshots once per minute for fuse mount
|
||||
* Enh #1538: Reduce memory allocations for querying the index
|
||||
* Enh #1549: Speed up querying across indices and scanning existing files
|
||||
* Enh #1554: Fuse/mount: Correctly handle EOF, add template option
|
||||
* Enh #1564: Don't terminate ssh on SIGINT
|
||||
* Enh #1579: Retry Backend.List() in case of errors
|
||||
* Enh #1584: Limit index file size
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Bugfix #1506: Limit bandwith at the http.RoundTripper for HTTP based backends
|
||||
|
||||
https://github.com/restic/restic/issues/1506
|
||||
https://github.com/restic/restic/pull/1511
|
||||
|
||||
* Bugfix #1512: Restore directory permissions as the last step
|
||||
|
||||
This change allows restoring into directories that were not writable during backup. Before,
|
||||
restic created the directory, set the read-only mode and then failed to create files in the
|
||||
directory. This change now restores the directory (with its permissions) as the very last
|
||||
step.
|
||||
|
||||
https://github.com/restic/restic/issues/1512
|
||||
https://github.com/restic/restic/pull/1536
|
||||
|
||||
* Bugfix #1528: Correctly create missing subdirs in data/
|
||||
|
||||
https://github.com/restic/restic/issues/1528
|
||||
https://github.com/restic/restic/pull/1529
|
||||
|
||||
* Bugfix #1590: Strip spaces for lines read via --files-from
|
||||
|
||||
Leading and trailing spaces in lines read via `--files-from` are now stripped, so it behaves
|
||||
the same as with lines read via `--exclude-file`.
|
||||
|
||||
https://github.com/restic/restic/issues/1590
|
||||
https://github.com/restic/restic/pull/1613
|
||||
|
||||
* Bugfix #1589: Complete intermediate index upload
|
||||
|
||||
After a user posted a comprehensive report of what he observed, we were able to find a bug and
|
||||
correct it: During backup, restic uploads so-called "intermediate" index files. When the
|
||||
backup finishes during a transfer of such an intermediate index, the upload is cancelled, but
|
||||
the backup is finished without an error. This leads to an inconsistent state, where the
|
||||
snapshot references data that is contained in the repo, but is not referenced in any index.
|
||||
|
||||
The situation can be resolved by building a new index with `rebuild-index`, but looks very
|
||||
confusing at first. Since all the data got uploaded to the repo successfully, there was no risk
|
||||
of data loss, just minor inconvenience for our users.
|
||||
|
||||
https://github.com/restic/restic/pull/1589
|
||||
|
||||
* Bugfix #1594: Google Cloud Storage: Use generic HTTP transport
|
||||
|
||||
It was discovered that the Google Cloud Storage backend did not use the generic HTTP transport,
|
||||
so things such as bandwidth limiting with `--limit-upload` did not work. This is resolved now.
|
||||
|
||||
https://github.com/restic/restic/pull/1594
|
||||
|
||||
* Bugfix #1595: Backup: Remove bandwidth display
|
||||
|
||||
This commit removes the bandwidth displayed during backup process. It is misleading and
|
||||
seldomly correct, because it's neither the "read bandwidth" (only for the very first backup)
|
||||
nor the "upload bandwidth". Many users are confused about (and rightly so), c.f. #1581, #1033,
|
||||
#1591
|
||||
|
||||
We'll eventually replace this display with something more relevant when the new archiver code
|
||||
is ready.
|
||||
|
||||
https://github.com/restic/restic/pull/1595
|
||||
|
||||
* Enhancement #1522: Add support for TLS client certificate authentication
|
||||
|
||||
Support has been added for using a TLS client certificate for authentication to HTTP based
|
||||
backend. A file containing the PEM encoded private key and certificate can be set using the
|
||||
`--tls-client-cert` option.
|
||||
|
||||
https://github.com/restic/restic/issues/1522
|
||||
https://github.com/restic/restic/pull/1524
|
||||
|
||||
* Enhancement #1541: Reduce number of remote requests during repository check
|
||||
|
||||
This change eliminates redundant remote repository calls and significantly improves
|
||||
repository check time.
|
||||
|
||||
https://github.com/restic/restic/issues/1541
|
||||
https://github.com/restic/restic/pull/1548
|
||||
|
||||
* Enhancement #1567: Reduce number of backend requests for rebuild-index and prune
|
||||
|
||||
We've found a way to reduce then number of backend requests for the `rebuild-index` and `prune`
|
||||
operations. This significantly speeds up the operations for high-latency backends.
|
||||
|
||||
https://github.com/restic/restic/issues/1567
|
||||
https://github.com/restic/restic/pull/1574
|
||||
https://github.com/restic/restic/pull/1575
|
||||
|
||||
* Enhancement #1507: Only reload snapshots once per minute for fuse mount
|
||||
|
||||
https://github.com/restic/restic/pull/1507
|
||||
|
||||
* Enhancement #1538: Reduce memory allocations for querying the index
|
||||
|
||||
This change reduces the internal memory allocations when the index data structures in memory
|
||||
are queried if a blob (part of a file) already exists in the repo. It should speed up backup a bit,
|
||||
and maybe even reduce RAM usage.
|
||||
|
||||
https://github.com/restic/restic/pull/1538
|
||||
|
||||
* Enhancement #1549: Speed up querying across indices and scanning existing files
|
||||
|
||||
This change increases the whenever a blob (part of a file) is searched for in a restic
|
||||
repository. This will reduce cpu usage some when backing up files already backed up by restic.
|
||||
Cpu usage is further decreased when scanning files.
|
||||
|
||||
https://github.com/restic/restic/pull/1549
|
||||
|
||||
* Enhancement #1554: Fuse/mount: Correctly handle EOF, add template option
|
||||
|
||||
We've added the `--snapshot-template` string, which can be used to specify a template for a
|
||||
snapshot directory. In addition, accessing data after the end of a file via the fuse mount is now
|
||||
handled correctly.
|
||||
|
||||
https://github.com/restic/restic/pull/1554
|
||||
|
||||
* Enhancement #1564: Don't terminate ssh on SIGINT
|
||||
|
||||
We've reworked the code which runs the `ssh` login for the sftp backend so that it can prompt for a
|
||||
password (if needed) but does not exit when the user presses CTRL+C (SIGINT) e.g. during
|
||||
backup. This allows restic to properly shut down when it receives SIGINT and remove the lock
|
||||
file from the repo, afterwards exiting the `ssh` process.
|
||||
|
||||
https://github.com/restic/restic/pull/1564
|
||||
https://github.com/restic/restic/pull/1588
|
||||
|
||||
* Enhancement #1579: Retry Backend.List() in case of errors
|
||||
|
||||
https://github.com/restic/restic/pull/1579
|
||||
|
||||
* Enhancement #1584: Limit index file size
|
||||
|
||||
Before, restic would create a single new index file on `prune` or `rebuild-index`, this may
|
||||
lead to memory problems when this huge index is created and loaded again. We're now limiting the
|
||||
size of the index file, and split newly created index files into several smaller ones. This
|
||||
allows restic to be more memory-efficient.
|
||||
|
||||
https://github.com/restic/restic/issues/1412
|
||||
https://github.com/restic/restic/issues/979
|
||||
https://github.com/restic/restic/issues/526
|
||||
https://github.com/restic/restic/pull/1584
|
||||
|
||||
|
||||
Changelog for restic 0.8.1 (2017-12-27)
|
||||
=======================================
|
||||
|
||||
The following sections list the changes in restic 0.8.1 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
Summary
|
||||
-------
|
||||
|
||||
* Fix #1457: Improve s3 backend with DigitalOcean Spaces
|
||||
* Fix #1454: Correct cache dir location for Windows and Darwin
|
||||
* Fix #1459: Disable handling SIGPIPE
|
||||
* Chg #1452: Do not save atime by default
|
||||
* Enh #1436: Add code to detect old cache directories
|
||||
* Enh #1439: Improve cancellation logic
|
||||
* Enh #11: Add the `diff` command
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Bugfix #1457: Improve s3 backend with DigitalOcean Spaces
|
||||
|
||||
https://github.com/restic/restic/issues/1457
|
||||
https://github.com/restic/restic/pull/1459
|
||||
|
||||
* Bugfix #1454: Correct cache dir location for Windows and Darwin
|
||||
|
||||
The cache directory on Windows and Darwin was not correct, instead the directory `.cache` was
|
||||
used.
|
||||
|
||||
https://github.com/restic/restic/pull/1454
|
||||
|
||||
* Bugfix #1459: Disable handling SIGPIPE
|
||||
|
||||
We've disabled handling SIGPIPE again. Turns out, writing to broken TCP connections also
|
||||
raised SIGPIPE, so restic exits on the first write to a broken connection. Instead, restic
|
||||
should retry the request.
|
||||
|
||||
https://github.com/restic/restic/issues/1457
|
||||
https://github.com/restic/restic/issues/1466
|
||||
https://github.com/restic/restic/pull/1459
|
||||
|
||||
* Change #1452: Do not save atime by default
|
||||
|
||||
By default, the access time for files and dirs is not saved any more. It is not possible to
|
||||
reliably disable updating the access time during a backup, so for the next backup the access
|
||||
time is different again. This means a lot of metadata is saved. If you want to save the access time
|
||||
anyway, pass `--with-atime` to the `backup` command.
|
||||
|
||||
https://github.com/restic/restic/pull/1452
|
||||
|
||||
* Enhancement #1436: Add code to detect old cache directories
|
||||
|
||||
We've added code to detect old cache directories of repositories that haven't been used in a
|
||||
long time, restic now prints a note when it detects that such dirs exist. Also, the option
|
||||
`--cleanup-cache` was added to automatically remove such directories. That's not a problem
|
||||
because the cache will be rebuild once a repo is accessed again.
|
||||
|
||||
https://github.com/restic/restic/pull/1436
|
||||
|
||||
* Enhancement #1439: Improve cancellation logic
|
||||
|
||||
The cancellation logic was improved, restic can now shut down cleanly when requested to do so
|
||||
(e.g. via ctrl+c).
|
||||
|
||||
https://github.com/restic/restic/pull/1439
|
||||
|
||||
* Enhancement #11: Add the `diff` command
|
||||
|
||||
The command `diff` was added, it allows comparing two snapshots and listing all differences.
|
||||
|
||||
https://github.com/restic/restic/issues/11
|
||||
https://github.com/restic/restic/issues/1460
|
||||
https://github.com/restic/restic/pull/1462
|
||||
|
||||
|
||||
Changelog for restic 0.8.0 (2017-11-26)
|
||||
=======================================
|
||||
|
||||
The following sections list the changes in restic 0.8.0 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
Summary
|
||||
-------
|
||||
|
||||
* Sec #1445: Prevent writing outside the target directory during restore
|
||||
* Fix #1256: Re-enable workaround for S3 backend
|
||||
* Fix #1291: Reuse backend TCP connections to BackBlaze B2
|
||||
* Fix #1317: Run prune when `forget --prune` is called with just snapshot IDs
|
||||
* Fix #1437: Remove implicit path `/restic` for the s3 backend
|
||||
* Enh #1102: Add subdirectory `ids` to fuse mount
|
||||
* Enh #1114: Add `--cacert` to specify TLS certificates to check against
|
||||
* Enh #1216: Add upload/download limiting
|
||||
* Enh #1271: Cache results for excludes for `backup`
|
||||
* Enh #1274: Add `generate` command, replaces `manpage` and `autocomplete`
|
||||
* Enh #1367: Allow comments in files read from via `--file-from`
|
||||
* Enh #448: Sftp backend prompts for password
|
||||
* Enh #510: Add `dump` command
|
||||
* Enh #1040: Add local metadata cache
|
||||
* Enh #1249: Add `latest` symlink in fuse mount
|
||||
* Enh #1269: Add `--compact` to `forget` command
|
||||
* Enh #1281: Google Cloud Storage backend needs less permissions
|
||||
* Enh #1319: Make `check` print `no errors found` explicitly
|
||||
* Enh #1353: Retry failed backend requests
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Security #1445: Prevent writing outside the target directory during restore
|
||||
|
||||
A vulnerability was found in the restic restorer, which allowed attackers in special
|
||||
circumstances to restore files to a location outside of the target directory. Due to the
|
||||
circumstances we estimate this to be a low-risk vulnerability, but urge all users to upgrade to
|
||||
the latest version of restic.
|
||||
|
||||
Exploiting the vulnerability requires a Linux/Unix system which saves backups via restic and
|
||||
a Windows systems which restores files from the repo. In addition, the attackers need to be able
|
||||
to create create files with arbitrary names which are then saved to the restic repo. For
|
||||
example, by creating a file named "..\test.txt" (which is a perfectly legal filename on Linux)
|
||||
and restoring a snapshot containing this file on Windows, it would be written to the parent of
|
||||
the target directory.
|
||||
|
||||
We'd like to thank Tyler Spivey for reporting this responsibly!
|
||||
|
||||
https://github.com/restic/restic/pull/1445
|
||||
|
||||
* Bugfix #1256: Re-enable workaround for S3 backend
|
||||
|
||||
We've re-enabled a workaround for `minio-go` (the library we're using to access s3 backends),
|
||||
this reduces memory usage.
|
||||
|
||||
https://github.com/restic/restic/issues/1256
|
||||
https://github.com/restic/restic/pull/1267
|
||||
|
||||
* Bugfix #1291: Reuse backend TCP connections to BackBlaze B2
|
||||
|
||||
A bug was discovered in the library we're using to access Backblaze, it now reuses already
|
||||
established TCP connections which should be a lot faster and not cause network failures any
|
||||
more.
|
||||
|
||||
https://github.com/restic/restic/issues/1291
|
||||
https://github.com/restic/restic/pull/1301
|
||||
|
||||
* Bugfix #1317: Run prune when `forget --prune` is called with just snapshot IDs
|
||||
|
||||
A bug in the `forget` command caused `prune` not to be run when `--prune` was specified without a
|
||||
policy, e.g. when only snapshot IDs that should be forgotten are listed manually.
|
||||
|
||||
https://github.com/restic/restic/pull/1317
|
||||
|
||||
* Bugfix #1437: Remove implicit path `/restic` for the s3 backend
|
||||
|
||||
The s3 backend used the subdir `restic` within a bucket if no explicit path after the bucket name
|
||||
was specified. Since this version, restic does not use this default path any more. If you
|
||||
created a repo on s3 in a bucket without specifying a path within the bucket, you need to add
|
||||
`/restic` at the end of the repository specification to access your repo:
|
||||
`s3:s3.amazonaws.com/bucket/restic`
|
||||
|
||||
https://github.com/restic/restic/issues/1292
|
||||
https://github.com/restic/restic/pull/1437
|
||||
|
||||
* Enhancement #1102: Add subdirectory `ids` to fuse mount
|
||||
|
||||
The fuse mount now has an `ids` subdirectory which contains the snapshots below their (short)
|
||||
IDs.
|
||||
|
||||
https://github.com/restic/restic/issues/1102
|
||||
https://github.com/restic/restic/pull/1299
|
||||
https://github.com/restic/restic/pull/1320
|
||||
|
||||
* Enhancement #1114: Add `--cacert` to specify TLS certificates to check against
|
||||
|
||||
We've added the `--cacert` option which can be used to pass one (or more) CA certificates to
|
||||
restic. These are used in addition to the system CA certificates to verify HTTPS certificates
|
||||
(e.g. for the REST backend).
|
||||
|
||||
https://github.com/restic/restic/issues/1114
|
||||
https://github.com/restic/restic/pull/1276
|
||||
|
||||
* Enhancement #1216: Add upload/download limiting
|
||||
|
||||
We've added support for rate limiting through `--limit-upload` and `--limit-download`
|
||||
flags.
|
||||
|
||||
https://github.com/restic/restic/issues/1216
|
||||
https://github.com/restic/restic/pull/1336
|
||||
https://github.com/restic/restic/pull/1358
|
||||
|
||||
* Enhancement #1271: Cache results for excludes for `backup`
|
||||
|
||||
The `backup` command now caches the result of excludes for a directory.
|
||||
|
||||
https://github.com/restic/restic/issues/1271
|
||||
https://github.com/restic/restic/pull/1326
|
||||
|
||||
* Enhancement #1274: Add `generate` command, replaces `manpage` and `autocomplete`
|
||||
|
||||
The `generate` command has been added, which replaces the now removed commands `manpage` and
|
||||
`autocomplete`. This release of restic contains the most recent manpages in `doc/man` and the
|
||||
auto-completion files for bash and zsh in `doc/bash-completion.sh` and
|
||||
`doc/zsh-completion.zsh`
|
||||
|
||||
https://github.com/restic/restic/issues/1274
|
||||
https://github.com/restic/restic/pull/1282
|
||||
|
||||
* Enhancement #1367: Allow comments in files read from via `--file-from`
|
||||
|
||||
When the list of files/dirs to be saved is read from a file with `--files-from`, comment lines
|
||||
(starting with `#`) are now ignored.
|
||||
|
||||
https://github.com/restic/restic/issues/1367
|
||||
https://github.com/restic/restic/pull/1368
|
||||
|
||||
* Enhancement #448: Sftp backend prompts for password
|
||||
|
||||
The sftp backend now prompts for the password if a password is necessary for login.
|
||||
|
||||
https://github.com/restic/restic/issues/448
|
||||
https://github.com/restic/restic/pull/1270
|
||||
|
||||
* Enhancement #510: Add `dump` command
|
||||
|
||||
We've added the `dump` command which prints a file from a snapshot to stdout. This can e.g. be
|
||||
used to restore files read with `backup --stdin`.
|
||||
|
||||
https://github.com/restic/restic/issues/510
|
||||
https://github.com/restic/restic/pull/1346
|
||||
|
||||
* Enhancement #1040: Add local metadata cache
|
||||
|
||||
We've added a local cache for metadata so that restic doesn't need to load all metadata
|
||||
(snapshots, indexes, ...) from the repo each time it starts. By default the cache is active, but
|
||||
there's a new global option `--no-cache` that can be used to disable the cache. By deafult, the
|
||||
cache a standard cache folder for the OS, which can be overridden with `--cache-dir`. The cache
|
||||
will automatically populate, indexes and snapshots are saved as they are loaded. Cache
|
||||
directories for repos that haven't been used recently can automatically be removed by restic
|
||||
with the `--cleanup-cache` option.
|
||||
|
||||
A related change was to by default create pack files in the repo that contain either data or
|
||||
metadata, not both mixed together. This allows easy caching of only the metadata files. The
|
||||
next run of `restic prune` will untangle mixed files automatically.
|
||||
|
||||
https://github.com/restic/restic/issues/29
|
||||
https://github.com/restic/restic/issues/738
|
||||
https://github.com/restic/restic/issues/282
|
||||
https://github.com/restic/restic/pull/1040
|
||||
https://github.com/restic/restic/pull/1287
|
||||
https://github.com/restic/restic/pull/1436
|
||||
https://github.com/restic/restic/pull/1265
|
||||
|
||||
* Enhancement #1249: Add `latest` symlink in fuse mount
|
||||
|
||||
The directory structure in the fuse mount now exposes a symlink `latest` which points to the
|
||||
latest snapshot in that particular directory.
|
||||
|
||||
https://github.com/restic/restic/pull/1249
|
||||
|
||||
* Enhancement #1269: Add `--compact` to `forget` command
|
||||
|
||||
The option `--compact` was added to the `forget` command to provide the same compact view as the
|
||||
`snapshots` command.
|
||||
|
||||
https://github.com/restic/restic/pull/1269
|
||||
|
||||
* Enhancement #1281: Google Cloud Storage backend needs less permissions
|
||||
|
||||
The Google Cloud Storage backend no longer requires the service account to have the
|
||||
`storage.buckets.get` permission ("Storage Admin" role) in `restic init` if the bucket
|
||||
already exists.
|
||||
|
||||
https://github.com/restic/restic/pull/1281
|
||||
|
||||
* Enhancement #1319: Make `check` print `no errors found` explicitly
|
||||
|
||||
The `check` command now explicetly prints `No errors were found` when no errors could be found.
|
||||
|
||||
https://github.com/restic/restic/issues/1303
|
||||
https://github.com/restic/restic/pull/1319
|
||||
|
||||
* Enhancement #1353: Retry failed backend requests
|
||||
|
||||
https://github.com/restic/restic/pull/1353
|
||||
|
||||
|
||||
Changelog for restic 0.7.3 (2017-09-20)
|
||||
=======================================
|
||||
|
||||
The following sections list the changes in restic 0.7.3 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
Summary
|
||||
-------
|
||||
|
||||
* Fix #1246: List all files stored in Google Cloud Storage
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Bugfix #1246: List all files stored in Google Cloud Storage
|
||||
|
||||
For large backups stored in Google Cloud Storage, the `prune` command fails because listing
|
||||
only returns the first 1000 files. This has been corrected, no data is lost in the process. In
|
||||
addition, a plausibility check was added to `prune`.
|
||||
|
||||
https://github.com/restic/restic/issues/1246
|
||||
https://github.com/restic/restic/pull/1247
|
||||
|
||||
|
||||
Changelog for restic 0.7.2 (2017-09-13)
|
||||
=======================================
|
||||
|
||||
The following sections list the changes in restic 0.7.2 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
Summary
|
||||
-------
|
||||
|
||||
* Fix #1167: Do not create a local repo unless `init` is used
|
||||
* Fix #1164: Make the `key remove` command behave as documented
|
||||
* Fix #1191: Make sure to write profiling files on interrupt
|
||||
* Enh #1132: Make `key` command always prompt for a password
|
||||
* Enh #1179: Resolve name conflicts, append a counter
|
||||
* Enh #1218: Add `--compact` to `snapshots` command
|
||||
* Enh #317: Add `--exclude-caches` and `--exclude-if-present`
|
||||
* Enh #697: Automatically generate man pages for all restic commands
|
||||
* Enh #1044: Improve `restore`, do not traverse/load excluded directories
|
||||
* Enh #1061: Add Dockerfile and official Docker image
|
||||
* Enh #1126: Use the standard Go git repository layout, use `dep` for vendoring
|
||||
* Enh #1134: Add support for storing backups on Google Cloud Storage
|
||||
* Enh #1144: Properly report errors when reading files with exclude patterns
|
||||
* Enh #1149: Add support for storing backups on Microsoft Azure Blob Storage
|
||||
* Enh #1196: Add `--group-by` to `forget` command for flexible grouping
|
||||
* Enh #1203: Print stats on all BSD systems when SIGINFO (ctrl+t) is received
|
||||
* Enh #1205: Allow specifying time/date for a backup with `--time`
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Bugfix #1167: Do not create a local repo unless `init` is used
|
||||
|
||||
When a restic command other than `init` is used with a local repository and the repository
|
||||
directory does not exist, restic creates the directory structure. That's an error, only the
|
||||
`init` command should create the dir.
|
||||
|
||||
https://github.com/restic/restic/issues/1167
|
||||
https://github.com/restic/restic/pull/1182
|
||||
|
||||
* Bugfix #1164: Make the `key remove` command behave as documented
|
||||
|
||||
https://github.com/restic/restic/pull/1164
|
||||
|
||||
* Bugfix #1191: Make sure to write profiling files on interrupt
|
||||
|
||||
Since a few releases restic had the ability to write profiling files for memory and CPU usage
|
||||
when `debug` is enabled. It was discovered that when restic is interrupted (ctrl+c is
|
||||
pressed), the proper shutdown hook is not run. This is now corrected.
|
||||
|
||||
https://github.com/restic/restic/pull/1191
|
||||
|
||||
* Enhancement #1132: Make `key` command always prompt for a password
|
||||
|
||||
The `key` command now prompts for a password even if the original password to access a repo has
|
||||
been specified via the `RESTIC_PASSWORD` environment variable or a password file.
|
||||
|
||||
https://github.com/restic/restic/issues/1132
|
||||
https://github.com/restic/restic/pull/1133
|
||||
|
||||
* Enhancement #1179: Resolve name conflicts, append a counter
|
||||
|
||||
https://github.com/restic/restic/issues/1179
|
||||
https://github.com/restic/restic/pull/1209
|
||||
|
||||
* Enhancement #1218: Add `--compact` to `snapshots` command
|
||||
|
||||
The option `--compact` was added to the `snapshots` command to get a better overview of the
|
||||
snapshots in a repo. It limits each snapshot to a single line.
|
||||
|
||||
https://github.com/restic/restic/issues/1218
|
||||
https://github.com/restic/restic/pull/1223
|
||||
|
||||
* Enhancement #317: Add `--exclude-caches` and `--exclude-if-present`
|
||||
|
||||
A new option `--exclude-caches` was added that allows excluding cache directories (that are
|
||||
tagged as such). This is a special case of a more generic option `--exclude-if-present` which
|
||||
excludes a directory if a file with a specific name (and contents) is present.
|
||||
|
||||
https://github.com/restic/restic/issues/317
|
||||
https://github.com/restic/restic/pull/1170
|
||||
https://github.com/restic/restic/pull/1224
|
||||
|
||||
* Enhancement #697: Automatically generate man pages for all restic commands
|
||||
|
||||
https://github.com/restic/restic/issues/697
|
||||
https://github.com/restic/restic/pull/1147
|
||||
|
||||
* Enhancement #1044: Improve `restore`, do not traverse/load excluded directories
|
||||
|
||||
https://github.com/restic/restic/pull/1044
|
||||
|
||||
* Enhancement #1061: Add Dockerfile and official Docker image
|
||||
|
||||
https://github.com/restic/restic/pull/1061
|
||||
|
||||
* Enhancement #1126: Use the standard Go git repository layout, use `dep` for vendoring
|
||||
|
||||
The git repository layout was changed to resemble the layout typically used in Go projects,
|
||||
we're not using `gb` for building restic any more and vendoring the dependencies is now taken
|
||||
care of by `dep`.
|
||||
|
||||
https://github.com/restic/restic/pull/1126
|
||||
|
||||
* Enhancement #1134: Add support for storing backups on Google Cloud Storage
|
||||
|
||||
https://github.com/restic/restic/issues/211
|
||||
https://github.com/restic/restic/pull/1134
|
||||
https://github.com/restic/restic/pull/1052
|
||||
|
||||
* Enhancement #1144: Properly report errors when reading files with exclude patterns
|
||||
|
||||
https://github.com/restic/restic/pull/1144
|
||||
|
||||
* Enhancement #1149: Add support for storing backups on Microsoft Azure Blob Storage
|
||||
|
||||
The library we're using to access the service requires Go 1.8, so restic now needs at least Go
|
||||
1.8.
|
||||
|
||||
https://github.com/restic/restic/issues/609
|
||||
https://github.com/restic/restic/pull/1149
|
||||
https://github.com/restic/restic/pull/1059
|
||||
|
||||
* Enhancement #1196: Add `--group-by` to `forget` command for flexible grouping
|
||||
|
||||
https://github.com/restic/restic/pull/1196
|
||||
|
||||
* Enhancement #1203: Print stats on all BSD systems when SIGINFO (ctrl+t) is received
|
||||
|
||||
https://github.com/restic/restic/pull/1203
|
||||
https://github.com/restic/restic/pull/1082
|
||||
|
||||
* Enhancement #1205: Allow specifying time/date for a backup with `--time`
|
||||
|
||||
https://github.com/restic/restic/pull/1205
|
||||
|
||||
|
||||
Changelog for restic 0.7.1 (2017-07-22)
|
||||
=======================================
|
||||
|
||||
The following sections list the changes in restic 0.7.1 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
Summary
|
||||
-------
|
||||
|
||||
* Fix #1115: Fix `prune`, only include existing files in indexes
|
||||
* Enh #1055: Create subdirs below `data/` for local/sftp backends
|
||||
* Enh #1067: Allow loading credentials for s3 from IAM
|
||||
* Enh #1073: Add `migrate` cmd to migrate from `s3legacy` to `default` layout
|
||||
* Enh #1081: Clarify semantic for `--tasg` for the `forget` command
|
||||
* Enh #1080: Ignore chmod() errors on filesystems which do not support it
|
||||
* Enh #1082: Print stats on SIGINFO on Darwin and FreeBSD (ctrl+t)
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Bugfix #1115: Fix `prune`, only include existing files in indexes
|
||||
|
||||
A bug was found (and corrected) in the index rebuilding after prune, which led to indexes which
|
||||
include blobs that were not present in the repo any more. There were already checks in place
|
||||
which detected this situation and aborted with an error message. A new run of either `prune` or
|
||||
`rebuild-index` corrected the index files. This is now fixed and a test has been added to detect
|
||||
this.
|
||||
|
||||
https://github.com/restic/restic/pull/1115
|
||||
|
||||
* Enhancement #1055: Create subdirs below `data/` for local/sftp backends
|
||||
|
||||
The local and sftp backends now create the subdirs below `data/` on open/init. This way, restic
|
||||
makes sure that they always exist. This is connected to an issue for the sftp server:
|
||||
|
||||
* The local and sftp backends now create the subdirs below `data/` on
|
||||
open/init. This way, restic makes sure that they always exist. This is
|
||||
connected to an issue for the sftp server:
|
||||
https://github.com/restic/rest-server/pull/11#issuecomment-309879710
|
||||
https://github.com/restic/restic/issues/1055
|
||||
https://github.com/restic/restic/pull/1077
|
||||
https://github.com/restic/restic/pull/1105
|
||||
https://github.com/restic/rest-server/pull/11#issuecomment-309879710
|
||||
|
||||
* Enhancement #1067: Allow loading credentials for s3 from IAM
|
||||
|
||||
When no S3 credentials are specified in the environment variables, restic now tries to load
|
||||
credentials from an IAM instance profile when the s3 backend is used.
|
||||
|
||||
* When no S3 credentials are specified in the environment variables, restic
|
||||
now tries to load credentials from an IAM instance profile when the s3
|
||||
backend is used.
|
||||
https://github.com/restic/restic/issues/1067
|
||||
https://github.com/restic/restic/pull/1086
|
||||
|
||||
* On Darwin and FreeBSD, restic now prints stats when SIGINFO is received
|
||||
(usually when ctrl+t is pressed).
|
||||
https://github.com/restic/restic/pull/1082
|
||||
* Enhancement #1073: Add `migrate` cmd to migrate from `s3legacy` to `default` layout
|
||||
|
||||
* The dependencies have been updated.
|
||||
https://github.com/restic/restic/pull/1108
|
||||
https://github.com/restic/restic/pull/1124
|
||||
The `migrate` command for chaning the `s3legacy` layout to the `default` layout for s3
|
||||
backends has been improved: It can now be restarted with `restic migrate --force s3_layout`
|
||||
and automatically retries operations on error.
|
||||
|
||||
* A bug was found (and corrected) in the index rebuilding after prune, which
|
||||
led to indexes which include blobs that were not present in the repo any
|
||||
more. There were already checks in place which detected this situation and
|
||||
aborted with an error message. A new run of either `prune` or
|
||||
`rebuild-index` corrected the index files. This is now fixed and a test has
|
||||
been added to detect this.
|
||||
https://github.com/restic/restic/pull/1115
|
||||
https://github.com/restic/restic/issues/1073
|
||||
https://github.com/restic/restic/pull/1075
|
||||
|
||||
* Errors for chmod() on Unix for filesystems which do not support it (e.g. smb
|
||||
mounted via gvfs) are now ignored.
|
||||
https://github.com/restic/restic/pull/1080
|
||||
https://github.com/restic/restic/pull/1112
|
||||
* Enhancement #1081: Clarify semantic for `--tasg` for the `forget` command
|
||||
|
||||
* The semantic for the `--tags` option to `forget` and `snapshots` was
|
||||
clarified:
|
||||
https://github.com/restic/restic/issues/1081
|
||||
https://github.com/restic/restic/pull/1090
|
||||
|
||||
Important Changes in 0.7.0
|
||||
==========================
|
||||
* Enhancement #1080: Ignore chmod() errors on filesystems which do not support it
|
||||
|
||||
* New "swift" backend: A new backend for the OpenStack Swift cloud storage
|
||||
protocol has been added, https://wiki.openstack.org/wiki/Swift
|
||||
https://github.com/restic/restic/pull/975
|
||||
https://github.com/restic/restic/pull/648
|
||||
https://github.com/restic/restic/pull/1080
|
||||
https://github.com/restic/restic/pull/1112
|
||||
|
||||
* New "b2" backend: A new backend for Backblaze B2 cloud storage
|
||||
service has been added, https://www.backblaze.com
|
||||
https://github.com/restic/restic/issues/512
|
||||
https://github.com/restic/restic/pull/978
|
||||
* Enhancement #1082: Print stats on SIGINFO on Darwin and FreeBSD (ctrl+t)
|
||||
|
||||
* Improved performance for the `find` command: Restic recognizes paths it has
|
||||
already checked for the files in question, so the number of backend requests
|
||||
is reduced a lot.
|
||||
https://github.com/restic/restic/issues/989
|
||||
https://github.com/restic/restic/pull/993
|
||||
https://github.com/restic/restic/pull/1082
|
||||
|
||||
* Improved performance for the fuse mount: Listing directories which contain
|
||||
large files now is significantly faster.
|
||||
https://github.com/restic/restic/pull/998
|
||||
|
||||
* The default layout for the s3 backend is now `default` (instead of
|
||||
`s3legacy`). Also, there's a new `migrate` command to convert an existing
|
||||
repo, it can be run like this: `restic migrate s3_layout`
|
||||
https://github.com/restic/restic/issues/965
|
||||
https://github.com/restic/restic/pull/1004
|
||||
Changelog for restic 0.7.0 (2017-07-01)
|
||||
=======================================
|
||||
|
||||
* The fuse mount now has two more directories: `tags` contains a subdir for
|
||||
each tag, which in turn contains only the snapshots that have this tag. The
|
||||
subdir `hosts` contains a subdir for each host that has a snapshot, and the
|
||||
subdir contains the snapshots for that host.
|
||||
https://github.com/restic/restic/issues/636
|
||||
https://github.com/restic/restic/pull/1050
|
||||
The following sections list the changes in restic 0.7.0 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
Small changes
|
||||
-------------
|
||||
Summary
|
||||
-------
|
||||
|
||||
* Fix #1013: Switch back to using the high-level minio-go API for s3
|
||||
* Fix #965: Switch to `default` repo layout for the s3 backend
|
||||
* Enh #1021: Detect invalid backend name and print error
|
||||
* Enh #1029: Remove invalid pack files when `prune` is run
|
||||
* Enh #512: Add Backblaze B2 backend
|
||||
* Enh #636: Add dirs `tags` and `hosts` to fuse mount
|
||||
* Enh #989: Improve performance of the `find` command
|
||||
* Enh #975: Add new backend for OpenStack Swift
|
||||
* Enh #998: Improve performance of the fuse mount
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Bugfix #1013: Switch back to using the high-level minio-go API for s3
|
||||
|
||||
For the s3 backend we're back to using the high-level API the s3 client library for uploading
|
||||
data, a few users reported dropped connections (which the library will automatically retry
|
||||
now).
|
||||
|
||||
* For the s3 backend we're back to using the high-level API the s3 client
|
||||
library for uploading data, a few users reported dropped connections (which
|
||||
the library will automatically retry now).
|
||||
https://github.com/restic/restic/issues/1013
|
||||
https://github.com/restic/restic/issues/1023
|
||||
https://github.com/restic/restic/pull/1025
|
||||
|
||||
* The `prune` command has been improved and will now remove invalid pack
|
||||
files, for example files that have not been uploaded completely because a
|
||||
backup was interrupted.
|
||||
https://github.com/restic/restic/issues/1029
|
||||
https://github.com/restic/restic/pull/1036
|
||||
* Bugfix #965: Switch to `default` repo layout for the s3 backend
|
||||
|
||||
The default layout for the s3 backend is now `default` (instead of `s3legacy`). Also, there's a
|
||||
new `migrate` command to convert an existing repo, it can be run like this: `restic migrate
|
||||
s3_layout`
|
||||
|
||||
https://github.com/restic/restic/issues/965
|
||||
https://github.com/restic/restic/pull/1004
|
||||
|
||||
* Enhancement #1021: Detect invalid backend name and print error
|
||||
|
||||
Restic now tries to detect when an invalid/unknown backend is used and returns an error
|
||||
message.
|
||||
|
||||
* restic now tries to detect when an invalid/unknown backend is used and
|
||||
returns an error message.
|
||||
https://github.com/restic/restic/issues/1021
|
||||
https://github.com/restic/restic/pull/1070
|
||||
|
||||
Important Changes in 0.6.1
|
||||
==========================
|
||||
* Enhancement #1029: Remove invalid pack files when `prune` is run
|
||||
|
||||
This is mostly a bugfix release and only contains small changes:
|
||||
The `prune` command has been improved and will now remove invalid pack files, for example files
|
||||
that have not been uploaded completely because a backup was interrupted.
|
||||
|
||||
* We've fixed a bug where `rebuild-index` would corrupt the index when used
|
||||
with the s3 backend together with the `default` layout. This is not the
|
||||
default setting.
|
||||
https://github.com/restic/restic/issues/1029
|
||||
https://github.com/restic/restic/pull/1036
|
||||
|
||||
* Enhancement #512: Add Backblaze B2 backend
|
||||
|
||||
https://github.com/restic/restic/issues/512
|
||||
https://github.com/restic/restic/pull/978
|
||||
|
||||
* Enhancement #636: Add dirs `tags` and `hosts` to fuse mount
|
||||
|
||||
The fuse mount now has two more directories: `tags` contains a subdir for each tag, which in turn
|
||||
contains only the snapshots that have this tag. The subdir `hosts` contains a subdir for each
|
||||
host that has a snapshot, and the subdir contains the snapshots for that host.
|
||||
|
||||
https://github.com/restic/restic/issues/636
|
||||
https://github.com/restic/restic/pull/1050
|
||||
|
||||
* Enhancement #989: Improve performance of the `find` command
|
||||
|
||||
Improved performance for the `find` command: Restic recognizes paths it has already checked
|
||||
for the files in question, so the number of backend requests is reduced a lot.
|
||||
|
||||
https://github.com/restic/restic/issues/989
|
||||
https://github.com/restic/restic/pull/993
|
||||
|
||||
* Enhancement #975: Add new backend for OpenStack Swift
|
||||
|
||||
https://github.com/restic/restic/pull/975
|
||||
https://github.com/restic/restic/pull/648
|
||||
|
||||
* Enhancement #998: Improve performance of the fuse mount
|
||||
|
||||
Listing directories which contain large files now is significantly faster.
|
||||
|
||||
https://github.com/restic/restic/pull/998
|
||||
|
||||
|
||||
Changelog for restic 0.6.1 (2017-06-01)
|
||||
=======================================
|
||||
|
||||
The following sections list the changes in restic 0.6.1 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
Summary
|
||||
-------
|
||||
|
||||
* Enh #985: Allow multiple parallel idle HTTP connections
|
||||
* Enh #981: Remove temporary path from binary in `build.go`
|
||||
* Enh #974: Remove regular status reports
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Enhancement #985: Allow multiple parallel idle HTTP connections
|
||||
|
||||
Backends based on HTTP now allow several idle connections in parallel. This is especially
|
||||
important for the REST backend, which (when used with a local server) may create a lot
|
||||
connections and exhaust available ports quickly.
|
||||
|
||||
* Backends based on HTTP now allow several idle connections in parallel. This
|
||||
is especially important for the REST backend, which (when used with a local
|
||||
server) may create a lot connections and exhaust available ports quickly.
|
||||
https://github.com/restic/restic/issues/985
|
||||
https://github.com/restic/restic/pull/986
|
||||
|
||||
* Regular status report: We've removed the status report that was printed
|
||||
every 10 seconds when restic is run non-interactively. You can still force
|
||||
reporting the current status by sending a `USR1` signal to the process.
|
||||
https://github.com/restic/restic/pull/974
|
||||
* Enhancement #981: Remove temporary path from binary in `build.go`
|
||||
|
||||
The `build.go` now strips the temporary directory used for compilation from the binary. This
|
||||
is the first step in enabling reproducible builds.
|
||||
|
||||
* The `build.go` now strips the temporary directory used for compilation from
|
||||
the binary. This is the first step in enabling reproducible builds.
|
||||
https://github.com/restic/restic/pull/981
|
||||
|
||||
Important Changes in 0.6.0
|
||||
==========================
|
||||
* Enhancement #974: Remove regular status reports
|
||||
|
||||
Consistent forget policy
|
||||
------------------------
|
||||
Regular status report: We've removed the status report that was printed every 10 seconds when
|
||||
restic is run non-interactively. You can still force reporting the current status by sending a
|
||||
`USR1` signal to the process.
|
||||
|
||||
The `forget` command was corrected to be more consistent in which snapshots are
|
||||
to be forgotten. It is possible that the new code removes more snapshots than
|
||||
before, so please review what would be deleted by using the `--dry-run` option.
|
||||
https://github.com/restic/restic/pull/974
|
||||
|
||||
https://github.com/restic/restic/pull/957
|
||||
https://github.com/restic/restic/issues/953
|
||||
|
||||
Unified repository layout
|
||||
-------------------------
|
||||
Changelog for restic 0.6.0 (2017-05-29)
|
||||
=======================================
|
||||
|
||||
Up to now the s3 backend used a special repository layout. We've decided to
|
||||
unify the repository layout and implemented the default layout also for the s3
|
||||
backend. For creating a new repository on s3 with the default layout, use
|
||||
`restic -o s3.layout=default init`. For further commands the option is not
|
||||
necessary any more, restic will automatically detect the correct layout to use.
|
||||
A future version will switch to the default layout for new repositories.
|
||||
The following sections list the changes in restic 0.6.0 relevant to
|
||||
restic users. The changes are ordered by importance.
|
||||
|
||||
https://github.com/restic/restic/pull/966
|
||||
https://github.com/restic/restic/issues/965
|
||||
Summary
|
||||
-------
|
||||
|
||||
Memory and time improvements for the s3 backend
|
||||
-----------------------------------------------
|
||||
* Enh #957: Make `forget` consistent
|
||||
* Enh #966: Unify repository layout for all backends
|
||||
* Enh #962: Improve memory and runtime for the s3 backend
|
||||
|
||||
Details
|
||||
-------
|
||||
|
||||
* Enhancement #957: Make `forget` consistent
|
||||
|
||||
The `forget` command was corrected to be more consistent in which snapshots are to be
|
||||
forgotten. It is possible that the new code removes more snapshots than before, so please
|
||||
review what would be deleted by using the `--dry-run` option.
|
||||
|
||||
https://github.com/restic/restic/issues/953
|
||||
https://github.com/restic/restic/pull/957
|
||||
|
||||
* Enhancement #966: Unify repository layout for all backends
|
||||
|
||||
Up to now the s3 backend used a special repository layout. We've decided to unify the repository
|
||||
layout and implemented the default layout also for the s3 backend. For creating a new
|
||||
repository on s3 with the default layout, use `restic -o s3.layout=default init`. For further
|
||||
commands the option is not necessary any more, restic will automatically detect the correct
|
||||
layout to use. A future version will switch to the default layout for new repositories.
|
||||
|
||||
https://github.com/restic/restic/issues/965
|
||||
https://github.com/restic/restic/pull/966
|
||||
|
||||
* Enhancement #962: Improve memory and runtime for the s3 backend
|
||||
|
||||
We've updated the library used for accessing s3, switched to using a lower level API and added
|
||||
caching for some requests. This lead to a decrease in memory usage and a great speedup. In
|
||||
addition, we added benchmark functions for all backends, so we can track improvements over
|
||||
time. The Continuous Integration test service we're using (Travis) now runs the s3 backend
|
||||
tests not only against a Minio server, but also against the Amazon s3 live service, so we should
|
||||
be notified of any regressions much sooner.
|
||||
|
||||
https://github.com/restic/restic/pull/962
|
||||
https://github.com/restic/restic/pull/960
|
||||
https://github.com/restic/restic/pull/946
|
||||
https://github.com/restic/restic/pull/938
|
||||
https://github.com/restic/restic/pull/883
|
||||
|
||||
We've updated the library used for accessing s3, switched to using a lower
|
||||
level API and added caching for some requests. This lead to a decrease in
|
||||
memory usage and a great speedup. In addition, we added benchmark functions for
|
||||
all backends, so we can track improvements over time. The Continuous
|
||||
Integration test service we're using (Travis) now runs the s3 backend tests not
|
||||
only against a Minio server, but also against the Amazon s3 live service, so we
|
||||
should be notified of any regressions much sooner.
|
||||
|
||||
https://github.com/restic/restic/pull/962
|
||||
https://github.com/restic/restic/pull/960
|
||||
https://github.com/restic/restic/pull/946
|
||||
https://github.com/restic/restic/pull/938
|
||||
https://github.com/restic/restic/pull/883
|
||||
|
||||
@@ -60,50 +60,35 @@ uploading it somewhere or post only the parts that are really relevant.
|
||||
Development Environment
|
||||
=======================
|
||||
|
||||
For development you need the build tool [`gb`](https://getgb.io), it can be
|
||||
installed by running the following command:
|
||||
In order to compile restic with the `go` tool directly, it needs to be checked
|
||||
out at the right path within a `GOPATH`. The concept of a `GOPATH` is explained
|
||||
in ["How to write Go code"](https://golang.org/doc/code.html).
|
||||
|
||||
$ go get github.com/constabulary/gb/...
|
||||
|
||||
The repository contains two directories with code: `src/` contains the code
|
||||
written for restic, whereas `vendor/` contains copies of libraries restic
|
||||
depends on. The libraries are managed with the `gb vendor` command.
|
||||
|
||||
Just clone the repository, `cd` to it and run `gb build` to build the binary:
|
||||
If you do not have a directory with Go code yet, executing the following
|
||||
instructions in your shell will create one for you and check out the restic
|
||||
repo:
|
||||
|
||||
$ export GOPATH="$HOME/go"
|
||||
$ mkdir -p "$GOPATH/src/github.com/restic"
|
||||
$ cd "$GOPATH/src/github.com/restic"
|
||||
$ git clone https://github.com/restic/restic
|
||||
$ cd restic
|
||||
$ gb build
|
||||
[...]
|
||||
$ bin/restic version
|
||||
|
||||
You can then build restic as follows:
|
||||
|
||||
$ go build ./cmd/restic
|
||||
$ ./restic version
|
||||
restic compiled manually
|
||||
compiled at unknown time with go1.7
|
||||
compiled with go1.8.3 on linux/amd64
|
||||
|
||||
The following commands can be used to run all the tests:
|
||||
|
||||
$ gb test
|
||||
ok github.com/restic/restic 8.174s
|
||||
[...]
|
||||
$ go test ./cmd/... ./internal/...
|
||||
|
||||
If you want to run your tests on Linux, OpenBSD or FreeBSD, you can use
|
||||
[vagrant](https://www.vagrantup.com/) with the provided `Vagrantfile` to
|
||||
quickly set up VMs and run the tests, e.g.:
|
||||
|
||||
$ vagrant up freebsd
|
||||
[...]
|
||||
|
||||
$ vagrant ssh freebsd -c 'cd restic/restic; go test -v ./...'
|
||||
[...]
|
||||
|
||||
The default `go` tool can also be used by setting the environment variable
|
||||
`GOPATH` to the following value while being in the top level directory in the
|
||||
git repository:
|
||||
|
||||
$ export GOPATH=$PWD:$PWD/vendor
|
||||
|
||||
The file `.envrc` allows automatic `GOPATH` configuration with
|
||||
[direnv](https://direnv.net/), inspect the file and then allow automatic
|
||||
configuration by running `direnv allow`.
|
||||
The repository contains two sets of directories with code: `cmd/` and
|
||||
`internal/` contain the code written for restic, whereas `vendor/` contains
|
||||
copies of libraries restic depends on. The libraries are managed with the
|
||||
[`dep`](https://github.com/golang/dep) tool.
|
||||
|
||||
Providing Patches
|
||||
=================
|
||||
@@ -122,7 +107,8 @@ down to the following steps:
|
||||
|
||||
2. Clone the repository locally and create a new branch. If you are working on
|
||||
the code itself, please set up the development environment as described in
|
||||
the previous section.
|
||||
the previous section. Especially take care to place your forked repository
|
||||
at the correct path (`src/github.com/restic/restic`) within your `GOPATH`.
|
||||
|
||||
3. Then commit your changes as fine grained as possible, as smaller patches,
|
||||
that handle one and only one issue are easier to discuss and merge.
|
||||
@@ -134,7 +120,8 @@ down to the following steps:
|
||||
|
||||
6. You will receive comments on your code and the feature or bug that they
|
||||
address. Maybe you need to rework some minor things, in this case push new
|
||||
commits to the branch you created for the pull request, they will be
|
||||
commits to the branch you created for the pull request (or amend the
|
||||
existing commit, use common sense to decide which is better), they will be
|
||||
automatically added to the pull request.
|
||||
|
||||
7. If your pull request changes anything that users should be aware of (a
|
||||
@@ -144,7 +131,7 @@ down to the following steps:
|
||||
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
|
||||
a low for your contribution!
|
||||
a lot for your contribution!
|
||||
|
||||
Please provide the patches for each bug or feature in a separate branch and
|
||||
open up a pull request for each.
|
||||
@@ -170,7 +157,7 @@ what the tests are there for.
|
||||
Git Commits
|
||||
-----------
|
||||
|
||||
I would be good if you could follow the same general style regarding Git
|
||||
It would be good if you could follow the same general style regarding Git
|
||||
commits as the rest of the project, this makes reviewing code, browsing the
|
||||
history and triaging bugs much easier.
|
||||
|
||||
|
||||
57
Dockerfile
57
Dockerfile
@@ -1,57 +0,0 @@
|
||||
# This Dockerfiles configures a container that is similar to the Travis CI
|
||||
# environment and can be used to run tests locally.
|
||||
#
|
||||
# build the image:
|
||||
# docker build -t restic/test .
|
||||
#
|
||||
# run all tests and cross-compile restic:
|
||||
# docker run --rm -v $PWD:/home/travis/restic restic/test go run run_integration_tests.go -minio minio
|
||||
#
|
||||
# run interactively:
|
||||
# docker run --interactive --tty --rm -v $PWD:/home/travis/restic restic/test /bin/bash
|
||||
#
|
||||
# run a subset of tests:
|
||||
# docker run --rm -v $PWD:/home/travis/restic restic/test gb test -v ./backend
|
||||
#
|
||||
# build the image for an older version of Go:
|
||||
# docker build --build-arg GOVERSION=1.6.4 -t restic/test:go1.6.4 .
|
||||
|
||||
FROM ubuntu:14.04
|
||||
|
||||
ARG GOVERSION=1.8.3
|
||||
ARG GOARCH=amd64
|
||||
|
||||
# install dependencies
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y --no-install-recommends ca-certificates wget git build-essential openssh-server
|
||||
|
||||
# add and configure user
|
||||
ENV HOME /home/travis
|
||||
RUN useradd -m -d $HOME -s /bin/bash travis
|
||||
|
||||
# run everything below as user travis
|
||||
USER travis
|
||||
WORKDIR $HOME
|
||||
|
||||
# download and install Go
|
||||
RUN wget -q -O /tmp/go.tar.gz https://storage.googleapis.com/golang/go${GOVERSION}.linux-${GOARCH}.tar.gz
|
||||
RUN tar xf /tmp/go.tar.gz && rm -f /tmp/go.tar.gz
|
||||
ENV GOROOT $HOME/go
|
||||
ENV GOPATH $HOME/gopath
|
||||
ENV PATH $PATH:$GOROOT/bin:$GOPATH/bin:$HOME/bin
|
||||
|
||||
RUN mkdir -p $HOME/restic
|
||||
|
||||
# pre-install tools, this speeds up running the tests itself
|
||||
RUN go get github.com/constabulary/gb/...
|
||||
RUN go get golang.org/x/tools/cmd/cover
|
||||
RUN go get github.com/mitchellh/gox
|
||||
RUN go get github.com/pierrre/gotestcover
|
||||
RUN mkdir $HOME/bin \
|
||||
&& wget -q -O $HOME/bin/minio https://dl.minio.io/server/minio/release/linux-${GOARCH}/minio \
|
||||
&& chmod +x $HOME/bin/minio
|
||||
|
||||
# set TRAVIS_BUILD_DIR for integration script
|
||||
ENV TRAVIS_BUILD_DIR $HOME/restic
|
||||
|
||||
WORKDIR $HOME/restic
|
||||
236
Gopkg.lock
generated
Normal file
236
Gopkg.lock
generated
Normal file
@@ -0,0 +1,236 @@
|
||||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "bazil.org/fuse"
|
||||
packages = [".","fs","fuseutil"]
|
||||
revision = "371fbbdaa8987b715bdd21d6adc4c9b20155f748"
|
||||
|
||||
[[projects]]
|
||||
name = "cloud.google.com/go"
|
||||
packages = ["compute/metadata"]
|
||||
revision = "767c40d6a2e058483c25fa193e963a22da17236d"
|
||||
version = "v0.18.0"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/Azure/azure-sdk-for-go"
|
||||
packages = ["storage"]
|
||||
revision = "eae258195456be76b2ec9ad2ee2ab63cdda365d9"
|
||||
version = "v12.2.0-beta"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/Azure/go-autorest"
|
||||
packages = ["autorest","autorest/adal","autorest/azure","autorest/date"]
|
||||
revision = "c2a68353555b68de3ee8455a4fd3e890a0ac6d99"
|
||||
version = "v9.8.1"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/cenkalti/backoff"
|
||||
packages = ["."]
|
||||
revision = "61153c768f31ee5f130071d08fc82b85208528de"
|
||||
version = "v1.1.0"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/cpuguy83/go-md2man"
|
||||
packages = ["md2man"]
|
||||
revision = "1d903dcb749992f3741d744c0f8376b4bd7eb3e1"
|
||||
version = "v1.0.7"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/dgrijalva/jwt-go"
|
||||
packages = ["."]
|
||||
revision = "dbeaa9332f19a944acb5736b4456cfcc02140e29"
|
||||
version = "v3.1.0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/dustin/go-humanize"
|
||||
packages = ["."]
|
||||
revision = "bb3d318650d48840a39aa21a027c6630e198e626"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/elithrar/simple-scrypt"
|
||||
packages = ["."]
|
||||
revision = "2325946f714c95de4a6088202c402fbdfa64163b"
|
||||
version = "v1.2.0"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/go-ini/ini"
|
||||
packages = ["."]
|
||||
revision = "32e4c1e6bc4e7d0d8451aa6b75200d19e37a536a"
|
||||
version = "v1.32.0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/golang/protobuf"
|
||||
packages = ["proto"]
|
||||
revision = "c65a0412e71e8b9b3bfd22925720d23c0f054237"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/inconshreveable/mousetrap"
|
||||
packages = ["."]
|
||||
revision = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75"
|
||||
version = "v1.0"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/juju/ratelimit"
|
||||
packages = ["."]
|
||||
revision = "59fac5042749a5afb9af70e813da1dd5474f0167"
|
||||
version = "1.0.1"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/kr/fs"
|
||||
packages = ["."]
|
||||
revision = "2788f0dbd16903de03cb8186e5c7d97b69ad387b"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/kurin/blazer"
|
||||
packages = ["b2","base","internal/b2types","internal/blog"]
|
||||
revision = "e269a1a17bb6aec278c06a57cb7e8f8d0d333e04"
|
||||
version = "v0.2.1"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/marstr/guid"
|
||||
packages = ["."]
|
||||
revision = "8bdf7d1a087ccc975cf37dd6507da50698fd19ca"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/minio/minio-go"
|
||||
packages = [".","pkg/credentials","pkg/encrypt","pkg/policy","pkg/s3signer","pkg/s3utils","pkg/set"]
|
||||
revision = "14f1d472d115bac5ca4804094aa87484a72ced61"
|
||||
version = "4.0.6"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/mitchellh/go-homedir"
|
||||
packages = ["."]
|
||||
revision = "b8bc1bf767474819792c23f32d8286a45736f1c6"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "github.com/ncw/swift"
|
||||
packages = ["."]
|
||||
revision = "ae9f0ea1605b9aa6434ed5c731ca35d83ba67c55"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/pkg/errors"
|
||||
packages = ["."]
|
||||
revision = "645ef00459ed84a119197bfb8d8205042c6df63d"
|
||||
version = "v0.8.0"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/pkg/profile"
|
||||
packages = ["."]
|
||||
revision = "5b67d428864e92711fcbd2f8629456121a56d91f"
|
||||
version = "v1.2.1"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/pkg/sftp"
|
||||
packages = ["."]
|
||||
revision = "f6a9258a0f570c3a76681b897b6ded57cb0dfa88"
|
||||
version = "1.2.0"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/pkg/xattr"
|
||||
packages = ["."]
|
||||
revision = "23c75e3f6c1d8b13b3dd905b011a7f38a06044b7"
|
||||
version = "v0.2.1"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/restic/chunker"
|
||||
packages = ["."]
|
||||
revision = "db83917be3b88cc307464b7d8a221c173e34a0db"
|
||||
version = "v0.2.0"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/russross/blackfriday"
|
||||
packages = ["."]
|
||||
revision = "4048872b16cc0fc2c5fd9eacf0ed2c2fedaa0c8c"
|
||||
version = "v1.5"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/satori/go.uuid"
|
||||
packages = ["."]
|
||||
revision = "f58768cc1a7a7e77a3bd49e98cdd21419399b6a3"
|
||||
version = "v1.2.0"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/sirupsen/logrus"
|
||||
packages = ["."]
|
||||
revision = "d682213848ed68c0a260ca37d6dd5ace8423f5ba"
|
||||
version = "v1.0.4"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/spf13/cobra"
|
||||
packages = [".","doc"]
|
||||
revision = "7b2c5ac9fc04fc5efafb60700713d4fa609b777b"
|
||||
version = "v0.0.1"
|
||||
|
||||
[[projects]]
|
||||
name = "github.com/spf13/pflag"
|
||||
packages = ["."]
|
||||
revision = "e57e3eeb33f795204c1ca35f56c44f83227c6e66"
|
||||
version = "v1.0.0"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "golang.org/x/crypto"
|
||||
packages = ["curve25519","ed25519","ed25519/internal/edwards25519","internal/chacha20","pbkdf2","poly1305","scrypt","ssh","ssh/terminal"]
|
||||
revision = "3d37316aaa6bd9929127ac9a527abf408178ea7b"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "golang.org/x/net"
|
||||
packages = ["context","context/ctxhttp","idna","lex/httplex"]
|
||||
revision = "5ccada7d0a7ba9aeb5d3aca8d3501b4c2a509fec"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "golang.org/x/oauth2"
|
||||
packages = [".","google","internal","jws","jwt"]
|
||||
revision = "b28fcf2b08a19742b43084fb40ab78ac6c3d8067"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "golang.org/x/sync"
|
||||
packages = ["errgroup"]
|
||||
revision = "fd80eb99c8f653c847d294a001bdf2a3a6f768f5"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "golang.org/x/sys"
|
||||
packages = ["unix","windows"]
|
||||
revision = "af50095a40f9041b3b38960738837185c26e9419"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "golang.org/x/text"
|
||||
packages = ["collate","collate/build","internal/colltab","internal/gen","internal/tag","internal/triegen","internal/ucd","language","secure/bidirule","transform","unicode/bidi","unicode/cldr","unicode/norm","unicode/rangetable"]
|
||||
revision = "e19ae1496984b1c655b8044a65c0300a3c878dd3"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
name = "google.golang.org/api"
|
||||
packages = ["gensupport","googleapi","googleapi/internal/uritemplates","storage/v1"]
|
||||
revision = "65b0d8655182691ad23b4fac11e6f7b897d9b634"
|
||||
|
||||
[[projects]]
|
||||
name = "google.golang.org/appengine"
|
||||
packages = [".","internal","internal/app_identity","internal/base","internal/datastore","internal/log","internal/modules","internal/remote_api","internal/urlfetch","urlfetch"]
|
||||
revision = "150dc57a1b433e64154302bdc40b6bb8aefa313a"
|
||||
version = "v1.0.0"
|
||||
|
||||
[[projects]]
|
||||
branch = "v2"
|
||||
name = "gopkg.in/yaml.v2"
|
||||
packages = ["."]
|
||||
revision = "d670f9405373e636a5a2765eea47fac0c9bc91a4"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
inputs-digest = "336ac5c261c174cac89f9a7102b493f08edfbd51fd61d1673d1d2ec4132d80ab"
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
||||
21
Gopkg.toml
Normal file
21
Gopkg.toml
Normal file
@@ -0,0 +1,21 @@
|
||||
|
||||
# Gopkg.toml example
|
||||
#
|
||||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
|
||||
# for detailed Gopkg.toml documentation.
|
||||
#
|
||||
# required = ["github.com/user/thing/cmd/thing"]
|
||||
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
|
||||
#
|
||||
# [[constraint]]
|
||||
# name = "github.com/user/project"
|
||||
# version = "1.0.0"
|
||||
#
|
||||
# [[constraint]]
|
||||
# name = "github.com/user/project2"
|
||||
# branch = "dev"
|
||||
# source = "github.com/myfork/project2"
|
||||
#
|
||||
# [[override]]
|
||||
# name = "github.com/x/y"
|
||||
# version = "2.4.0"
|
||||
18
LICENSE
18
LICENSE
@@ -1,19 +1,21 @@
|
||||
BSD 2-Clause License
|
||||
|
||||
Copyright (c) 2014, Alexander Neumann <alexander@bumpern.de>
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
|
||||
5
Makefile
5
Makefile
@@ -6,7 +6,8 @@ restic:
|
||||
go run build.go
|
||||
|
||||
clean:
|
||||
rm -rf restic
|
||||
rm -f restic
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
go test ./cmd/... ./internal/...
|
||||
|
||||
|
||||
33
README.rst
33
README.rst
@@ -1,4 +1,4 @@
|
||||
|Documentation| |Build Status| |Build status| |Report Card| |Say Thanks|
|
||||
|Documentation| |Build Status| |Build status| |Report Card| |Say Thanks| |TestCoverage|
|
||||
|
||||
Introduction
|
||||
------------
|
||||
@@ -7,11 +7,13 @@ restic is a backup program that is fast, efficient and secure.
|
||||
|
||||
For detailed usage and installation instructions check out the `documentation <https://restic.readthedocs.io/en/latest>`__.
|
||||
|
||||
You can ask questions in our `Discourse forum <https://forum.restic.net>`__.
|
||||
|
||||
Quick start
|
||||
-----------
|
||||
|
||||
Once you've `installed
|
||||
<https://restic.readthedocs.io/en/latest/installation.html>`__ restic, start
|
||||
<https://restic.readthedocs.io/en/latest/020_installation.html>`__ restic, start
|
||||
off with creating a repository for your backups:
|
||||
|
||||
.. code-block:: console
|
||||
@@ -35,7 +37,26 @@ and add some data:
|
||||
duration: 0:29, 54.47MiB/s
|
||||
snapshot 40dc1520 saved
|
||||
|
||||
For more options check out the `manual guide <https://restic.readthedocs.io/en/latest/manual.html>`__.
|
||||
Next you can either use ``restic restore`` to restore files or use ``restic
|
||||
mount`` to mount the repository via fuse and browse the files from previous
|
||||
snapshots.
|
||||
|
||||
For more options check out the `online documentation <https://restic.readthedocs.io/en/latest/>`__.
|
||||
|
||||
Backends
|
||||
--------
|
||||
|
||||
Saving a backup on the same machine is nice but not a real backup strategy.
|
||||
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)
|
||||
- `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>`__
|
||||
- `Google Cloud Storage <https://restic.readthedocs.io/en/latest/030_preparing_a_new_repo.html#google-cloud-storage>`__
|
||||
|
||||
Design Principles
|
||||
-----------------
|
||||
@@ -81,12 +102,12 @@ News
|
||||
----
|
||||
|
||||
You can follow the restic project on Twitter `@resticbackup <https://twitter.com/resticbackup>`__ or by subscribing to
|
||||
the `development blog <https://restic.github.io/blog/>`__.
|
||||
the `development blog <https://restic.net/blog/>`__.
|
||||
|
||||
License
|
||||
-------
|
||||
|
||||
Restic is licensed under "BSD 2-Clause License". You can find the
|
||||
Restic is licensed under `BSD 2-Clause License <https://opensource.org/licenses/BSD-2-Clause>`__. You can find the
|
||||
complete text in ``LICENSE``.
|
||||
|
||||
.. |Documentation| image:: https://readthedocs.org/projects/restic/badge/?version=latest
|
||||
@@ -99,3 +120,5 @@ complete text in ``LICENSE``.
|
||||
:target: https://goreportcard.com/report/github.com/restic/restic
|
||||
.. |Say Thanks| image:: https://img.shields.io/badge/Say%20Thanks-!-1EAEDB.svg
|
||||
:target: https://saythanks.io/to/restic
|
||||
.. |TestCoverage| image:: https://codecov.io/gh/restic/restic/branch/master/graph/badge.svg
|
||||
:target: https://codecov.io/gh/restic/restic
|
||||
|
||||
124
Vagrantfile
vendored
124
Vagrantfile
vendored
@@ -1,124 +0,0 @@
|
||||
# -*- mode: ruby -*-
|
||||
# vi: set ft=ruby :
|
||||
|
||||
GO_VERSION = '1.7'
|
||||
|
||||
def packages_freebsd
|
||||
return <<-EOF
|
||||
pkg install -y git
|
||||
pkg install -y curl
|
||||
|
||||
echo 'fuse_load="YES"' >> /boot/loader.conf
|
||||
echo 'vfs.usermount=1' >> /etc/sysctl.conf
|
||||
|
||||
kldload fuse
|
||||
sysctl vfs.usermount=1
|
||||
pw groupmod operator -M vagrant
|
||||
EOF
|
||||
end
|
||||
|
||||
def packages_openbsd
|
||||
return <<-EOF
|
||||
. ~/.profile
|
||||
pkg_add git curl bash gtar--
|
||||
ln -sf /usr/local/bin/gtar /usr/local/bin/tar
|
||||
EOF
|
||||
end
|
||||
|
||||
def packages_linux
|
||||
return <<-EOF
|
||||
apt-get update
|
||||
apt-get install -y git curl
|
||||
EOF
|
||||
end
|
||||
|
||||
def packages_darwin
|
||||
return <<-EOF
|
||||
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
||||
brew cask install osxfuse
|
||||
EOF
|
||||
end
|
||||
|
||||
def install_gimme
|
||||
return <<-EOF
|
||||
rm -rf /opt/gimme
|
||||
mkdir -p /opt/gimme || true
|
||||
git clone https://github.com/meatballhat/gimme /opt/gimme
|
||||
perl -p -i -e 's,/bin/bash,/usr/bin/env bash,' /opt/gimme/gimme
|
||||
ln -sf /opt/gimme/gimme /usr/bin/gimme
|
||||
EOF
|
||||
end
|
||||
|
||||
def prepare_user(boxname)
|
||||
return <<-EOF
|
||||
mkdir -p ~/go/src
|
||||
export PATH=/usr/local/bin:$PATH
|
||||
|
||||
gimme #{GO_VERSION} >> ~/.profile
|
||||
echo export 'GOPATH=/vagrant/go' >> ~/.profile
|
||||
echo export 'PATH=$GOPATH/bin:/usr/local/bin:$PATH' >> ~/.profile
|
||||
|
||||
. ~/.profile
|
||||
|
||||
go get golang.org/x/tools/cmd/cover
|
||||
go get github.com/constabulary/gb/...
|
||||
|
||||
echo
|
||||
echo "Run:"
|
||||
echo " vagrant rsync #{boxname}"
|
||||
echo " vagrant ssh #{boxname} -c 'cd /vagrant; gb build && gb test'"
|
||||
EOF
|
||||
end
|
||||
|
||||
def fix_perms
|
||||
return <<-EOF
|
||||
chown -R vagrant /vagrant
|
||||
EOF
|
||||
end
|
||||
|
||||
# All Vagrant configuration is done below. The "2" in Vagrant.configure
|
||||
# configures the configuration version (we support older styles for
|
||||
# backwards compatibility). Please don't change it unless you know what
|
||||
# you're doing.
|
||||
Vagrant.configure(2) do |config|
|
||||
# use rsync to copy content to the folder
|
||||
config.vm.synced_folder ".", "/vagrant", :type => "rsync"
|
||||
|
||||
# fix permissions on synced folder
|
||||
config.vm.provision "fix perms", :type => :shell, :inline => fix_perms
|
||||
|
||||
config.vm.define "linux" do |b|
|
||||
b.vm.box = "ubuntu/trusty64"
|
||||
b.vm.provision "packages linux", :type => :shell, :inline => packages_linux
|
||||
b.vm.provision "install gimme", :type => :shell, :inline => install_gimme
|
||||
b.vm.provision "prepare user", :type => :shell, :privileged => false, :inline => prepare_user("linux")
|
||||
|
||||
# fix network card
|
||||
config.vm.provider "virtualbox" do |v|
|
||||
v.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
||||
end
|
||||
end
|
||||
|
||||
config.vm.define "freebsd" do |b|
|
||||
b.vm.box = "geoffgarside/freebsd-10.1"
|
||||
b.vm.provision "packages freebsd", :type => :shell, :inline => packages_freebsd
|
||||
b.vm.provision "install gimme", :type => :shell, :inline => install_gimme
|
||||
b.vm.provision "prepare user", :type => :shell, :privileged => false, :inline => prepare_user("freebsd")
|
||||
end
|
||||
|
||||
config.vm.define "openbsd" do |b|
|
||||
b.vm.box = "tmatilai/openbsd-5.6"
|
||||
b.vm.provision "packages openbsd", :type => :shell, :inline => packages_openbsd
|
||||
b.vm.provision "install gimme", :type => :shell, :inline => install_gimme
|
||||
b.vm.provision "prepare user", :type => :shell, :privileged => false, :inline => prepare_user("openbsd")
|
||||
end
|
||||
|
||||
config.vm.define "darwin" do |b|
|
||||
#b.vm.box = "jhcook/osx-yosemite-10.10"
|
||||
b.vm.box = "jhcook/yosemite-clitools"
|
||||
b.vm.provision "packages darwin", :type => :shell, :privileged => false, :inline => packages_darwin
|
||||
b.vm.provision "install gimme", :type => :shell, :inline => install_gimme
|
||||
b.vm.provision "prepare user", :type => :shell, :privileged => false, :inline => prepare_user("darwin")
|
||||
end
|
||||
|
||||
end
|
||||
@@ -17,8 +17,8 @@ init:
|
||||
|
||||
install:
|
||||
- rmdir c:\go /s /q
|
||||
- appveyor DownloadFile https://storage.googleapis.com/golang/go1.8.3.windows-amd64.msi
|
||||
- msiexec /i go1.8.3.windows-amd64.msi /q
|
||||
- appveyor DownloadFile https://dl.google.com/go/go1.10.windows-amd64.msi
|
||||
- msiexec /i go1.10.windows-amd64.msi /q
|
||||
- go version
|
||||
- go env
|
||||
- appveyor DownloadFile http://sourceforge.netcologne.de/project/gnuwin32/tar/1.13-1/tar-1.13-1-bin.zip -FileName tar.zip
|
||||
|
||||
186
build.go
186
build.go
@@ -1,4 +1,33 @@
|
||||
// +build ignore
|
||||
// BSD 2-Clause License
|
||||
//
|
||||
// Copyright (c) 2016-2018, Alexander Neumann <alexander@bumpern.de>
|
||||
// All rights reserved.
|
||||
//
|
||||
// This file has been copied from the repository at:
|
||||
// https://github.com/fd0/build-go
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are met:
|
||||
//
|
||||
// * Redistributions of source code must retain the above copyright notice, this
|
||||
// list of conditions and the following disclaimer.
|
||||
//
|
||||
// * Redistributions in binary form must reproduce the above copyright notice,
|
||||
// this list of conditions and the following disclaimer in the documentation
|
||||
// and/or other materials provided with the distribution.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
// FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
// DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
// CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
// 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.
|
||||
|
||||
// +build ignore_build_go
|
||||
|
||||
package main
|
||||
|
||||
@@ -11,9 +40,31 @@ import (
|
||||
"path"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"strconv"
|
||||
"strings"
|
||||
)
|
||||
|
||||
// config contains the configuration for the program to build.
|
||||
var config = Config{
|
||||
Name: "restic", // name of the program executable and directory
|
||||
Namespace: "github.com/restic/restic", // subdir of GOPATH, e.g. "github.com/foo/bar"
|
||||
Main: "github.com/restic/restic/cmd/restic", // package name for the main package
|
||||
Tests: []string{ // tests to run
|
||||
"github.com/restic/restic/internal/...",
|
||||
"github.com/restic/restic/cmd/...",
|
||||
},
|
||||
MinVersion: GoVersion{Major: 1, Minor: 8, Patch: 0}, // minimum Go version supported
|
||||
}
|
||||
|
||||
// Config configures the build.
|
||||
type Config struct {
|
||||
Name string
|
||||
Namespace string
|
||||
Main string
|
||||
Tests []string
|
||||
MinVersion GoVersion
|
||||
}
|
||||
|
||||
var (
|
||||
verbose bool
|
||||
keepGopath bool
|
||||
@@ -21,18 +72,6 @@ var (
|
||||
enableCGO bool
|
||||
)
|
||||
|
||||
var config = struct {
|
||||
Name string
|
||||
Namespace string
|
||||
Main string
|
||||
Tests []string
|
||||
}{
|
||||
Name: "restic", // name of the program executable and directory
|
||||
Namespace: "", // subdir of GOPATH, e.g. "github.com/foo/bar"
|
||||
Main: "cmds/restic", // package name for the main package
|
||||
Tests: []string{"restic/...", "cmds/..."}, // tests to run
|
||||
}
|
||||
|
||||
// specialDir returns true if the file begins with a special character ('.' or '_').
|
||||
func specialDir(name string) bool {
|
||||
if name == "." {
|
||||
@@ -77,7 +116,12 @@ func excludePath(name string) bool {
|
||||
// └── restic
|
||||
// └── foo.go
|
||||
func updateGopath(dst, src, prefix string) error {
|
||||
verbosePrintf("copy contents of %v to %v\n", src, filepath.Join(dst, prefix))
|
||||
return filepath.Walk(src, func(name string, fi os.FileInfo, err error) error {
|
||||
if name == src {
|
||||
return err
|
||||
}
|
||||
|
||||
if specialDir(name) {
|
||||
if fi.IsDir() {
|
||||
return filepath.SkipDir
|
||||
@@ -86,6 +130,10 @@ func updateGopath(dst, src, prefix string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if fi.IsDir() {
|
||||
return nil
|
||||
}
|
||||
@@ -126,7 +174,6 @@ func copyFile(dst, src string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer fsrc.Close()
|
||||
|
||||
if err = os.MkdirAll(filepath.Dir(dst), 0755); err != nil {
|
||||
fmt.Printf("MkdirAll(%v)\n", filepath.Dir(dst))
|
||||
@@ -137,17 +184,28 @@ func copyFile(dst, src string) error {
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
defer fdst.Close()
|
||||
|
||||
_, err = io.Copy(fdst, fsrc)
|
||||
if _, err = io.Copy(fdst, fsrc); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
if err == nil {
|
||||
err = fsrc.Close()
|
||||
}
|
||||
|
||||
if err == nil {
|
||||
err = fdst.Close()
|
||||
}
|
||||
|
||||
if err == nil {
|
||||
err = os.Chmod(dst, fi.Mode())
|
||||
}
|
||||
|
||||
if err == nil {
|
||||
err = os.Chtimes(dst, fi.ModTime(), fi.ModTime())
|
||||
}
|
||||
|
||||
return err
|
||||
return nil
|
||||
}
|
||||
|
||||
// die prints the message with fmt.Fprintf() to stderr and exits with an error
|
||||
@@ -169,6 +227,7 @@ func showUsage(output io.Writer) {
|
||||
fmt.Fprintf(output, " --enable-cgo use CGO to link against libc\n")
|
||||
fmt.Fprintf(output, " --goos value set GOOS for cross-compilation\n")
|
||||
fmt.Fprintf(output, " --goarch value set GOARCH for cross-compilation\n")
|
||||
fmt.Fprintf(output, " --goarm value set GOARM for cross-compilation\n")
|
||||
}
|
||||
|
||||
func verbosePrintf(message string, args ...interface{}) {
|
||||
@@ -194,13 +253,16 @@ func cleanEnv() (env []string) {
|
||||
}
|
||||
|
||||
// build runs "go build args..." with GOPATH set to gopath.
|
||||
func build(cwd, goos, goarch, gopath string, args ...string) error {
|
||||
func build(cwd, goos, goarch, goarm, gopath string, args ...string) error {
|
||||
a := []string{"build"}
|
||||
a = append(a, "-asmflags", fmt.Sprintf("-trimpath=%s", gopath))
|
||||
a = append(a, "-gcflags", fmt.Sprintf("-trimpath=%s", gopath))
|
||||
a = append(a, args...)
|
||||
cmd := exec.Command("go", a...)
|
||||
cmd.Env = append(cleanEnv(), "GOPATH="+gopath, "GOARCH="+goarch, "GOOS="+goos)
|
||||
if goarm != "" {
|
||||
cmd.Env = append(cmd.Env, "GOARM="+goarm)
|
||||
}
|
||||
if !enableCGO {
|
||||
cmd.Env = append(cmd.Env, "CGO_ENABLED=0")
|
||||
}
|
||||
@@ -289,10 +351,80 @@ func (cs Constants) LDFlags() string {
|
||||
return strings.Join(l, " ")
|
||||
}
|
||||
|
||||
// GoVersion is the version of Go used to compile the project.
|
||||
type GoVersion struct {
|
||||
Major int
|
||||
Minor int
|
||||
Patch int
|
||||
}
|
||||
|
||||
// ParseGoVersion parses the Go version s. If s cannot be parsed, the returned GoVersion is null.
|
||||
func ParseGoVersion(s string) (v GoVersion) {
|
||||
if !strings.HasPrefix(s, "go") {
|
||||
return
|
||||
}
|
||||
|
||||
s = s[2:]
|
||||
data := strings.Split(s, ".")
|
||||
if len(data) != 3 {
|
||||
return
|
||||
}
|
||||
|
||||
major, err := strconv.Atoi(data[0])
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
minor, err := strconv.Atoi(data[1])
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
patch, err := strconv.Atoi(data[2])
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
|
||||
v = GoVersion{
|
||||
Major: major,
|
||||
Minor: minor,
|
||||
Patch: patch,
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// AtLeast returns true if v is at least as new as other. If v is empty, true is returned.
|
||||
func (v GoVersion) AtLeast(other GoVersion) bool {
|
||||
var empty GoVersion
|
||||
|
||||
// the empty version satisfies all versions
|
||||
if v == empty {
|
||||
return true
|
||||
}
|
||||
|
||||
if v.Major < other.Major {
|
||||
return false
|
||||
}
|
||||
|
||||
if v.Minor < other.Minor {
|
||||
return false
|
||||
}
|
||||
|
||||
if v.Patch < other.Patch {
|
||||
return false
|
||||
}
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
func (v GoVersion) String() string {
|
||||
return fmt.Sprintf("Go %d.%d.%d", v.Major, v.Minor, v.Patch)
|
||||
}
|
||||
|
||||
func main() {
|
||||
ver := runtime.Version()
|
||||
if strings.HasPrefix(ver, "go1") && ver < "go1.7" {
|
||||
fmt.Fprintf(os.Stderr, "Go version %s detected, restic requires at least Go 1.7\n", ver)
|
||||
ver := ParseGoVersion(runtime.Version())
|
||||
if !ver.AtLeast(config.MinVersion) {
|
||||
fmt.Fprintf(os.Stderr, "%s detected, this program requires at least %s\n", ver, config.MinVersion)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
@@ -303,6 +435,7 @@ func main() {
|
||||
|
||||
targetGOOS := runtime.GOOS
|
||||
targetGOARCH := runtime.GOARCH
|
||||
targetGOARM := ""
|
||||
|
||||
var outputFilename string
|
||||
|
||||
@@ -336,6 +469,9 @@ func main() {
|
||||
case "--goarch":
|
||||
skipNext = true
|
||||
targetGOARCH = params[i+1]
|
||||
case "--goarm":
|
||||
skipNext = true
|
||||
targetGOARM = params[i+1]
|
||||
case "-h":
|
||||
showUsage(os.Stdout)
|
||||
return
|
||||
@@ -368,13 +504,13 @@ func main() {
|
||||
}
|
||||
|
||||
verbosePrintf("create GOPATH at %v\n", gopath)
|
||||
if err = updateGopath(gopath, filepath.Join(root, "src"), config.Namespace); err != nil {
|
||||
if err = updateGopath(gopath, root, config.Namespace); err != nil {
|
||||
die("copying files from %v/src to %v/src failed: %v\n", root, gopath, err)
|
||||
}
|
||||
|
||||
vendor := filepath.Join(root, "vendor", "src")
|
||||
vendor := filepath.Join(root, "vendor")
|
||||
if directoryExists(vendor) {
|
||||
if err = updateGopath(gopath, vendor, ""); err != nil {
|
||||
if err = updateGopath(gopath, vendor, filepath.Join(config.Namespace, "vendor")); err != nil {
|
||||
die("copying files from %v to %v failed: %v\n", root, gopath, err)
|
||||
}
|
||||
}
|
||||
@@ -420,7 +556,7 @@ func main() {
|
||||
"-o", output, config.Main,
|
||||
}
|
||||
|
||||
err = build(filepath.Join(gopath, "src"), targetGOOS, targetGOARCH, gopath, args...)
|
||||
err = build(filepath.Join(gopath, "src"), targetGOOS, targetGOARCH, targetGOARM, gopath, args...)
|
||||
if err != nil {
|
||||
die("build failed: %v\n", err)
|
||||
}
|
||||
|
||||
8
changelog/0.6.0_2017-05-29/issue-953
Normal file
8
changelog/0.6.0_2017-05-29/issue-953
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Make `forget` consistent
|
||||
|
||||
The `forget` command was corrected to be more consistent in which snapshots are
|
||||
to be forgotten. It is possible that the new code removes more snapshots than
|
||||
before, so please review what would be deleted by using the `--dry-run` option.
|
||||
|
||||
https://github.com/restic/restic/pull/957
|
||||
https://github.com/restic/restic/issues/953
|
||||
11
changelog/0.6.0_2017-05-29/issue-965
Normal file
11
changelog/0.6.0_2017-05-29/issue-965
Normal file
@@ -0,0 +1,11 @@
|
||||
Enhancement: Unify repository layout for all backends
|
||||
|
||||
Up to now the s3 backend used a special repository layout. We've decided to
|
||||
unify the repository layout and implemented the default layout also for the s3
|
||||
backend. For creating a new repository on s3 with the default layout, use
|
||||
`restic -o s3.layout=default init`. For further commands the option is not
|
||||
necessary any more, restic will automatically detect the correct layout to use.
|
||||
A future version will switch to the default layout for new repositories.
|
||||
|
||||
https://github.com/restic/restic/pull/966
|
||||
https://github.com/restic/restic/issues/965
|
||||
15
changelog/0.6.0_2017-05-29/pull-962
Normal file
15
changelog/0.6.0_2017-05-29/pull-962
Normal file
@@ -0,0 +1,15 @@
|
||||
Enhancement: Improve memory and runtime for the s3 backend
|
||||
|
||||
We've updated the library used for accessing s3, switched to using a lower
|
||||
level API and added caching for some requests. This lead to a decrease in
|
||||
memory usage and a great speedup. In addition, we added benchmark functions for
|
||||
all backends, so we can track improvements over time. The Continuous
|
||||
Integration test service we're using (Travis) now runs the s3 backend tests not
|
||||
only against a Minio server, but also against the Amazon s3 live service, so we
|
||||
should be notified of any regressions much sooner.
|
||||
|
||||
https://github.com/restic/restic/pull/962
|
||||
https://github.com/restic/restic/pull/960
|
||||
https://github.com/restic/restic/pull/946
|
||||
https://github.com/restic/restic/pull/938
|
||||
https://github.com/restic/restic/pull/883
|
||||
8
changelog/0.6.1_2017-06-01/issue-985
Normal file
8
changelog/0.6.1_2017-06-01/issue-985
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Allow multiple parallel idle HTTP connections
|
||||
|
||||
Backends based on HTTP now allow several idle connections in parallel. This
|
||||
is especially important for the REST backend, which (when used with a local
|
||||
server) may create a lot connections and exhaust available ports quickly.
|
||||
|
||||
https://github.com/restic/restic/issues/985
|
||||
https://github.com/restic/restic/pull/986
|
||||
6
changelog/0.6.1_2017-06-01/pull-891
Normal file
6
changelog/0.6.1_2017-06-01/pull-891
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Remove temporary path from binary in `build.go`
|
||||
|
||||
The `build.go` now strips the temporary directory used for compilation from
|
||||
the binary. This is the first step in enabling reproducible builds.
|
||||
|
||||
https://github.com/restic/restic/pull/981
|
||||
7
changelog/0.6.1_2017-06-01/pull-974
Normal file
7
changelog/0.6.1_2017-06-01/pull-974
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Remove regular status reports
|
||||
|
||||
Regular status report: We've removed the status report that was printed
|
||||
every 10 seconds when restic is run non-interactively. You can still force
|
||||
reporting the current status by sending a `USR1` signal to the process.
|
||||
|
||||
https://github.com/restic/restic/pull/974
|
||||
9
changelog/0.7.0_2017-07-01/issue-1013
Normal file
9
changelog/0.7.0_2017-07-01/issue-1013
Normal file
@@ -0,0 +1,9 @@
|
||||
Bugfix: Switch back to using the high-level minio-go API for s3
|
||||
|
||||
For the s3 backend we're back to using the high-level API the s3 client library
|
||||
for uploading data, a few users reported dropped connections (which the library
|
||||
will automatically retry now).
|
||||
|
||||
https://github.com/restic/restic/issues/1013
|
||||
https://github.com/restic/restic/issues/1023
|
||||
https://github.com/restic/restic/pull/1025
|
||||
7
changelog/0.7.0_2017-07-01/issue-1021
Normal file
7
changelog/0.7.0_2017-07-01/issue-1021
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Detect invalid backend name and print error
|
||||
|
||||
restic now tries to detect when an invalid/unknown backend is used and
|
||||
returns an error message.
|
||||
|
||||
https://github.com/restic/restic/issues/1021
|
||||
https://github.com/restic/restic/pull/1070
|
||||
8
changelog/0.7.0_2017-07-01/issue-1029
Normal file
8
changelog/0.7.0_2017-07-01/issue-1029
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Remove invalid pack files when `prune` is run
|
||||
|
||||
The `prune` command has been improved and will now remove invalid pack files,
|
||||
for example files that have not been uploaded completely because a backup was
|
||||
interrupted.
|
||||
|
||||
https://github.com/restic/restic/issues/1029
|
||||
https://github.com/restic/restic/pull/1036
|
||||
4
changelog/0.7.0_2017-07-01/issue-512
Normal file
4
changelog/0.7.0_2017-07-01/issue-512
Normal file
@@ -0,0 +1,4 @@
|
||||
Enhancement: Add Backblaze B2 backend
|
||||
|
||||
https://github.com/restic/restic/issues/512
|
||||
https://github.com/restic/restic/pull/978
|
||||
9
changelog/0.7.0_2017-07-01/issue-636
Normal file
9
changelog/0.7.0_2017-07-01/issue-636
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Add dirs `tags` and `hosts` to fuse mount
|
||||
|
||||
The fuse mount now has two more directories: `tags` contains a subdir for
|
||||
each tag, which in turn contains only the snapshots that have this tag. The
|
||||
subdir `hosts` contains a subdir for each host that has a snapshot, and the
|
||||
subdir contains the snapshots for that host.
|
||||
|
||||
https://github.com/restic/restic/issues/636
|
||||
https://github.com/restic/restic/pull/1050
|
||||
8
changelog/0.7.0_2017-07-01/issue-965
Normal file
8
changelog/0.7.0_2017-07-01/issue-965
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Switch to `default` repo layout for the s3 backend
|
||||
|
||||
The default layout for the s3 backend is now `default` (instead of `s3legacy`).
|
||||
Also, there's a new `migrate` command to convert an existing repo, it can be
|
||||
run like this: `restic migrate s3_layout`
|
||||
|
||||
https://github.com/restic/restic/issues/965
|
||||
https://github.com/restic/restic/pull/1004
|
||||
8
changelog/0.7.0_2017-07-01/issue-989
Normal file
8
changelog/0.7.0_2017-07-01/issue-989
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Improve performance of the `find` command
|
||||
|
||||
Improved performance for the `find` command: Restic recognizes paths it has
|
||||
already checked for the files in question, so the number of backend requests
|
||||
is reduced a lot.
|
||||
|
||||
https://github.com/restic/restic/issues/989
|
||||
https://github.com/restic/restic/pull/993
|
||||
4
changelog/0.7.0_2017-07-01/pull-975
Normal file
4
changelog/0.7.0_2017-07-01/pull-975
Normal file
@@ -0,0 +1,4 @@
|
||||
Enhancement: Add new backend for OpenStack Swift
|
||||
|
||||
https://github.com/restic/restic/pull/975
|
||||
https://github.com/restic/restic/pull/648
|
||||
5
changelog/0.7.0_2017-07-01/pull-998
Normal file
5
changelog/0.7.0_2017-07-01/pull-998
Normal file
@@ -0,0 +1,5 @@
|
||||
Enhancement: Improve performance of the fuse mount
|
||||
|
||||
Listing directories which contain large files now is significantly faster.
|
||||
|
||||
https://github.com/restic/restic/pull/998
|
||||
10
changelog/0.7.1_2017-07-22/issue-1055
Normal file
10
changelog/0.7.1_2017-07-22/issue-1055
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Create subdirs below `data/` for local/sftp backends
|
||||
|
||||
The local and sftp backends now create the subdirs below `data/` on
|
||||
open/init. This way, restic makes sure that they always exist. This is
|
||||
connected to an issue for the sftp server:
|
||||
|
||||
https://github.com/restic/rest-server/pull/11#issuecomment-309879710
|
||||
https://github.com/restic/restic/issues/1055
|
||||
https://github.com/restic/restic/pull/1077
|
||||
https://github.com/restic/restic/pull/1105
|
||||
8
changelog/0.7.1_2017-07-22/issue-1067
Normal file
8
changelog/0.7.1_2017-07-22/issue-1067
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Allow loading credentials for s3 from IAM
|
||||
|
||||
When no S3 credentials are specified in the environment variables, restic
|
||||
now tries to load credentials from an IAM instance profile when the s3
|
||||
backend is used.
|
||||
|
||||
https://github.com/restic/restic/issues/1067
|
||||
https://github.com/restic/restic/pull/1086
|
||||
8
changelog/0.7.1_2017-07-22/issue-1073
Normal file
8
changelog/0.7.1_2017-07-22/issue-1073
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Add `migrate` cmd to migrate from `s3legacy` to `default` layout
|
||||
|
||||
The `migrate` command for chaning the `s3legacy` layout to the `default` layout
|
||||
for s3 backends has been improved: It can now be restarted with `restic migrate
|
||||
--force s3_layout` and automatically retries operations on error.
|
||||
|
||||
https://github.com/restic/restic/issues/1073
|
||||
https://github.com/restic/restic/pull/1075
|
||||
4
changelog/0.7.1_2017-07-22/issue-1081
Normal file
4
changelog/0.7.1_2017-07-22/issue-1081
Normal file
@@ -0,0 +1,4 @@
|
||||
Enhancement: Clarify semantic for `--tasg` for the `forget` command
|
||||
|
||||
https://github.com/restic/restic/issues/1081
|
||||
https://github.com/restic/restic/pull/1090
|
||||
5
changelog/0.7.1_2017-07-22/plul-1080
Normal file
5
changelog/0.7.1_2017-07-22/plul-1080
Normal file
@@ -0,0 +1,5 @@
|
||||
Enhancement: Ignore chmod() errors on filesystems which do not support it
|
||||
|
||||
https://github.com/restic/restic/pull/1080
|
||||
https://github.com/restic/restic/pull/1112
|
||||
|
||||
3
changelog/0.7.1_2017-07-22/pull-1082
Normal file
3
changelog/0.7.1_2017-07-22/pull-1082
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Print stats on SIGINFO on Darwin and FreeBSD (ctrl+t)
|
||||
|
||||
https://github.com/restic/restic/pull/1082
|
||||
9
changelog/0.7.1_2017-07-22/pull-1115
Normal file
9
changelog/0.7.1_2017-07-22/pull-1115
Normal file
@@ -0,0 +1,9 @@
|
||||
Bugfix: Fix `prune`, only include existing files in indexes
|
||||
|
||||
A bug was found (and corrected) in the index rebuilding after prune, which led
|
||||
to indexes which include blobs that were not present in the repo any more.
|
||||
There were already checks in place which detected this situation and aborted
|
||||
with an error message. A new run of either `prune` or `rebuild-index` corrected
|
||||
the index files. This is now fixed and a test has been added to detect this.
|
||||
|
||||
https://github.com/restic/restic/pull/1115
|
||||
8
changelog/0.7.2_2017-09-13/issue-1132
Normal file
8
changelog/0.7.2_2017-09-13/issue-1132
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Make `key` command always prompt for a password
|
||||
|
||||
The `key` command now prompts for a password even if the original password
|
||||
to access a repo has been specified via the `RESTIC_PASSWORD` environment
|
||||
variable or a password file.
|
||||
|
||||
https://github.com/restic/restic/issues/1132
|
||||
https://github.com/restic/restic/pull/1133
|
||||
8
changelog/0.7.2_2017-09-13/issue-1167
Normal file
8
changelog/0.7.2_2017-09-13/issue-1167
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Do not create a local repo unless `init` is used
|
||||
|
||||
When a restic command other than `init` is used with a local repository and the
|
||||
repository directory does not exist, restic creates the directory structure.
|
||||
That's an error, only the `init` command should create the dir.
|
||||
|
||||
https://github.com/restic/restic/issues/1167
|
||||
https://github.com/restic/restic/pull/1182
|
||||
4
changelog/0.7.2_2017-09-13/issue-1179
Normal file
4
changelog/0.7.2_2017-09-13/issue-1179
Normal file
@@ -0,0 +1,4 @@
|
||||
Enhancement: Resolve name conflicts, append a counter
|
||||
|
||||
https://github.com/restic/restic/issues/1179
|
||||
https://github.com/restic/restic/pull/1209
|
||||
7
changelog/0.7.2_2017-09-13/issue-1208
Normal file
7
changelog/0.7.2_2017-09-13/issue-1208
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Add `--compact` to `snapshots` command
|
||||
|
||||
The option `--compact` was added to the `snapshots` command to get a better
|
||||
overview of the snapshots in a repo. It limits each snapshot to a single line.
|
||||
|
||||
https://github.com/restic/restic/issues/1218
|
||||
https://github.com/restic/restic/pull/1223
|
||||
10
changelog/0.7.2_2017-09-13/issue-317
Normal file
10
changelog/0.7.2_2017-09-13/issue-317
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Add `--exclude-caches` and `--exclude-if-present`
|
||||
|
||||
A new option `--exclude-caches` was added that allows excluding cache
|
||||
directories (that are tagged as such). This is a special case of a more generic
|
||||
option `--exclude-if-present` which excludes a directory if a file with a
|
||||
specific name (and contents) is present.
|
||||
|
||||
https://github.com/restic/restic/issues/317
|
||||
https://github.com/restic/restic/pull/1170
|
||||
https://github.com/restic/restic/pull/1224
|
||||
4
changelog/0.7.2_2017-09-13/issues-697
Normal file
4
changelog/0.7.2_2017-09-13/issues-697
Normal file
@@ -0,0 +1,4 @@
|
||||
Enhancement: Automatically generate man pages for all restic commands
|
||||
|
||||
https://github.com/restic/restic/issues/697
|
||||
https://github.com/restic/restic/pull/1147
|
||||
3
changelog/0.7.2_2017-09-13/pull-1044
Normal file
3
changelog/0.7.2_2017-09-13/pull-1044
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Improve `restore`, do not traverse/load excluded directories
|
||||
|
||||
https://github.com/restic/restic/pull/1044
|
||||
3
changelog/0.7.2_2017-09-13/pull-1061
Normal file
3
changelog/0.7.2_2017-09-13/pull-1061
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Add Dockerfile and official Docker image
|
||||
|
||||
https://github.com/restic/restic/pull/1061
|
||||
7
changelog/0.7.2_2017-09-13/pull-1126
Normal file
7
changelog/0.7.2_2017-09-13/pull-1126
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Use the standard Go git repository layout, use `dep` for vendoring
|
||||
|
||||
The git repository layout was changed to resemble the layout typically used in
|
||||
Go projects, we're not using `gb` for building restic any more and vendoring
|
||||
the dependencies is now taken care of by `dep`.
|
||||
|
||||
https://github.com/restic/restic/pull/1126
|
||||
5
changelog/0.7.2_2017-09-13/pull-1134
Normal file
5
changelog/0.7.2_2017-09-13/pull-1134
Normal file
@@ -0,0 +1,5 @@
|
||||
Enhancement: Add support for storing backups on Google Cloud Storage
|
||||
|
||||
https://github.com/restic/restic/pull/1134
|
||||
https://github.com/restic/restic/pull/1052
|
||||
https://github.com/restic/restic/issues/211
|
||||
3
changelog/0.7.2_2017-09-13/pull-1144
Normal file
3
changelog/0.7.2_2017-09-13/pull-1144
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Properly report errors when reading files with exclude patterns
|
||||
|
||||
https://github.com/restic/restic/pull/1144
|
||||
8
changelog/0.7.2_2017-09-13/pull-1149
Normal file
8
changelog/0.7.2_2017-09-13/pull-1149
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Add support for storing backups on Microsoft Azure Blob Storage
|
||||
|
||||
The library we're using to access the service requires Go 1.8, so restic now
|
||||
needs at least Go 1.8.
|
||||
|
||||
https://github.com/restic/restic/pull/1149
|
||||
https://github.com/restic/restic/pull/1059
|
||||
https://github.com/restic/restic/issues/609
|
||||
3
changelog/0.7.2_2017-09-13/pull-1164
Normal file
3
changelog/0.7.2_2017-09-13/pull-1164
Normal file
@@ -0,0 +1,3 @@
|
||||
Bugfix: Make the `key remove` command behave as documented
|
||||
|
||||
https://github.com/restic/restic/pull/1164
|
||||
8
changelog/0.7.2_2017-09-13/pull-1191
Normal file
8
changelog/0.7.2_2017-09-13/pull-1191
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Make sure to write profiling files on interrupt
|
||||
|
||||
Since a few releases restic had the ability to write profiling files for memory
|
||||
and CPU usage when `debug` is enabled. It was discovered that when restic is
|
||||
interrupted (ctrl+c is pressed), the proper shutdown hook is not run. This is
|
||||
now corrected.
|
||||
|
||||
https://github.com/restic/restic/pull/1191
|
||||
3
changelog/0.7.2_2017-09-13/pull-1196
Normal file
3
changelog/0.7.2_2017-09-13/pull-1196
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Add `--group-by` to `forget` command for flexible grouping
|
||||
|
||||
https://github.com/restic/restic/pull/1196
|
||||
5
changelog/0.7.2_2017-09-13/pull-1203
Normal file
5
changelog/0.7.2_2017-09-13/pull-1203
Normal file
@@ -0,0 +1,5 @@
|
||||
Enhancement: Print stats on all BSD systems when SIGINFO (ctrl+t) is received
|
||||
|
||||
https://github.com/restic/restic/pull/1203
|
||||
https://github.com/restic/restic/pull/1082#issuecomment-326279920
|
||||
|
||||
3
changelog/0.7.2_2017-09-13/pull-1205
Normal file
3
changelog/0.7.2_2017-09-13/pull-1205
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Allow specifying time/date for a backup with `--time`
|
||||
|
||||
https://github.com/restic/restic/pull/1205
|
||||
9
changelog/0.7.3_2017-09-20/issue-1246
Normal file
9
changelog/0.7.3_2017-09-20/issue-1246
Normal file
@@ -0,0 +1,9 @@
|
||||
Bugfix: List all files stored in Google Cloud Storage
|
||||
|
||||
For large backups stored in Google Cloud Storage, the `prune` command fails
|
||||
because listing only returns the first 1000 files. This has been corrected, no
|
||||
data is lost in the process. In addition, a plausibility check was added to
|
||||
`prune`.
|
||||
|
||||
https://github.com/restic/restic/issues/1246
|
||||
https://github.com/restic/restic/pull/1247
|
||||
9
changelog/0.8.0_2017-11-26/issue-1102
Normal file
9
changelog/0.8.0_2017-11-26/issue-1102
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Add subdirectory `ids` to fuse mount
|
||||
|
||||
The fuse mount now has an `ids` subdirectory which contains the snapshots below
|
||||
their (short) IDs.
|
||||
|
||||
https://github.com/restic/restic/issues/1102
|
||||
https://github.com/restic/restic/pull/1299
|
||||
https://github.com/restic/restic/pull/1320
|
||||
|
||||
10
changelog/0.8.0_2017-11-26/issue-1114
Normal file
10
changelog/0.8.0_2017-11-26/issue-1114
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Add `--cacert` to specify TLS certificates to check against
|
||||
|
||||
We've added the `--cacert` option which can be used to pass one (or more) CA
|
||||
certificates to restic. These are used in addition to the system CA
|
||||
certificates to verify HTTPS certificates (e.g. for the REST backend).
|
||||
|
||||
https://github.com/restic/restic/issues/1114
|
||||
https://github.com/restic/restic/pull/1276
|
||||
|
||||
|
||||
9
changelog/0.8.0_2017-11-26/issue-1216
Normal file
9
changelog/0.8.0_2017-11-26/issue-1216
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Add upload/download limiting
|
||||
|
||||
We've added support for rate limiting through `--limit-upload` and
|
||||
`--limit-download` flags.
|
||||
|
||||
https://github.com/restic/restic/issues/1216
|
||||
https://github.com/restic/restic/pull/1336
|
||||
https://github.com/restic/restic/pull/1358
|
||||
|
||||
7
changelog/0.8.0_2017-11-26/issue-1256
Normal file
7
changelog/0.8.0_2017-11-26/issue-1256
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: Re-enable workaround for S3 backend
|
||||
|
||||
We've re-enabled a workaround for `minio-go` (the library we're using to
|
||||
access s3 backends), this reduces memory usage.
|
||||
|
||||
https://github.com/restic/restic/issues/1256
|
||||
https://github.com/restic/restic/pull/1267
|
||||
6
changelog/0.8.0_2017-11-26/issue-1271
Normal file
6
changelog/0.8.0_2017-11-26/issue-1271
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Cache results for excludes for `backup`
|
||||
|
||||
The `backup` command now caches the result of excludes for a directory.
|
||||
|
||||
https://github.com/restic/restic/issues/1271
|
||||
https://github.com/restic/restic/pull/1326
|
||||
9
changelog/0.8.0_2017-11-26/issue-1274
Normal file
9
changelog/0.8.0_2017-11-26/issue-1274
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Add `generate` command, replaces `manpage` and `autocomplete`
|
||||
|
||||
The `generate` command has been added, which replaces the now removed
|
||||
commands `manpage` and `autocomplete`. This release of restic contains the
|
||||
most recent manpages in `doc/man` and the auto-completion files for bash and
|
||||
zsh in `doc/bash-completion.sh` and `doc/zsh-completion.zsh`
|
||||
|
||||
https://github.com/restic/restic/issues/1274
|
||||
https://github.com/restic/restic/pull/1282
|
||||
8
changelog/0.8.0_2017-11-26/issue-1291
Normal file
8
changelog/0.8.0_2017-11-26/issue-1291
Normal file
@@ -0,0 +1,8 @@
|
||||
Bugfix: Reuse backend TCP connections to BackBlaze B2
|
||||
|
||||
A bug was discovered in the library we're using to access Backblaze, it now
|
||||
reuses already established TCP connections which should be a lot faster and
|
||||
not cause network failures any more.
|
||||
|
||||
https://github.com/restic/restic/issues/1291
|
||||
https://github.com/restic/restic/pull/1301
|
||||
7
changelog/0.8.0_2017-11-26/issue-1367
Normal file
7
changelog/0.8.0_2017-11-26/issue-1367
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Allow comments in files read from via `--file-from`
|
||||
|
||||
When the list of files/dirs to be saved is read from a file with
|
||||
`--files-from`, comment lines (starting with `#`) are now ignored.
|
||||
|
||||
https://github.com/restic/restic/issues/1367
|
||||
https://github.com/restic/restic/pull/1368
|
||||
18
changelog/0.8.0_2017-11-26/issue-1445
Normal file
18
changelog/0.8.0_2017-11-26/issue-1445
Normal file
@@ -0,0 +1,18 @@
|
||||
Security: Prevent writing outside the target directory during restore
|
||||
|
||||
A vulnerability was found in the restic restorer, which allowed attackers in
|
||||
special circumstances to restore files to a location outside of the target
|
||||
directory. Due to the circumstances we estimate this to be a low-risk
|
||||
vulnerability, but urge all users to upgrade to the latest version of restic.
|
||||
|
||||
Exploiting the vulnerability requires a Linux/Unix system which saves backups
|
||||
via restic and a Windows systems which restores files from the repo. In
|
||||
addition, the attackers need to be able to create create files with arbitrary
|
||||
names which are then saved to the restic repo. For example, by creating a file
|
||||
named "..\test.txt" (which is a perfectly legal filename on Linux) and
|
||||
restoring a snapshot containing this file on Windows, it would be written to
|
||||
the parent of the target directory.
|
||||
|
||||
We'd like to thank Tyler Spivey for reporting this responsibly!
|
||||
|
||||
https://github.com/restic/restic/pull/1445
|
||||
9
changelog/0.8.0_2017-11-26/issue-448
Normal file
9
changelog/0.8.0_2017-11-26/issue-448
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: sftp backend prompts for password
|
||||
|
||||
The sftp backend now prompts for the password if a password is necessary for
|
||||
login.
|
||||
|
||||
https://github.com/restic/restic/issues/448
|
||||
https://github.com/restic/restic/pull/1270
|
||||
|
||||
|
||||
7
changelog/0.8.0_2017-11-26/issue-510
Normal file
7
changelog/0.8.0_2017-11-26/issue-510
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Add `dump` command
|
||||
|
||||
We've added the `dump` command which prints a file from a snapshot to
|
||||
stdout. This can e.g. be used to restore files read with `backup --stdin`.
|
||||
|
||||
https://github.com/restic/restic/issues/510
|
||||
https://github.com/restic/restic/pull/1346
|
||||
23
changelog/0.8.0_2017-11-26/pull-1040
Normal file
23
changelog/0.8.0_2017-11-26/pull-1040
Normal file
@@ -0,0 +1,23 @@
|
||||
Enhancement: Add local metadata cache
|
||||
|
||||
We've added a local cache for metadata so that restic doesn't need to load
|
||||
all metadata (snapshots, indexes, ...) from the repo each time it starts. By
|
||||
default the cache is active, but there's a new global option `--no-cache`
|
||||
that can be used to disable the cache. By deafult, the cache a standard
|
||||
cache folder for the OS, which can be overridden with `--cache-dir`. The
|
||||
cache will automatically populate, indexes and snapshots are saved as they
|
||||
are loaded. Cache directories for repos that haven't been used recently can
|
||||
automatically be removed by restic with the `--cleanup-cache` option.
|
||||
|
||||
A related change was to by default create pack files in the repo that contain
|
||||
either data or metadata, not both mixed together. This allows easy caching of
|
||||
only the metadata files. The next run of `restic prune` will untangle mixed
|
||||
files automatically.
|
||||
|
||||
https://github.com/restic/restic/pull/1040
|
||||
https://github.com/restic/restic/issues/29
|
||||
https://github.com/restic/restic/issues/738
|
||||
https://github.com/restic/restic/issues/282
|
||||
https://github.com/restic/restic/pull/1287
|
||||
https://github.com/restic/restic/pull/1436
|
||||
https://github.com/restic/restic/pull/1265
|
||||
6
changelog/0.8.0_2017-11-26/pull-1249
Normal file
6
changelog/0.8.0_2017-11-26/pull-1249
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add `latest` symlink in fuse mount
|
||||
|
||||
The directory structure in the fuse mount now exposes a symlink `latest`
|
||||
which points to the latest snapshot in that particular directory.
|
||||
|
||||
https://github.com/restic/restic/pull/1249
|
||||
6
changelog/0.8.0_2017-11-26/pull-1269
Normal file
6
changelog/0.8.0_2017-11-26/pull-1269
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Add `--compact` to `forget` command
|
||||
|
||||
The option `--compact` was added to the `forget` command to provide the same
|
||||
compact view as the `snapshots` command.
|
||||
|
||||
https://github.com/restic/restic/pull/1269
|
||||
7
changelog/0.8.0_2017-11-26/pull-1281
Normal file
7
changelog/0.8.0_2017-11-26/pull-1281
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Google Cloud Storage backend needs less permissions
|
||||
|
||||
The Google Cloud Storage backend no longer requires the service account to
|
||||
have the `storage.buckets.get` permission ("Storage Admin" role) in `restic
|
||||
init` if the bucket already exists.
|
||||
|
||||
https://github.com/restic/restic/pull/1281
|
||||
7
changelog/0.8.0_2017-11-26/pull-1317
Normal file
7
changelog/0.8.0_2017-11-26/pull-1317
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: Run prune when `forget --prune` is called with just snapshot IDs
|
||||
|
||||
A bug in the `forget` command caused `prune` not to be run when `--prune` was
|
||||
specified without a policy, e.g. when only snapshot IDs that should be
|
||||
forgotten are listed manually.
|
||||
|
||||
https://github.com/restic/restic/pull/1317
|
||||
8
changelog/0.8.0_2017-11-26/pull-1319
Normal file
8
changelog/0.8.0_2017-11-26/pull-1319
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Make `check` print `no errors found` explicitly
|
||||
|
||||
The `check` command now explicetly prints `No errors were found` when no errors
|
||||
could be found.
|
||||
|
||||
https://github.com/restic/restic/pull/1319
|
||||
https://github.com/restic/restic/issues/1303
|
||||
|
||||
3
changelog/0.8.0_2017-11-26/pull-1353
Normal file
3
changelog/0.8.0_2017-11-26/pull-1353
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Retry failed backend requests
|
||||
|
||||
https://github.com/restic/restic/pull/1353
|
||||
10
changelog/0.8.0_2017-11-26/pull-1437
Normal file
10
changelog/0.8.0_2017-11-26/pull-1437
Normal file
@@ -0,0 +1,10 @@
|
||||
Bugfix: Remove implicit path `/restic` for the s3 backend
|
||||
|
||||
The s3 backend used the subdir `restic` within a bucket if no explicit path
|
||||
after the bucket name was specified. Since this version, restic does not use
|
||||
this default path any more. If you created a repo on s3 in a bucket without
|
||||
specifying a path within the bucket, you need to add `/restic` at the end of
|
||||
the repository specification to access your repo: `s3:s3.amazonaws.com/bucket/restic`
|
||||
|
||||
https://github.com/restic/restic/pull/1437
|
||||
https://github.com/restic/restic/issues/1292
|
||||
4
changelog/0.8.1_2017-12-27/issue-1457
Normal file
4
changelog/0.8.1_2017-12-27/issue-1457
Normal file
@@ -0,0 +1,4 @@
|
||||
Bugfix: Improve s3 backend with DigitalOcean Spaces
|
||||
|
||||
https://github.com/restic/restic/issues/1457
|
||||
https://github.com/restic/restic/pull/1459
|
||||
9
changelog/0.8.1_2017-12-27/pull-1436
Normal file
9
changelog/0.8.1_2017-12-27/pull-1436
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Add code to detect old cache directories
|
||||
|
||||
We've added code to detect old cache directories of repositories that
|
||||
haven't been used in a long time, restic now prints a note when it detects
|
||||
that such dirs exist. Also, the option `--cleanup-cache` was added to
|
||||
automatically remove such directories. That's not a problem because the
|
||||
cache will be rebuild once a repo is accessed again.
|
||||
|
||||
https://github.com/restic/restic/pull/1436
|
||||
6
changelog/0.8.1_2017-12-27/pull-1439
Normal file
6
changelog/0.8.1_2017-12-27/pull-1439
Normal file
@@ -0,0 +1,6 @@
|
||||
Enhancement: Improve cancellation logic
|
||||
|
||||
The cancellation logic was improved, restic can now shut down cleanly when
|
||||
requested to do so (e.g. via ctrl+c).
|
||||
|
||||
https://github.com/restic/restic/pull/1439
|
||||
9
changelog/0.8.1_2017-12-27/pull-1452
Normal file
9
changelog/0.8.1_2017-12-27/pull-1452
Normal file
@@ -0,0 +1,9 @@
|
||||
Change: Do not save atime by default
|
||||
|
||||
By default, the access time for files and dirs is not saved any more. It is
|
||||
not possible to reliably disable updating the access time during a backup,
|
||||
so for the next backup the access time is different again. This means a lot
|
||||
of metadata is saved. If you want to save the access time anyway, pass
|
||||
`--with-atime` to the `backup` command.
|
||||
|
||||
https://github.com/restic/restic/pull/1452
|
||||
6
changelog/0.8.1_2017-12-27/pull-1454
Normal file
6
changelog/0.8.1_2017-12-27/pull-1454
Normal file
@@ -0,0 +1,6 @@
|
||||
Bugfix: Correct cache dir location for Windows and Darwin
|
||||
|
||||
The cache directory on Windows and Darwin was not correct, instead the
|
||||
directory `.cache` was used.
|
||||
|
||||
https://github.com/restic/restic/pull/1454
|
||||
9
changelog/0.8.1_2017-12-27/pull-1459
Normal file
9
changelog/0.8.1_2017-12-27/pull-1459
Normal file
@@ -0,0 +1,9 @@
|
||||
Bugfix: Disable handling SIGPIPE
|
||||
|
||||
We've disabled handling SIGPIPE again. Turns out, writing to broken TCP
|
||||
connections also raised SIGPIPE, so restic exits on the first write to a
|
||||
broken connection. Instead, restic should retry the request.
|
||||
|
||||
https://github.com/restic/restic/pull/1459
|
||||
https://github.com/restic/restic/issues/1457
|
||||
https://github.com/restic/restic/issues/1466
|
||||
8
changelog/0.8.1_2017-12-27/pull-1462
Normal file
8
changelog/0.8.1_2017-12-27/pull-1462
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Add the `diff` command
|
||||
|
||||
The command `diff` was added, it allows comparing two snapshots and listing
|
||||
all differences.
|
||||
|
||||
https://github.com/restic/restic/issues/11
|
||||
https://github.com/restic/restic/issues/1460
|
||||
https://github.com/restic/restic/pull/1462
|
||||
4
changelog/0.8.2_2018-02-17/issue-1506
Normal file
4
changelog/0.8.2_2018-02-17/issue-1506
Normal file
@@ -0,0 +1,4 @@
|
||||
Bugfix: Limit bandwith at the http.RoundTripper for HTTP based backends
|
||||
|
||||
https://github.com/restic/restic/issues/1506
|
||||
https://github.com/restic/restic/pull/1511
|
||||
9
changelog/0.8.2_2018-02-17/issue-1512
Normal file
9
changelog/0.8.2_2018-02-17/issue-1512
Normal file
@@ -0,0 +1,9 @@
|
||||
Bugfix: Restore directory permissions as the last step
|
||||
|
||||
This change allows restoring into directories that were not writable during
|
||||
backup. Before, restic created the directory, set the read-only mode and then
|
||||
failed to create files in the directory. This change now restores the directory
|
||||
(with its permissions) as the very last step.
|
||||
|
||||
https://github.com/restic/restic/issues/1512
|
||||
https://github.com/restic/restic/pull/1536
|
||||
8
changelog/0.8.2_2018-02-17/issue-1522
Normal file
8
changelog/0.8.2_2018-02-17/issue-1522
Normal file
@@ -0,0 +1,8 @@
|
||||
Enhancement: Add support for TLS client certificate authentication
|
||||
|
||||
Support has been added for using a TLS client certificate for authentication to
|
||||
HTTP based backend. A file containing the PEM encoded private key and
|
||||
certificate can be set using the `--tls-client-cert` option.
|
||||
|
||||
https://github.com/restic/restic/issues/1522
|
||||
https://github.com/restic/restic/pull/1524
|
||||
4
changelog/0.8.2_2018-02-17/issue-1528
Normal file
4
changelog/0.8.2_2018-02-17/issue-1528
Normal file
@@ -0,0 +1,4 @@
|
||||
Bugfix: Correctly create missing subdirs in data/
|
||||
|
||||
https://github.com/restic/restic/issues/1528
|
||||
https://github.com/restic/restic/pull/1529
|
||||
7
changelog/0.8.2_2018-02-17/issue-1541
Normal file
7
changelog/0.8.2_2018-02-17/issue-1541
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Reduce number of remote requests during repository check
|
||||
|
||||
This change eliminates redundant remote repository calls and significantly
|
||||
improves repository check time.
|
||||
|
||||
https://github.com/restic/restic/issues/1541
|
||||
https://github.com/restic/restic/pull/1548
|
||||
9
changelog/0.8.2_2018-02-17/issue-1567
Normal file
9
changelog/0.8.2_2018-02-17/issue-1567
Normal file
@@ -0,0 +1,9 @@
|
||||
Enhancement: Reduce number of backend requests for rebuild-index and prune
|
||||
|
||||
We've found a way to reduce then number of backend requests for the
|
||||
`rebuild-index` and `prune` operations. This significantly speeds up the
|
||||
operations for high-latency backends.
|
||||
|
||||
https://github.com/restic/restic/issues/1567
|
||||
https://github.com/restic/restic/pull/1574
|
||||
https://github.com/restic/restic/pull/1575
|
||||
7
changelog/0.8.2_2018-02-17/issue-1590
Normal file
7
changelog/0.8.2_2018-02-17/issue-1590
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: Strip spaces for lines read via --files-from
|
||||
|
||||
Leading and trailing spaces in lines read via `--files-from` are now stripped,
|
||||
so it behaves the same as with lines read via `--exclude-file`.
|
||||
|
||||
https://github.com/restic/restic/issues/1590
|
||||
https://github.com/restic/restic/pull/1613
|
||||
3
changelog/0.8.2_2018-02-17/pull-1507
Normal file
3
changelog/0.8.2_2018-02-17/pull-1507
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Only reload snapshots once per minute for fuse mount
|
||||
|
||||
https://github.com/restic/restic/pull/1507
|
||||
7
changelog/0.8.2_2018-02-17/pull-1538
Normal file
7
changelog/0.8.2_2018-02-17/pull-1538
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Reduce memory allocations for querying the index
|
||||
|
||||
This change reduces the internal memory allocations when the index data
|
||||
structures in memory are queried if a blob (part of a file) already exists in
|
||||
the repo. It should speed up backup a bit, and maybe even reduce RAM usage.
|
||||
|
||||
https://github.com/restic/restic/pull/1538
|
||||
7
changelog/0.8.2_2018-02-17/pull-1549
Normal file
7
changelog/0.8.2_2018-02-17/pull-1549
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: Speed up querying across indices and scanning existing files
|
||||
|
||||
This change increases the whenever a blob (part of a file) is searched for in a
|
||||
restic repository. This will reduce cpu usage some when backing up files already
|
||||
backed up by restic. Cpu usage is further decreased when scanning files.
|
||||
|
||||
https://github.com/restic/restic/pull/1549
|
||||
7
changelog/0.8.2_2018-02-17/pull-1554
Normal file
7
changelog/0.8.2_2018-02-17/pull-1554
Normal file
@@ -0,0 +1,7 @@
|
||||
Enhancement: fuse/mount: Correctly handle EOF, add template option
|
||||
|
||||
We've added the `--snapshot-template` string, which can be used to specify a
|
||||
template for a snapshot directory. In addition, accessing data after the end of
|
||||
a file via the fuse mount is now handled correctly.
|
||||
|
||||
https://github.com/restic/restic/pull/1554
|
||||
10
changelog/0.8.2_2018-02-17/pull-1564
Normal file
10
changelog/0.8.2_2018-02-17/pull-1564
Normal file
@@ -0,0 +1,10 @@
|
||||
Enhancement: Don't terminate ssh on SIGINT
|
||||
|
||||
We've reworked the code which runs the `ssh` login for the sftp backend so that
|
||||
it can prompt for a password (if needed) but does not exit when the user
|
||||
presses CTRL+C (SIGINT) e.g. during backup. This allows restic to properly shut
|
||||
down when it receives SIGINT and remove the lock file from the repo, afterwards
|
||||
exiting the `ssh` process.
|
||||
|
||||
https://github.com/restic/restic/pull/1564
|
||||
https://github.com/restic/restic/pull/1588
|
||||
3
changelog/0.8.2_2018-02-17/pull-1579
Normal file
3
changelog/0.8.2_2018-02-17/pull-1579
Normal file
@@ -0,0 +1,3 @@
|
||||
Enhancement: Retry Backend.List() in case of errors
|
||||
|
||||
https://github.com/restic/restic/pull/1579
|
||||
12
changelog/0.8.2_2018-02-17/pull-1584
Normal file
12
changelog/0.8.2_2018-02-17/pull-1584
Normal file
@@ -0,0 +1,12 @@
|
||||
Enhancement: Limit index file size
|
||||
|
||||
Before, restic would create a single new index file on `prune` or
|
||||
`rebuild-index`, this may lead to memory problems when this huge index is
|
||||
created and loaded again. We're now limiting the size of the index file, and
|
||||
split newly created index files into several smaller ones. This allows restic
|
||||
to be more memory-efficient.
|
||||
|
||||
https://github.com/restic/restic/pull/1584
|
||||
https://github.com/restic/restic/issues/1412
|
||||
https://github.com/restic/restic/issues/979
|
||||
https://github.com/restic/restic/issues/526
|
||||
17
changelog/0.8.2_2018-02-17/pull-1589
Normal file
17
changelog/0.8.2_2018-02-17/pull-1589
Normal file
@@ -0,0 +1,17 @@
|
||||
Bugfix: Complete intermediate index upload
|
||||
|
||||
After a user posted a comprehensive report of what he observed, we were able to
|
||||
find a bug and correct it: During backup, restic uploads so-called
|
||||
"intermediate" index files. When the backup finishes during a transfer of such
|
||||
an intermediate index, the upload is cancelled, but the backup is finished
|
||||
without an error. This leads to an inconsistent state, where the snapshot
|
||||
references data that is contained in the repo, but is not referenced in any
|
||||
index.
|
||||
|
||||
The situation can be resolved by building a new index with `rebuild-index`, but
|
||||
looks very confusing at first. Since all the data got uploaded to the repo
|
||||
successfully, there was no risk of data loss, just minor inconvenience for our
|
||||
users.
|
||||
|
||||
https://github.com/restic/restic/pull/1589
|
||||
https://forum.restic.net/t/error-loading-tree-check-prune-and-forget-gives-error-b2-backend/406
|
||||
7
changelog/0.8.2_2018-02-17/pull-1594
Normal file
7
changelog/0.8.2_2018-02-17/pull-1594
Normal file
@@ -0,0 +1,7 @@
|
||||
Bugfix: Google Cloud Storage: Use generic HTTP transport
|
||||
|
||||
It was discovered that the Google Cloud Storage backend did not use the generic
|
||||
HTTP transport, so things such as bandwidth limiting with `--limit-upload` did
|
||||
not work. This is resolved now.
|
||||
|
||||
https://github.com/restic/restic/pull/1594
|
||||
11
changelog/0.8.2_2018-02-17/pull-1595
Normal file
11
changelog/0.8.2_2018-02-17/pull-1595
Normal file
@@ -0,0 +1,11 @@
|
||||
Bugfix: backup: Remove bandwidth display
|
||||
|
||||
This commit removes the bandwidth displayed during backup process. It is
|
||||
misleading and seldomly correct, because it's neither the "read
|
||||
bandwidth" (only for the very first backup) nor the "upload bandwidth".
|
||||
Many users are confused about (and rightly so), c.f. #1581, #1033, #1591
|
||||
|
||||
We'll eventually replace this display with something more relevant when
|
||||
the new archiver code is ready.
|
||||
|
||||
https://github.com/restic/restic/pull/1595
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user