Subversion (Linux): Unterschied zwischen den Versionen

Aus Tutorials
Zur Navigation springen Zur Suche springen
Zeile 20: Zeile 20:
<pre>
<pre>
sudo svnadmin create /home/svn/<repository>
sudo svnadmin create /home/svn/<repository>
<pre>
</pre>


<pre>
<pre>
local - create folders:
local - create folders:
spainstrips/trunk
<repository>/trunk
spainstrips/branches
<repository>/branches
spainstrips/tags
<repository>/tags


svn import spainstrips ...
svn import spainstrips ...

Version vom 30. Oktober 2016, 17:53 Uhr

Noch in Bearbeitung


Installation

Pakete installieren:

sudo apt-get install subversion libapache2-svn 

Basisverzeichnis anlegen:

sudo mkdir /home/svn/
sudo chown :www-data /home/svn/
sudo chmod 2775 /home/svn/

Neues Repository anlegen

sudo svnadmin create /home/svn/<repository>
local - create folders:
<repository>/trunk
<repository>/branches
<repository>/tags

svn import spainstrips ...

Repository auschecken

svn co svn+ssh://<user>@<server>/absolute/path/to/repository/

Backup

anlegen

svnadmin hotcopy </path/to/repo> </path/to/destination>
svnadmin dump -q </path/to/repo> | bzip2 -9 > <filename>.bz2

wiederherstellen

Links

Backup von Subversion

http://serverfault.com/questions/188454/using-rsync-to-backup-subversion-repositories


Zurück zu Ubuntu