No matter how experienced you are with Apache Subversion, accidents and unavoidable occurrences happen, so it’s important to make repository data backups. If you’re using SmartSVN, the cross-platform graphical client for Subversion, the built-in ‘Export Backup’ functionality makes it quick and easy to create a backup of a selected file/directory.
To backup your data in SmartSVN:
1) Highlight the file(s)/directory to backup, and select the ‘Export’ option from SmartSVN’s ‘Query’ menu.
2) In the subsequent ‘Export Backup’ dialog, you’ll be presented with several options:
‘Relative To’ – the common root of all files to be exported
Into zip-file/Into directory – select how you want to export your data. In both cases, you must specify the location where the backup will be created
Include Ignored Files – files marked as ‘ignored’ will not be included in the backup
Include Ignored Directories – note, this option includes all the items in the ignored directories
- Wipe directory before copying – wipe the selected directory before performing your backup
Depending on the selection of files or directories, the ‘Export’ option will either display the number of files being exported or a ‘All files and directories’ message.
3) Once you are satisfied with the information you have entered, click ‘Export’ to create your backup.