Re: How to safely back up an svn repository on ubuntu?

2021-01-13 Thread Bo Berglund
On Wed, 13 Jan 2021 12:58:59 +0100, Pierre Fourès wrote: Thanks for your comments Pierre! :) >I understand your point and have done similar setup. I've first started >using a local svnadmin hotcopy to create a clean and safe copy of my >repository, and then, rsynced this folder to my remote serv

Re: Switching to a specific revision

2021-01-13 Thread Anton Shepelev
Nathan Hartman: > Because '-r' tells SVN to look for that path in the HEAD > revision and then follow it back to the specified > revision. > > Try using a peg revision instead: > svn switch ^^/Client/B1/Addons/AddCost/@1431 --ignore-ancestry > > See: http://svnbook.red-bean.com/en/1.7/svn.advanced

Re: Switching to a specific revision

2021-01-13 Thread Nathan Hartman
On Wed, Jan 13, 2021 at 10:59 AM Anton Shepelev wrote: > I want to `switch' to a location that existsed in a previous > revision, but has since been moved. I invoke: > >svn switch -r 1431 ^^/Client/B1/Addons/AddCost/ --ignore-ancestry > > and receive: > >svn: E160013: '/svn/Sources/!svn/r

Switching to a specific revision

2021-01-13 Thread Anton Shepelev
Hello, all I want to `switch' to a location that existsed in a previous revision, but has since been moved. I invoke: svn switch -r 1431 ^^/Client/B1/Addons/AddCost/ --ignore-ancestry and receive: svn: E160013: '/svn/Sources/!svn/rvr/6932/Client/B1/Addons/AddCost' path not found This p

RE: How to safely back up an svn repository on ubuntu?

2021-01-13 Thread Juan Gabriel Covas
If it helps, I use the following one-liner to "svnadmin hotcopy --incremental", so only new revisions are copied each time (the svn-hot-copies target path is a NFS mount, for example, in other box) # find /path/to/your/repos -maxdepth 1 -mindepth 1 -type d -printf "%f\0" | sort -z | xargs -0 -

Re: How to safely back up an svn repository on ubuntu?

2021-01-13 Thread Pierre Fourès
Hi Bo, I understand your point and have done similar setup. I've first started using a local svnadmin hotcopy to create a clean and safe copy of my repository, and then, rsynced this folder to my remote server. As I can handle a downtime on my svn server (in the middle of the night), I've switched

Re: How to safely back up an svn repository on ubuntu?

2021-01-13 Thread Mark Phippard
On Wed, Jan 13, 2021 at 6:16 AM Bo Berglund wrote: > I would like to set up a cron job to backup the repositories on an svn > server to > a Synology NAS. > > The repositories reside in /var/lib/svn and comprise about 6 Gb worth of > files > in 12 different directories. > These are svnsync:ed nigh

Re: How to safely back up an svn repository on ubuntu?

2021-01-13 Thread Daniel Sahlberg
Den ons 13 jan. 2021 kl 12:16 skrev Bo Berglund : > Please advice... > You can probably get started by taking a look at the Repository Backup section of the SVN Book http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.backup //Daniel

How to safely back up an svn repository on ubuntu?

2021-01-13 Thread Bo Berglund
I would like to set up a cron job to backup the repositories on an svn server to a Synology NAS. The repositories reside in /var/lib/svn and comprise about 6 Gb worth of files in 12 different directories. These are svnsync:ed nightly from our main SVN server in the main office across the world as