Subversion (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 22: | Zeile 22: | ||
=== anlegen === | === anlegen === | ||
<pre> | |||
svnadmin hotcopy </path/to/repo> </path/to/destination> | |||
</pre> | |||
<pre> | |||
svnadmin dump -q </path/to/repo> | bzip2 -9 > <filename>.bz2 | |||
</pre> | |||
=== wiederherstellen === | === wiederherstellen === |
Version vom 30. Oktober 2016, 16:35 Uhr
Noch in Bearbeitung
Neues Repository anlegen
sudo svnadmin create svn/spainstrips sudo chown -R :subversion svn/spainstrips sudo chmod -R o-r svn/spainstrips sudo chmod -R o-x svn/spainstrips sudo chmod -R g+w svn/spainstrips local - create folders: spainstrips/trunk spainstrips/branches spainstrips/tags svn import spainstrips ...
Backup
anlegen
svnadmin hotcopy </path/to/repo> </path/to/destination>
svnadmin dump -q </path/to/repo> | bzip2 -9 > <filename>.bz2
wiederherstellen
Links
http://serverfault.com/questions/188454/using-rsync-to-backup-subversion-repositories
Zurück zu Ubuntu