Steven Grimm <koreth@midwinter.com> writes:Why not use N independent branches? I'd illustrate only with two levels below, but you could: (0) make a full tree snapshot. Store the commit in 'daily' branch as its tip. (1) A new day comes. Create an empty branch 'daily' if you do not already have one. Make a full tree snapshot, and create a parentless commit for the day if the 'daily' branch did not exist, or make it a child of the 'daily' commit from the previous day if the branch existed. (2) End of week comes. Create an empty branch 'weekly' if you do not already have one. Make a full tree snapshot, and create a parentless commit for the week if the 'weekly' branch did not exist, or make it a child of the 'weekly' commit from the last week. Discard 'lastweek' branch if you have one, and rename 'daily' branch to 'lastweek'. At the end of month, you can rename 'weekly' to 'lastmonth'; if you discard previous 'lastmonth' at this point, you essentially made files older than two months drop off the backup disk. You can add more hierarchy with longer period to extend the scheme ad infinitum. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| Arjan van de Ven | [patch] Add basic sanity checks to the syscall execution patch |
| Andi Kleen | [PATCH CPA] [1/28] Shrink __PAGE_KERNEL/__PAGE_KERNEL_EXEC on non PAE kernels |
| Alex Dubov | Re: [2.6.20] tifm_7xx1/mmc not working |
| Jared Hulbert | [PATCH 00/10] AXFS: Advanced XIP filesystem |
git: | |
| Junio C Hamano | More precise tag following |
| walt | git versus CVS (versus bk) |
| Stephen R. van den Berg | RFC: grafts generalised |
| Pierre Habouzit | [PATCH 1/2] Add strbuf_cmp. |
| Richard Stallman | Real men don't attack straw men |
| K K | Re: No Blob without Puffy |
| Stephan A. Rickauer | Re: Net-SNMP segfaults under OpenBSD 4.3 |
| Brian A. Seklecki | sshd_config(5) PermitRootLogin yes |
| Jim Winstead Jr. | Re: Root Disk/Book Disk Compatibility |
| Howard Wei-Hao Pan | [Q] Does Linux work with PCMCIA devices? |
| Curtis Yarvin | Re: Problem with UNCOMPRESS |
| Ross Sponholtz | Re: S3 |
