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

Re: Questions about a script for regular backups

From: Andreas Stieger <Andreas.Stieger_at_gmx.de>
Date: Thu, 22 Aug 2019 15:29:04 +0200

Hello,

> In order to write a backup script in the Windows batch
> language, I was reading the section "Migrating Repository
> Data Elsewhere" from "Repository Maintenance":
>
> http://svnbook.red-bean.com/en/1.7/svn.reposadmin.maint.html

The dump format is not the best option for backups. The restore time is much too slow as you need to recover from a serialized format. In many hand-baked scripts the dump method misses point-in-time recovery capabilities, and few people implement backup usability checks by loading the dump. If you have content-aware file based backup software available use that in the on-disk repository format. Just make sure you take a consistent snapshot, which can be achieved by briefly locking it (svnadmin lock) or operating on a consistent copy (svnadmin hotcopy).

Andreas
Received on 2019-08-22 15:29:16 CEST

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