[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

pack and rsync Re: Creating and Verifying a Reliable backup

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Fri, 01 Jul 2016 05:11:04 +0000

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
Received on 2016-07-01 07:11:08 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.