Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Product Lifecycle
  3. Free Tools
  4. Repository Backup Tool for use with Mercurial DVCS

Repository Backup Tool for use with Mercurial DVCS

Scheduled Pinned Locked Moved Free Tools
beta-testingtoolscollaborationarchitectureannouncement
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    nedmech
    wrote on last edited by
    #1

    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.

    W M 2 Replies Last reply
    0
    • N nedmech

      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.

      W Offline
      W Offline
      Wonde Tadesse
      wrote on last edited by
      #2

      :thumbsup:

      Wonde Tadesse MCTS

      1 Reply Last reply
      0
      • N nedmech

        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.

        M Offline
        M Offline
        Master Man1980
        wrote on last edited by
        #3

        good one.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups