subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject pack and rsync Re: Creating and Verifying a Reliable backup
Date Fri, 01 Jul 2016 05:11:04 GMT
Andrew Reedick wrote on Mon, Jun 27, 2016 at 20:00:02 +0000:
> However, I'm not sure what the pros/cons of packing are in regards to rsync.

Packing a repository moves revision data from the existing files to new
files: it basically concatenates each 1000 revision files into a single
file.

I think rsync will copy the concatenated files as new files (despite
most of their contents already being available in other files at the
destination).  Therefore, if you've packed the master repository and are
about to rsync it, you will save bandwidth by packing the mirror before
rsyncing to it.

(rsync must be run inside an 'svnadmin freeze' but packing must be run
outside it.)

Cheers,

Daniel

Mime
View raw message