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
| H. Peter Anvin | Re: [RFC 00/15] x86_64: Optimize percpu accesses |
| Linus Torvalds | Linux 2.6.27-rc5 |
| Ingo Molnar | [announce] "kill the Big Kernel Lock (BKL)" tree |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Ben Hutchings | Re: [GIT]: Networking |
| Jarek Poplawski | [PATCH iproute2] Re: HTB accuracy for high speed |
