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
| Andrew Morton | -mm merge plans for 2.6.23 |
| Greg Kroah-Hartman | [PATCH 006/196] Chinese: add translation of oops-tracing.txt |
| Greg KH | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Roland Dreier | Re: Integration of SCST in the mainstream Linux kernel |
git: | |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Linus Torvalds | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
| Herbert Xu | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
