I created an "full archive" repo on my local pc and an encrypted "full backup" repo on Box.com. I 'm copying files on the local repo and they are getting encrypted and uploaded to Box. Superb so far
What I am wondering though is, suppose my local pc dies. How do I get the data out of Box unencrypted from a new pc?
Thank you Hamza!
I 'm new on git, so please excuse my trivial questions:
a) I am using the git-annex assistant, is it something I can do from there or is it command line only? I googled a bit and from what I can tell, I should make a directory on the usb drive, go there and do
Would that be correct?
b) Assuming I 've done it correctly, then I put the USB on a drawer and leave it there for a month. In the meantime, I 've been using the repo on my pc and more files have been archived encrypted on Box.com. Then my local pc dies. When I plug the usb on the new pc, will I be able to recover all the encrypted files, or only those up to 1 month ago?
c) What is the proper process to use the cloned repo on a new pc? Plug the usb drive, open the git-annex assistant and go through the "create new repo" but use the path for the existing repo on the usb? Then add another repo from Box (with the same account and the same directory there? Would that work?
Thank you for your time & knowledge!
I do not use the assistant I prefer command line but try adding an USB drive (last I used it it had the option) It should do the clone and init it check the resulting folder if it contains a .git/ folder you have a clone of your git repo.
a) For manual cloning follow http://git-annex.branchable.com/walkthrough/adding_a_remote/
b) you need to keep syncing to the clone too. asistant should automatically sync to that repo. AFAIK asisstant detects when the usb repo is plugged and automatically syncs to it (again I do not use it but I seem to remember one of joey's talks showing that. YMMV)
If you lose all your repos then you lose the keys to un encrypt files they are gone!, if you have a outdated repo you can get the files back using the key stored in it but without the directory structure.
Correct workflow depends on how you use annex. I sync 3 computers with annex so if one dies I can clone the repo from another one. But if you are only using it on a single computer I would use a clone on an external usb drive that is always connected, so you have two clones one on the internal disk and one on the external disk so you can survive one of the drives crashing.
Other good options to supplement an offline backup drive: