{"thread":{"id":"9943","subject":"Repository backups","startedAt":"2007-09-19T15:14:43Z","lastAt":"2007-09-19T15:27:53Z","messageCount":2,"participants":["Jason Sewall","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"53583","messageId":"31e9dd080709190814t6ef8b725w8a8320685e70578b@mail.gmail.com","threadId":"9943","inReplyTo":null,"subject":"Repository backups","fromName":"Jason Sewall","fromEmail":"jasonsewall@gmail.com","sentAt":"2007-09-19T15:14:43Z","receivedAt":"2007-09-19T15:14:43Z","isPatch":false,"sender":{"key":"jasonsewall@gmail.com","avatar":null},"body":"I'd like to build a modest safety net for my various git repositories\nin case of catastrophic failure. Currently, everything is backed up on\nmachines in the same building. I'm not expecting the Computer Science\nbuilding to get hit by terrorists and we're in a seismically stable\nplace, but there *is* construction nearby...\n\nAnyway, my university offers a \"mass storage\" tape-based service that\nis supposedly very safe. We are encouraged to give them single big\nfiles for backups.\n\nThe temptation to just make bundles of all branch heads is great but\nprobably not what I really want - things like reflogs don't get handed\noff with those, if I understand correctly.\n\nIs there any argument against just making a tar of a bare clone of the\nrepo? Any other ideas? I'm reluctant to actually clone into the tape\n(SAM-FS, which I know nothing about) because of the number of files it\nwould create and the lack of git tools on the machines with access to\nthis machine.\n\nThanks,\nJason\n"},{"id":"53584","messageId":"Pine.LNX.4.64.0709191627040.28395@racer.site","threadId":"9943","inReplyTo":"31e9dd080709190814t6ef8b725w8a8320685e70578b@mail.gmail.com","subject":"Re: Repository backups","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2007-09-19T15:27:53Z","receivedAt":"2007-09-19T15:27:53Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Wed, 19 Sep 2007, Jason Sewall wrote:\n\n> I'd like to build a modest safety net for my various git repositories\n> in case of catastrophic failure. Currently, everything is backed up on\n> machines in the same building. I'm not expecting the Computer Science\n> building to get hit by terrorists and we're in a seismically stable\n> place, but there *is* construction nearby...\n> \n> Anyway, my university offers a \"mass storage\" tape-based service that\n> is supposedly very safe. We are encouraged to give them single big\n> files for backups.\n> \n> The temptation to just make bundles of all branch heads is great but\n> probably not what I really want - things like reflogs don't get handed\n> off with those, if I understand correctly.\n> \n> Is there any argument against just making a tar of a bare clone of the\n> repo?\n\nIf you make a bare clone, you lose reflogs, too.\n\nSo I would backup the complete .git/ directory instead.\n\nHth,\nDscho\n"}]}