Backup of Repositories

Devender Verma's Avatar

Devender Verma

04 Oct, 2013 11:58 AM

Hello,

I'm looking to use HgLab for Mercurial server. It's looking a good tool. I'm trying to find out how to take backup of projects and repositories so that committed code can be recovered and ported over to other servers if required. Please suggest on this.

Thanks,

Devender

  1. Support Staff 1 Posted by Anton Gogolev on 07 Oct, 2013 06:50 AM

    Anton Gogolev's Avatar

    Devender,

    Currently, HgLab has no built-in feature for backing itself up. I'm
    planning on adding support for backups to S3 or any other location for the
    upcoming versions.

    To perform a backup, you'll need to first back up HgLab database (that's
    done using standard SQL Server tools;
    http://technet.microsoft.com/en-us/library/ms187510(v=sql.100).aspx ).
    Next, you'll have to stop the HgLab web application to ensure that nobody's
    running any write operations to the repositories and either back up each
    repository separately ( http://mercurial.selenic.com/wiki/BackUp ) or just
    back up the entire Home Directory.

  2. 2 Posted by Devender Verma on 07 Oct, 2013 06:56 AM

    Devender Verma's Avatar

    Thanks Anton for this information!

     

    Devender

  3. Anton Gogolev closed this discussion on 08 Oct, 2013 01:26 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac