diff options
author | 2015-05-08 15:22:53 +0000 | |
---|---|---|
committer | 2015-05-08 15:22:53 +0000 | |
commit | 939d11e31af17cc8657c446263a46c81627c1ed1 (patch) | |
tree | 8543f08a4a16602f0a88ca9d63d407a505c5b6d7 /doc | |
parent | 3582047f7577713970122ddfdb22e3e506fd25b0 (diff) |
Diffstat (limited to 'doc')
-rw-r--r-- | doc/forum/Using_a_glacier_remote_as_a_backup.mdwn | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/forum/Using_a_glacier_remote_as_a_backup.mdwn b/doc/forum/Using_a_glacier_remote_as_a_backup.mdwn new file mode 100644 index 000000000..2baaa7f91 --- /dev/null +++ b/doc/forum/Using_a_glacier_remote_as_a_backup.mdwn @@ -0,0 +1,28 @@ +Hallo everybody, + +I have an ARM based Synology NAS and I would like to use git annex to replace the "backup" solution provided by Synology. The basic idea is that I want files in a safe place when the house burns down or they get removed by accident. + +Since I only care about the latest version and want to make really sure local programs (cifs service, photostation and so on) do not run into trouble caused by symlinks, I guess direct mode is what I want. I have been tinkering around and things seem to be working for the most part. A few questions remain: + +Assuming I have all files synced to glacier and then accidentally remove all content and try to recover with the bare repo - with metadata but without content. the situation looks like this. + + ➜ syno-archive git:(annex/direct/master) git annex status test.txt + D test.txt + ➜ syno-archive git:(annex/direct/master) + +I try to get my files back out of glacier: + + ➜ syno-archive git:(annex/direct/master) git annex get test.txt + get test.txt (from glacier...) + ok + (Recording state in git...) + ➜ syno-archive git:(annex/direct/master) + +Contrary to my expectation, text.txt did not appear on disk. + +Given the bare repo, you would one recover all content (thousands of files)? I expected "git annex get --all" to do the trick. + +PS: This is from git-annex version 5.20141125 + +regards +Andreas |