8

How do I load a dump file into my Subversion repository?

 3 years ago
source link: https://help.dreamhost.com/hc/en-us/articles/215465978-How-do-I-load-a-dump-file-into-my-Subversion-repository-
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How do I load a dump file into my Subversion repository?

Subversion has been removed from the DreamHost panel. If you had previously configured Subversion on your domain, it will continue to function normally.

Overview

If you have an SVN repository that you wish to migrate to a new server, you should first create a dump file. Once that is created, proceed with the steps below to import it into your new repository on your new server.

The commands below assume that the SVN repo you previously backed up is named dumpfile.gz. The file path for the svnadmin load command assumes that your new SVN repository is in the /home/username/svn/ directory on your new server and that it's named New_Repo.

Loading the file

  1. Locate the backed up SVN repository you had previously created a dump file for.
  2. Upload dumpfile.gz to your new server in the user's home directory via FTP.
  3. Run the following to decompress the file, while importing it into your new repository:
    [server]$ gunzip -c dumpfile.gz | svnadmin load ~/svn/New_Repo

See also

Did this article answer your questions?


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK