Subversion: dump backup, do I need incremental backups?
I'm a subversion noob. I was plannig to take backups from the repo using this command:
svnadmin dump C:\Repositories\Dev > D:\backups\repo_dev.bak
My intention is to put this into Scheduled Task (Windows Server 2008) and run this on daily or weekly basi开发者_开发知识库s. Can I use this command only (old backup is replaced by the new one) or do I need incremental backups separately? Or hotcopy backups?
You can do either a full dump or an incremental. The chief problem with an incremental is that several backups are needed to reconstruct the data. A full dump is a stand alone all-inclusive data set.
Which one you choose depends on several factors:
- how big the dumps are
- how fast the repository changes
- how reliable the repository storage system is
- availability requirement for the system during backup
- how long an outage is tolerable in case the repository dies
- how conscientiously the backups are done
- probably several other factors (it's late)
精彩评论