Alexander Neumann
fb9729fdb9
sftp: Allow password entry
...
This was a bit tricky: We start the ssh binary, but we want it to ignore
SIGINT. In contrast, restic itself should process SIGINT and clean up
properly. Before, we used `setsid()` to give the ssh process its own
process group, but that means it cannot prompt the user for a password
because the tty is gone.
So, now we're passing in two functions that ignore SIGINT just before
the ssh process is started and re-install it after start.
2017-09-23 11:43:33 +02:00
Alexander Neumann
45a09c76ff
Allow suspending SIGINT handler
2017-09-23 11:12:56 +02:00
Alexander Neumann
8f9bf1995b
Merge pull request #1265 from restic/improve-packers
...
Improve packers, prepare for cache
2017-09-22 16:16:10 +02:00
Alexander Neumann
e7de3b5f9d
Merge pull request #1266 from JaCoB1123/document_hostname_option
...
Add note about rescan to hostname flag (fixes #1221 )
2017-09-22 15:40:24 +02:00
Alexander Neumann
3541d06d07
repo: Split packers for tree and data
...
The code now bundles tree blobs and data blobs into different pack
files, so we'll end up with pack files that either only contain data or
trees. This is in preparation to adding a cache (#1040 ), because
tree-only pack files can easily be cached later on.
2017-09-22 15:36:47 +02:00
Alexander Neumann
db0e3cd772
repo: Remove packer limits
...
This commit simplifies finding a packer: The first open packer is taken,
and the upper limit for the pack file is removed.
2017-09-22 15:36:47 +02:00
Alexander Neumann
d3fee08f9a
Merge pull request #1263 from restic/cleanups
...
Small cleanups
2017-09-22 15:36:13 +02:00
Jan Bader
727fb6eabe
Add note about rescan to hostname flag ( fixes #1221 )
2017-09-22 14:29:04 +02:00
Alexander Neumann
d610c60991
repo: Remove unused sync.Pool
2017-09-22 12:37:10 +02:00
Alexander Neumann
3f6e11d26e
Allow sorting nodes in trees
2017-09-22 12:37:05 +02:00
Alexander Neumann
a4577769ae
Merge pull request #1262 from mafgh/bytes
...
fix duplicate bytes in prune output
2017-09-22 11:59:10 +02:00
Stefan Völkel
7f927d4774
fix duplicate bytes in prune output
2017-09-22 10:07:24 +02:00
Alexander Neumann
e091673f8f
Merge pull request #1258 from restic/sftp-remove-stat
...
local/sftp: Remove unneeded stat() call
2017-09-21 22:37:12 +02:00
Alexander Neumann
9842eff887
local/sftp: Remove unneeded stat() call
2017-09-21 21:47:03 +02:00
Alexander Neumann
c40b3d3983
Add entry to CHANGELOG
2017-09-21 20:34:17 +02:00
Alexander Neumann
ac5eefdee4
Merge pull request #1249 from mungomat/fuse_symlink
...
fuse: added symlink 'latest' to snapshots-dir
2017-09-21 20:33:10 +02:00
Alexander Neumann
bf508643a5
Merge pull request #1257 from restic/update-deps
...
Update vendored dependencies
2017-09-21 20:19:25 +02:00
Alexander Neumann
02fc16e97d
Update vendored dependencies
2017-09-21 17:48:45 +02:00
Tobias Klein
1a83a739dc
fuse: added symlink 'latest' to snapshots-dir
2017-09-21 16:41:20 +02:00
Alexander Neumann
81473f4538
Add VERSION file for 0.7.3
2017-09-20 20:50:07 +02:00
Alexander Neumann
e1a847e4d1
Add new version to CHANGELOG
2017-09-20 20:49:55 +02:00
Alexander Neumann
0f426c3795
Merge pull request #1254 from jniggemann/doc_metadata
...
documents metadata handling, fixes #647
2017-09-20 20:24:57 +02:00
Alexander Neumann
6df3d169b8
Add entry to CHANGELOG
2017-09-20 11:05:35 +02:00
Alexander Neumann
5479daa6d4
Merge pull request #1247 from restic/fix-1246
...
Fix backend List()
2017-09-20 11:04:05 +02:00
Jan Niggemann
397fec0152
documents metadata handling, fixes #647
2017-09-19 15:49:54 +02:00
Alexander Neumann
d7e644272f
prune: Add plausibility check
2017-09-19 10:50:07 +02:00
Alexander Neumann
e91749bbb0
Merge pull request #1245 from anarcat/faq
...
add explanation of restic automation
2017-09-19 10:46:55 +02:00
Antoine Beaupré
bcd1e45ba7
fix typo, add note about file permissions
2017-09-18 08:55:18 -04:00
Alexander Neumann
4c6b626db6
backend: Improve TestList
2017-09-18 13:18:42 +02:00
Alexander Neumann
835ba16c27
b2: Add pagination for List()
2017-09-18 12:13:35 +02:00
Alexander Neumann
3b6a580b32
backend: Make pagination for List configurable
2017-09-18 12:01:54 +02:00
Alexander Neumann
01c486d486
Merge pull request #1250 from dvrkps/patch-1
...
travis: update go versions
2017-09-17 20:59:35 +02:00
Alexander Neumann
6342a08a16
Merge pull request #1248 from mungomat/fuse_typo
...
fuse: typo
2017-09-17 20:57:42 +02:00
Davor Kapsa
94c8ee11f8
travis: update go versions
2017-09-17 19:02:22 +02:00
Tobias Klein
9b38980ed9
fuse: typo
2017-09-17 17:39:28 +02:00
Alexander Neumann
649c536250
backend: Improve test for pagination in list
2017-09-17 11:36:45 +02:00
Alexander Neumann
dd49e2b12d
Azure: Fix List(), use pagination marker
2017-09-17 11:32:05 +02:00
Alexander Neumann
f61dab1774
backend: Add test for List()
2017-09-17 11:09:16 +02:00
Alexander Neumann
40edf00182
gs: implement pagination
2017-09-17 11:08:51 +02:00
Alexander Neumann
c35518a865
Azure/GS: Remove ReadDir()
2017-09-17 11:05:30 +02:00
Antoine Beaupré
7a0b4428e3
add explanation of restic automation
...
every time i look at restic, i block on this and figured it may be useful for others
2017-09-16 10:17:36 -04:00
Alexander Neumann
c784a15aaa
Merge pull request #1244 from restic/fix-swift-backend-tests
...
Ignore "not exist" errors for swift backend tests
2017-09-16 14:54:32 +02:00
Alexander Neumann
ce180de9b8
Merge pull request #1243 from restic/improve-error-reporting
...
Improve error reporting
2017-09-16 14:54:30 +02:00
Alexander Neumann
fca9a523e9
Merge pull request #1241 from restic/fix-timestamp-check
...
Use .Equal() instead of == for time.Time
2017-09-16 14:54:26 +02:00
Alexander Neumann
8a3889be11
Merge pull request #1240 from restic/config-autocomplete-dir
...
Correct bash completion file path
2017-09-16 14:54:20 +02:00
Alexander Neumann
2a1633621b
Ignore "not exist" errors for swift backend tests
2017-09-16 13:59:55 +02:00
Alexander Neumann
e2deeceb1b
Update manpage
2017-09-16 11:29:37 +02:00
Alexander Neumann
d4e994de7b
Improve error reporting
...
This will print the error (including a stack trace) if available before
exiting.
2017-09-16 10:55:13 +02:00
Alexander Neumann
a60e751217
Use .Equal() instead of == for time.Time
...
Closes #1238
2017-09-15 20:57:35 +02:00
Alexander Neumann
81c5d8a968
Correct bash completion file path
2017-09-15 20:45:16 +02:00