subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Schmidt <>
Subject Re: how to backup repository with all history?
Date Tue, 10 Feb 2015 08:59:19 GMT

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.

View raw message