Backing up the Git or SVN repository - 6.5

Talend MDM Platform Migration Guide

EnrichVersion
6.5
EnrichProdName
Talend MDM Platform
task
Installation and Upgrade
EnrichPlatform
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend ESB
Talend Identity and Access Management
Talend JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio

After you backed up the administration database, you need to back up the SVN repository where all projects items and metadata are stored.

If you are using Git, you need to duplicate the old repository and connect this to a new repository in Git. For more information, see Github's documentation: https://help.github.com/articles/duplicating-a-repository/.

Warning: If you are using Git or SVN, after connecting your new Talend Studio to repositories from your old Talend environment, you will not be able to access these repositories from the old Talend Studio versions.

Procedure

  1. Execute locally the following command on the machine hosting the SVN repository, using the svnadmin dump command:
    $> svnadmin dump /talend/svn/repotis > svn_repotis.dump
    where /talend/svn/repotis is the path on the hard drive where the repository is stored and > is the copy command into a dump file.
  2. If you need to restore your SVN repository, shut down the subversion daemon and delete the /talend/svn/repotis repository.
  3. Create again the repository from the backup file, using this command:
    $> mkdir /talend/svn
    $> svnadmin create /talend/svn/repotis
    $> svnadmin load /talend/svn/repotis < svn_repotis.dump
    where /talend/svn/repotis and svn_repotis.dump are the respective path and name used to store the dump file you created.
    Warning: Beware that only the repository is restored, not the users.