meta data for this page
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
svn [2019/05/14 14:41] niziak created |
svn [2020/04/14 13:00] (current) niziak |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== SVN ====== | ||
+ | |||
+ | Keywords: subversion, websvn, svn | ||
+ | |||
+ | ====== pack -reduce size ====== | ||
+ | <file bash pack.sh> | ||
+ | #!/bin/bash -eux | ||
+ | |||
+ | REPO="/home/svn/hardware" | ||
+ | USER="www-data" | ||
+ | |||
+ | sudo -u ${USER} -- svnadmin pack ${REPO} | ||
+ | </file> | ||
+ | |||
+ | <code bash>docker exec -u apache -i subversion svnadmin pack company/project</code> | ||
+ | |||
====== Move repos to another machine ====== | ====== Move repos to another machine ====== | ||
Line 8: | Line 24: | ||
Update only for last changes: | Update only for last changes: | ||
<code bash> | <code bash> | ||
- | svnadmin dump --incremental -r 1234 /srv/repos/software > software_rev1234.dump | + | svnadmin dump --incremental -r 100:566 /srv/repos/software > software_rev100.dump |
- | svnadmin load /srv/repos/software < software_rev1234.dump | + | svnadmin load /srv/repos/software < software_rev100.dump |
+ | </code> | ||
+ | |||
+ | <code bash> | ||
+ | svn reloacate https://192.168.0.22/svn/software https://svn.mydomain.com/svn/software | ||
</code> | </code> | ||