{"id":3221,"date":"2021-07-15T10:19:51","date_gmt":"2021-07-15T09:19:51","guid":{"rendered":"https:\/\/kudzia.eu\/b\/?p=3221"},"modified":"2021-07-15T10:21:01","modified_gmt":"2021-07-15T09:21:01","slug":"switching-source-of-svn-replica","status":"publish","type":"post","link":"https:\/\/kudzia.eu\/b\/2021\/07\/switching-source-of-svn-replica\/","title":{"rendered":"switching source of SVN replica"},"content":{"rendered":"<p>i have svn replica that follows in near-real-time a master server using below run every few seconds:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n\/usr\/bin\/svnsync --non-interactive sync file:\/\/\/mnt\/svn\/ --source-username=$LOGIN --source-password=$PASS\r\n<\/pre>\n<p>i had to change url of the source server; to reconfigure the the replica i&#8217;ve done:<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n# see current source url\r\nsvn propget svn:sync-from-url --revprop -r 0 file:\/\/\/mnt\/svn\/\r\n\r\n# set the new master url\r\nsvn propset svn:sync-from-url --revprop -r 0 https:\/\/new.address\/ file:\/\/\/mnt\/svn\/\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>i have svn replica that follows in near-real-time a master server using below run every few seconds: \/usr\/bin\/svnsync &#8211;non-interactive sync file:\/\/\/mnt\/svn\/ &#8211;source-username=$LOGIN &#8211;source-password=$PASS i had to change url of the source server; to reconfigure the the replica i&#8217;ve done: # see current source url svn propget svn:sync-from-url &#8211;revprop -r 0 file:\/\/\/mnt\/svn\/ # set the new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[113],"class_list":["post-3221","post","type-post","status-publish","format-standard","hentry","category-unimportant","tag-svn"],"_links":{"self":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/comments?post=3221"}],"version-history":[{"count":3,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3221\/revisions"}],"predecessor-version":[{"id":3224,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/posts\/3221\/revisions\/3224"}],"wp:attachment":[{"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/media?parent=3221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/categories?post=3221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kudzia.eu\/b\/wp-json\/wp\/v2\/tags?post=3221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}