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

Recent Discussions

12 Jan, 2023 12:25 PM
10 Jan, 2023 04:49 PM
03 Aug, 2022 01:49 PM
05 Jul, 2022 07:01 PM
28 Mar, 2022 04:42 PM

 

21 Jan, 2022 10:43 AM
20 Jan, 2022 10:45 AM
18 Jan, 2022 10:15 AM
19 Mar, 2021 06:13 PM
01 Mar, 2021 02:51 PM
01 Jan, 2021 02:19 AM