SVN for backsups? keeping only 30 days of incrementals

tim594
tim594
I want to use SVN to backup my servers.  The problem is, normally I only want 30 days of revisions, not revisions forever, like svn normally does.    This guy says he has successfully trimmed a repository: http://www.svnforum.org/2017/viewtopic.php?p=15740#15740    Anybody know anything about this?    Ideally I would like a script to run every month, that would trim out my repository so that only the last 30 days of revisions are stored.  Is this safe?    Another option would be to create a new repo every 15 days, and delete all old repos that are older then 30 days, thereby flip flopping back and forth to new repos every 15 days.    Any other ideas?

Last updated

andyl
andyl
Read up on how Apple implemented Time Machine's backup strategy/process (hardlinks, hourly incrementals, dropping hourly, then daily incrementals over time). It's almost exactly what you're looking for, and isn't anything you couldn't script yourself.
ScottDF
ScottDF
As andyl said in a different post, Subversion isn't a backup tool, and although it can be leveraged to work as one, a true backup tool is still a better choice for backups. SyncBackSE for example, does what you are looking for with XX incremental backups stored.

1-3 of 3

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.