2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-16 01:57:10 +00:00
Commit Graph

891 Commits

Author SHA1 Message Date
Alexander Neumann
f5537e7a0e Refactor configuration of cache dir and repository 2015-06-07 18:15:03 +02:00
Alexander Neumann
848793df84 Remove unused file 2015-06-07 18:13:22 +02:00
Alexander Neumann
8eec59ebb2 Merge pull request #194 from restic/fix-orphaned-check
Fix fsck orphaned check, add debug command 'dump', cleanup
2015-05-28 21:40:23 +02:00
Alexander Neumann
219f857c67 travis: Skip join/part for emitting messages 2015-05-18 00:02:51 +02:00
Alexander Neumann
0314d2b0c3 fsck: Fix check for orphaned blobs 2015-05-17 23:41:53 +02:00
Alexander Neumann
df1e3e03e9 Add 'dump' command
'dump' writes internal data structes pretty-printed as JSON to stdout.
This was done to debug fsck error messages.

In contrast to the 'cat' command, this one prints the data structures as
there are interpreted by restic, not as they are stored in the
repository. This means that only the merged index from all the index
files is printed out.

This is meant for debugging only, it's compiled only when the "debug"
tag is active.
2015-05-17 23:15:08 +02:00
Alexander Neumann
65c3aead3e Add index.Dump() 2015-05-17 20:58:22 +02:00
Alexander Neumann
f773feeb04 Remove Repository.Close() and .Location() 2015-05-17 20:58:22 +02:00
Alexander Neumann
af381c2ab0 Remove Repository.Remove() 2015-05-17 20:58:22 +02:00
Alexander Neumann
eb6dfcf58c Remove Repository.Test() 2015-05-17 20:58:22 +02:00
Alexander Neumann
6e38a8a033 Move FindSnapshot, make Repository.List() return IDs 2015-05-17 20:58:22 +02:00
Alexander Neumann
cf37b619fd Merge pull request #191 from restic/fix-189
Fix restoring symlink timestamps for linux
2015-05-17 14:26:54 +02:00
Alexander Neumann
14a3ed4e9d Move error annotation for symlink timestamp restore 2015-05-16 13:25:10 +02:00
Alexander Neumann
70f92433c3 Merge pull request #192 from restic/fix-linux-i386
Fix restic on i386
2015-05-16 13:20:10 +02:00
Alexander Neumann
eee93e9125 travis: Run tests for 386 and amd64 2015-05-14 23:20:12 +02:00
Alexander Neumann
d42242556b Fix restic for i386
Some functions aren't implemented on Linux/i386, e.g. user.LookupId()
and user.Current(), so ignore these errors.
2015-05-14 23:16:35 +02:00
Alexander Neumann
44219c5afe node/Linux: Implement setting timestamps for symlinks 2015-05-14 23:06:11 +02:00
Alexander Neumann
af06376b5b Add tests for node.CreateAt() 2015-05-14 22:04:55 +02:00
Alexander Neumann
4e5094b7c9 Fix loading config on sftp backend 2015-05-14 18:08:45 +02:00
Alexander Neumann
3517229844 Merge pull request #186 from restic/directory_modtime
Fix ModTime for directories
2015-05-14 16:10:31 +02:00
Alexander Neumann
1fb8e332ce Restore timestamps for directories earlier 2015-05-14 15:58:26 +02:00
Alexander Neumann
aa5fd9e9bc Remove execute bit from node.go 2015-05-14 15:53:49 +02:00
Alexander Neumann
6bab4a8eda Merge pull request #188 from restic/fix-185
Fix #185
2015-05-14 11:23:29 +02:00
Alexander Neumann
3ace557dbe Makefile: Add dependency on all Go source code 2015-05-14 11:11:30 +02:00
Alexander Neumann
e1098eedac Fix make -B (force rebuild) 2015-05-14 11:10:01 +02:00
Florian Weingarten
bace4607bf Fix ModTime for directories 2015-05-13 23:11:31 -04:00
Alexander Neumann
396a69886c README: Fix indent 2015-05-12 21:36:54 +02:00
Alexander Neumann
2a5bbe2b02 Merge pull request #183 from restic/fix-documentation
Fix compiling instructions
2015-05-12 21:23:28 +02:00
Alexander Neumann
2d0fc294b7 Fix compiling instructions 2015-05-12 21:22:52 +02:00
Alexander Neumann
0bb43fa0af Merge pull request #181 from restic/compile-from-checkout
Vendor using godep, allow compiling from checkout
2015-05-12 21:08:42 +02:00
Alexander Neumann
8c684f91a3 travis/Makefile: output debug information 2015-05-11 22:18:28 +02:00
Alexander Neumann
aebfaec9c7 Add integration tests 2015-05-11 21:09:32 +02:00
Alexander Neumann
61f8169fa0 Makefile: Fix bench 2015-05-11 18:26:56 +02:00
Alexander Neumann
506bf61f32 travis: Fix env variables 2015-05-10 23:30:26 +02:00
Alexander Neumann
54793e9233 travis: Configure gox OS for cross-compilation 2015-05-10 23:19:46 +02:00
Alexander Neumann
b7e1d2788b Makefile: Split out coverage into a shell script 2015-05-10 23:04:02 +02:00
Alexander Neumann
be8064cd97 Makefile: Add missing dependencies 2015-05-10 22:49:01 +02:00
Alexander Neumann
fdac4655c6 Integrate travis 2015-05-10 22:47:01 +02:00
Alexander Neumann
5f13e199c6 vendor everything 2015-05-10 22:46:32 +02:00
Alexander Neumann
7a32a6b389 Merge pull request #180 from restic/rename-repo-repository
Change repository name again
2015-05-10 00:04:35 +02:00
Alexander Neumann
95536e8a21 Rename 'Repo' -> 'Repository' 2015-05-09 23:59:58 +02:00
Alexander Neumann
232c472836 Move package 'repo' to package 'repository' 2015-05-09 23:52:03 +02:00
Alexander Neumann
b2dcdf00e3 Merge pull request #178 from restic/refactor-server
Rename Server -> Repository
2015-05-09 22:59:02 +02:00
Alexander Neumann
ae21938f3e Rename 'Repository' -> Repo 2015-05-09 17:41:28 +02:00
Alexander Neumann
c814706bb1 Correct typos found by @fw42 2015-05-09 17:20:18 +02:00
Alexander Neumann
cbc61fffe8 Set test password to geheim instead of the empty string 2015-05-09 14:45:09 +02:00
Alexander Neumann
cd4c56b927 wip 2015-05-09 13:54:47 +02:00
Alexander Neumann
5fc1583acc Fix comments 2015-05-09 13:47:23 +02:00
Alexander Neumann
d9b5832034 Rename variables 2015-05-09 13:47:21 +02:00
Alexander Neumann
7ec674f3e8 Move repo/server.go -> repo/repository.go 2015-05-09 13:46:54 +02:00