I currently keep an SQL Dump of my db with each commit. However, the whole dump is stored each time, and is taking up a lot of space. Is there any way to set it so that subversion only keeps the last, say, 5 commits of the .sql file?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Subversion isn’t really designed to “forget” history. Even the procedure for getting rid of any traces of a file in a Subversion repository is generally to svndump the entire thing and then run it through a filter while re-importing it to a new repo.
You’re probably best off (if you can’t stand the space usage) just keeping DB backups somewhere else, outside of version control.