{"thread":{"id":"11005","subject":"Backing git repos to tape?","startedAt":"2007-11-25T10:58:41Z","lastAt":"2007-11-25T12:00:06Z","messageCount":3,"participants":["Joakim Tjernlund","Jakub Narebski"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"60828","messageId":"027601c82f52$2433fdf0$5267a8c0@Jocke","threadId":"11005","inReplyTo":null,"subject":"Backing git repos to tape?","fromName":"Joakim Tjernlund","fromEmail":"joakim.tjernlund@transmode.se","sentAt":"2007-11-25T10:58:41Z","receivedAt":"2007-11-25T10:58:41Z","isPatch":false,"sender":{"key":"joakim.tjernlund@transmode.se","avatar":null},"body":"Is there a preferred way to do the above?\n\nTo do a full backup I could just copy the whole repo, but how\ndo I do inrecmental backups(and restore)?\n\n Jocke \n"},{"id":"60829","messageId":"fibkt4$q6g$1@ger.gmane.org","threadId":"11005","inReplyTo":"027601c82f52$2433fdf0$5267a8c0@Jocke","subject":"Re: Backing git repos to tape?","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-11-25T11:05:08Z","receivedAt":"2007-11-25T11:05:08Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"[Cc: Joakim Tjernlund <joakim.tjernlund@transmode.se>, git@vger.kernel.org]\n\nJoakim Tjernlund wrote:\n\n> Is there a preferred way to do the above?\n> \n> To do a full backup I could just copy the whole repo, but how\n> do I do inrecmental backups(and restore)?\n\nTry git-bundle. There were in the mailing list archive the recipe\non how to do an \"incremental\" bundle...\n\n...ahh, there it is, by Johannes \"Dscho\" Schindelin:\n\n        git bundle create retort.bundle --all \\\n                --not $(git ls-remote the-other.bundle | cut -c1-40)\n\nMessage-ID: <Pine.LNX.4.64.0711231132120.27959@racer.site>\n\n-- \nJakub Narebski\nWarsaw, Poland\nShadeHawk on #git\n"},{"id":"60830","messageId":"200711251300.06575.jnareb@gmail.com","threadId":"11005","inReplyTo":"028101c82f58$0e26f200$5267a8c0@Jocke","subject":"Re: Backing git repos to tape?","fromName":"Jakub Narebski","fromEmail":"jnareb@gmail.com","sentAt":"2007-11-25T12:00:06Z","receivedAt":"2007-11-25T12:00:06Z","isPatch":false,"sender":{"key":"jnareb@gmail.com","avatar":"https://avatars.githubusercontent.com/u/2706?v=4"},"body":"On Sun, 25 Nov 2007, Joakim Tjernlund wrote:\n> Joakim Tjernlund wrote: \n>> Jakub Narebski wrote:\n>>> Joakim Tjernlund wrote:\n>>> \n>>>> Is there a preferred way to do the above?\n>>>> \n>>>> To do a full backup I could just copy the whole repo, but how\n>>>> do I do inrecmental backups(and restore)?\n>>> \n>>> Try git-bundle. There were in the mailing list archive the recipe\n>>> on how to do an \"incremental\" bundle...\n>>> \n>>> ..ahh, there it is, by Johannes \"Dscho\" Schindelin:\n>>> \n>>>         git bundle create retort.bundle --all \\\n>>>                 --not $(git ls-remote the-other.bundle | cut -c1-40)\n>> \n>> Thanks, will look into git bundle\n\nPlease note however thatgit-bundle was created for easy and efficient\noff-line (sneakernet) transport, not for backups of repositories.\n\nNevertheless it might be a good tool to use.\n \n> Just did a\n>   git ls-remote ./.\n> in my linux repo and got a lot of ^{} in the printout.\n> What do the ^{} mean?\n>  \n> ...\n> 0b8bc8b91cf6befea20fe78b90367ca7b61cfa0d        refs/tags/v2.6.23\n> 7d57c74238cdf570bca20b711b2c0b31a553c1e5        refs/tags/v2.6.23-rc1\n> f695baf2df9e0413d3521661070103711545207a        refs/tags/v2.6.23-rc1^{}\n[...]\n\n----\ngit-rev-parse(1):\n\nSPECIFYING REVISIONS\n--------------------\n\nA revision parameter typically, but not necessarily, names a\ncommit object.  They use what is called an 'extended SHA1'\nsyntax.  Here are various ways to spell object names.\n\n[...]\n\n* A suffix '^' followed by an empty brace pair\n  (e.g. `v0.99.8^{}`) means the object could be a tag,\n  and dereference the tag recursively until a non-tag object is\n  found.\n\n----\n\nrefs/tags/v2.6.23-rc1 is a ref which points to a _tag object_ 7d57c742...,\nwhich in turn points to commit f695baf2...\n\n-- \nJakub Narebski\nPoland\n"}]}