Repository Backup Tool for use with Mercurial DVCS
-
I've recently been trying to bring my development department out of the last century of using tons of renamed folders and compressed archive files as version control into actually having a managed, legitimate Version Control System. Mercurial's Distributed architecture was a good fit for our group, so I've been working on various tools to make it easier to manage. One thing I was having a hard time finding was an automated tool to work in conjunction with backup software to be able to include the repositories in backups without having to make the backup software access the active repositories that could be getting accessed by users while the backup is trying to run. So I made my own tool. HgPreBackup [^] is a script application (written with AutoIt v3) that will search a specified folder for any repositories and then create backup clones of them in another folder that can then be used by the backup software. Subsequent executions of the script will pull in any changes since the clones were created instead of having to make new clones for every backup. It includes basic logging and the option to have the script email the log out if errors are encountered. It also has an option to purge backup repositories that no longer have a matching source repository. Further features may be implemented in the future depending on the demand. HgPreBackup [^] is hosted at BitBucket (https://bitbucket.org/nedmech/hgprebackup[^]) and is currently functional, but still in Beta (Version 0.1.1.0). Feel free to download it and give it a try if you have the need. Any feedback is appreciated. Edit: Updated version with addition of backup purge option.
-
I've recently been trying to bring my development department out of the last century of using tons of renamed folders and compressed archive files as version control into actually having a managed, legitimate Version Control System. Mercurial's Distributed architecture was a good fit for our group, so I've been working on various tools to make it easier to manage. One thing I was having a hard time finding was an automated tool to work in conjunction with backup software to be able to include the repositories in backups without having to make the backup software access the active repositories that could be getting accessed by users while the backup is trying to run. So I made my own tool. HgPreBackup [^] is a script application (written with AutoIt v3) that will search a specified folder for any repositories and then create backup clones of them in another folder that can then be used by the backup software. Subsequent executions of the script will pull in any changes since the clones were created instead of having to make new clones for every backup. It includes basic logging and the option to have the script email the log out if errors are encountered. It also has an option to purge backup repositories that no longer have a matching source repository. Further features may be implemented in the future depending on the demand. HgPreBackup [^] is hosted at BitBucket (https://bitbucket.org/nedmech/hgprebackup[^]) and is currently functional, but still in Beta (Version 0.1.1.0). Feel free to download it and give it a try if you have the need. Any feedback is appreciated. Edit: Updated version with addition of backup purge option.
:thumbsup:
Wonde Tadesse MCTS
-
I've recently been trying to bring my development department out of the last century of using tons of renamed folders and compressed archive files as version control into actually having a managed, legitimate Version Control System. Mercurial's Distributed architecture was a good fit for our group, so I've been working on various tools to make it easier to manage. One thing I was having a hard time finding was an automated tool to work in conjunction with backup software to be able to include the repositories in backups without having to make the backup software access the active repositories that could be getting accessed by users while the backup is trying to run. So I made my own tool. HgPreBackup [^] is a script application (written with AutoIt v3) that will search a specified folder for any repositories and then create backup clones of them in another folder that can then be used by the backup software. Subsequent executions of the script will pull in any changes since the clones were created instead of having to make new clones for every backup. It includes basic logging and the option to have the script email the log out if errors are encountered. It also has an option to purge backup repositories that no longer have a matching source repository. Further features may be implemented in the future depending on the demand. HgPreBackup [^] is hosted at BitBucket (https://bitbucket.org/nedmech/hgprebackup[^]) and is currently functional, but still in Beta (Version 0.1.1.0). Feel free to download it and give it a try if you have the need. Any feedback is appreciated. Edit: Updated version with addition of backup purge option.
good one.