Alexander Neumann
494fe2a8b5
Merge pull request #1835 from restic/fix-1834
...
backup: Fix deadlock
2018-06-09 14:28:16 +02:00
Alexander Neumann
f761068f4e
Update github.com/kurin/blazer
2018-06-09 12:32:18 +02:00
Alexander Neumann
c44e808aa5
backup: Fix deadlock
...
When the archiver is faster than the scanner, restic deadlocks. This
commit adds a `finished` channel to the struct in `ui/backup.go` so that
scanner results are ignored when the archiver is already finished.
Closes #1834
2018-06-09 12:15:19 +02:00
Alexander Neumann
ab37c6095a
Merge pull request #1821 from michaelkoetter/fix-1795
...
#1795 use unix.IoctlGetWinsize to get terminal size
2018-06-07 20:20:06 +02:00
Michael Kötter
d6fd94e49d
Don't run Solaris build for go1.9
2018-06-04 15:04:50 +02:00
Michael Kötter
53040a2e34
add "solaris/amd64" to cross-compile archs
2018-06-04 12:51:34 +02:00
Alexander Neumann
cfc19b4582
Merge pull request #1828 from restic/handle-s3-list-errors
...
s3: Pass list errors up to the caller
2018-06-02 10:34:49 +02:00
Alexander Neumann
141fabdd09
s3: Pass list errors up to the caller
2018-06-01 22:15:23 +02:00
Alexander Neumann
d49ca42771
Merge pull request #1827 from restic/azure-large-files
...
azure: Support uploading large files
2018-06-01 18:37:26 +02:00
Alexander Neumann
f6fded729d
Add entry to changelog
2018-06-01 14:52:16 +02:00
Alexander Neumann
465700595c
azure: Support uploading large files
...
Closes #1822
2018-06-01 14:52:16 +02:00
Alexander Neumann
0fcd9d6926
Merge pull request #1824 from rfjakob/ssh_command_exited
...
sftp: persist "ssh command exited" error
2018-05-31 21:26:39 +02:00
Jakob Unterwurzacher
dd3b9910ee
sftp: persist "ssh command exited" error
...
If our ssh process has died, not only the next, but all subsequent
calls to clientError() should indicate the error.
restic output when the ssh process is killed with "kill -9":
Save(<data/afb68adbf9>) returned error, retrying after 253.661803ms: Write: failed to send packet header: write |1: file already closed
Save(<data/afb68adbf9>) returned error, retrying after 580.752212ms: ssh command exited: signal: killed
Save(<data/afb68adbf9>) returned error, retrying after 790.150468ms: ssh command exited: signal: killed
Save(<data/afb68adbf9>) returned error, retrying after 1.769595051s: ssh command exited: signal: killed
[...]
error in cleanup handler: ssh command exited: signal: killed
Before this patch:
Save(<data/de698d934f>) returned error, retrying after 252.84163ms: Write: failed to send packet header: write |1: file already closed
Save(<data/de698d934f>) returned error, retrying after 660.236963ms: OpenFile: failed to send packet header: write |1: file already closed
Save(<data/de698d934f>) returned error, retrying after 568.049909ms: OpenFile: failed to send packet header: write |1: file already closed
Save(<data/de698d934f>) returned error, retrying after 2.428813824s: OpenFile: failed to send packet header: write |1: file already closed
[...]
error in cleanup handler: failed to send packet header: write |1: file already closed
2018-05-30 19:28:14 +02:00
Alexander Neumann
185b60c22b
Document project governance
2018-05-28 22:29:06 +02:00
Michael Kötter
589c23dc23
#1795 use unix.IoctlGetWinsize to get terminal size
2018-05-27 23:44:48 +02:00
Alexander Neumann
0183fea926
Merge pull request #1820 from restic/fix-1803
...
termstatus: Fix panic for non-terminal runs
2018-05-27 13:08:25 +02:00
Alexander Neumann
7d9642523b
termstatus: Fix panic for non-terminal runs
...
Closes #1803
2018-05-27 12:52:01 +02:00
Alexander Neumann
4bf07a74a0
Merge pull request #1806 from mholt/patch-1
...
doc: Clarify multiple forget policies get ORed
2018-05-26 11:03:22 +02:00
Alexander Neumann
2a976d795f
b2: Remove extra error check
2018-05-26 10:12:30 +02:00
Alexander Neumann
1892b314f8
Merge pull request #1815 from restic/update-blazer
...
Update github.com/kurin/blazer
2018-05-25 20:46:35 +02:00
Alexander Neumann
b7bed406b9
Update github.com/kurin/blazer
2018-05-25 20:26:26 +02:00
Matt Holt
ee4202f7c3
doc: Clarify multiple forget policies get ORed
2018-05-23 17:28:02 -06:00
Alexander Neumann
4cd28713b6
Merge pull request #1802 from restic/rclone-add-limits
...
rclone: Add limiting bandwidth to the rclone backend
2018-05-22 21:19:52 +02:00
Alexander Neumann
e3fe87f269
Remove superseded feature from the CHANGELOG
...
For a discussion please see https://github.com/restic/restic/issues/1796
2018-05-22 20:57:07 +02:00
Alexander Neumann
a02698fcdd
Add entry to changelog
2018-05-22 20:48:29 +02:00
Alexander Neumann
bfd923e81e
rclone: Respect bandwith limits
2018-05-22 20:48:17 +02:00
Alexander Neumann
20bfed5985
Update build.go
2018-05-21 20:31:19 +02:00
Alexander Neumann
e40191942d
Add VERSION for 0.9.0
2018-05-21 15:57:32 +02:00
Alexander Neumann
abd34ab76f
Update manpages and auto-completion
2018-05-21 15:57:32 +02:00
Alexander Neumann
4b43a269ee
Generate CHANGELOG.md for 0.9.0
2018-05-21 15:57:22 +02:00
Alexander Neumann
e2b7dc6528
Move changelog files for the 0.9.0 release
2018-05-21 15:57:02 +02:00
Alexander Neumann
d2431b667f
Merge pull request #1794 from restic/fix-1789
...
Update docs, clarify --cacert
2018-05-21 12:35:06 +02:00
Alexander Neumann
b70fdf61c4
Merge pull request #1791 from restic/fix-1790
...
archiver: Fix backup from stdin
2018-05-21 12:07:55 +02:00
Alexander Neumann
e6f25c4811
Update docs, clarify --cacert
...
Closes #1789
2018-05-21 12:06:30 +02:00
Alexander Neumann
adb682bc43
archiver: Don't open files with O_NONBLOCK
...
This is not necessary any more, we're doing an lstat() before opening
an item, so we already known it's a file and not a pipe.
2018-05-20 16:11:51 +02:00
Alexander Neumann
1e9744c9a4
archiver: Refuse to save an empty snapshot
2018-05-20 16:11:51 +02:00
Alexander Neumann
9a02f17cc2
archiver: Add tests for Save() for fs.Reader
2018-05-20 16:11:36 +02:00
Alexander Neumann
c284712cae
Merge pull request #1784 from restic/improve-error-list
...
list: Improve error message
2018-05-18 21:53:09 +02:00
Alexander Neumann
2dbdf381b2
Merge pull request #1782 from skriss/add-s3-file-creds
...
Add S3 file creds and reorder creds chain
2018-05-18 21:52:54 +02:00
Alexander Neumann
a1a49ce211
Merge pull request #1787 from tyll/patch-1
...
Use more descriptive long option
2018-05-18 21:51:24 +02:00
Till Maas
3252e4200c
Use more descriptive long option
...
-r could also mean recursive so use --repo to be clear.
2018-05-18 19:25:56 +02:00
Alexander Neumann
8d9d218d1c
list: Improve error message
...
Before:
$ restic list
Fatal: type not specified
After:
$ restic list
Fatal: type not specified, usage: list [blobs|packs|index|snapshots|keys|locks]
Closes #1783
2018-05-17 19:41:56 +02:00
Steve Kriss
0785fbd418
changelog entry
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2018-05-17 10:09:38 -07:00
Steve Kriss
b358dd369b
S3: rearrange credentials chain to be standard
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2018-05-16 16:49:33 -07:00
Steve Kriss
d67b9a32c6
S3: add file credentials to chain
...
Signed-off-by: Steve Kriss <steve@heptio.com>
2018-05-16 16:35:14 -07:00
Alexander Neumann
ecfe59235e
Merge pull request #1781 from McKael/fix_restick_backup_rejectByDevice
...
Fix restic backup --one-file-system /
2018-05-16 21:58:58 +02:00
Mikael Berthe
a868a30f4d
Fix restic backup --one-file-system /
...
This patch should fix the following panic when trying to backup the
root filesystem with thre --one-file-system flag:
% restic backup --one-file-system /
(...)
panic: item /, device id 2082 not found, allowedDevs: map[/:2082]
2018-05-16 13:44:14 +02:00
Alexander Neumann
347a645450
Fix double error message
2018-05-15 11:03:33 +02:00
Alexander Neumann
9f5565b0fc
Merge pull request #1735 from mholt/forget-max-age
...
forget: Add --max-age policy to set hard cutoff for removing snapshots
2018-05-14 21:18:06 +02:00
Alexander Neumann
fd979ab4c5
Merge pull request #1779 from restic/improve-error
...
Improve error message for readdir/readdirnames
2018-05-14 21:17:57 +02:00