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

Re: how to backup repository with all history?

From: Ryan Schmidt <subversion-2015_at_ryandesign.com>
Date: Tue, 10 Feb 2015 02:59:19 -0600

On Feb 9, 2015, at 8:44 PM, James wrote:

> I read there are at least three ways to do backup:
>
> 1. hotcopy;

Yes; the repository produced by "svnadmin hotcopy" is a complete copy of your repository, including all history, scripts and configuration files.

> 2. dump;

Yes, if you do not use the "-r" flag to limit which revisions are dumped, the output produced by "svnadmin dump" includes the history of all revisions which can be saved to a file and later replayed into a new repository by running "svnadmin load", however it does not include any scripts or configuration files; back them up separately.

> 3. incremental backup;

By definition, an incremental backup contains only the changes since your last backup. There is no separate "incremental backup" command in Subversion, but there is an "--incremental" flag to "svnadmin dump" that you can use if that's what you want.

In any backup strategy, you should assure yourself that you can restore a working setup from the backup by periodically attempting to do so.
Received on 2015-02-10 09:59:52 CET

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.