next up previous contents
Next: FSFS or BDB Up: Creating and accessing a Previous: Creating and accessing a   Contents

Creating the repository

In order to create a repository on a given machine, we must have access to its command shell, i.e. either a physical access, or remote access (SSH is best). The simplest syntax of the command that creates a repository is

# svnadmin create <repo_path>

It creates an empty repository in the path specifies by repo_path. Subversion has two types of backend for the repository: BerkleyDB and FSFS. In the first one an embedded Berkley DB database stores the versioned data; in the second the data is stored in flat files using a custom format. As of Subversion 1.2 the default type is FSFS and the type can be changed using -fs-type:

# svnadmin create --fs-type bdb <repo_path>



Subsections

Ivan Ivanov 2008-04-21