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

Re: [RFE] Backing up repository differentially

From: lightbulb432 <veerukrishnan_at_hotmail.com>
Date: 2007-02-13 23:36:26 CET

How could I automate the differential backup so it does it automatically from
the last revision as opposed to having to remember and enter it manually?
Just wanting to see if there's any way to do it already, either from
Subclipse or Ant or something...if not, maybe a custom command-line script
could do it?

I ask b/c it'd be really nice to hit a button every day or week that
differentially backs up your repository, either from the filesystem or using
the command line as you've described...no hassle.

(I'd like to use the hard-link backup script you linked to, but I'm on a
Windows dev environment.)

Ryan Schmidt-19 wrote:
>
> On Feb 13, 2007, at 09:55, lightbulb432 wrote:
>
>> If today I back up my repository's root folder and it has 10
>> revisions, and
>> tomorrow I back up my repository with 15 revisions, can I back up
>> on the
>> second day differentially? (i.e. back up only the 5 new revisions
>> as opposed
>> to all 15?)
>>
>> How would I do this? (Is it a filesystem issue whereby there are
>> certain
>> files that need to be copied over, or are there specific Subversion
>> commands
>> for this?)
>
> If you are backing up by creating dump files, then sure, there's the
> --incremental option:
>
> $ svnadmin help dump
> dump: usage: svnadmin dump REPOS_PATH [-r LOWER[:UPPER]] [--incremental]
>
> Dump the contents of filesystem to stdout in a 'dumpfile'
> portable format, sending feedback to stderr. Dump revisions
> LOWER rev through UPPER rev. If no revisions are given, dump all
> revision trees. If only LOWER is given, dump that one revision tree.
> If --incremental is passed, then the first revision dumped will be
> a diff against the previous revision, instead of the usual fulltext.
>
> Valid options:
> -r [--revision] arg : specify revision number ARG (or X:Y range)
> --incremental : dump incrementally
> --deltas : use deltas in dump output
> -q [--quiet] : no progress (only errors) to stderr
>
>
> For FSFS-based repositories, there's also this fast-backup script,
> which uses hard links so that backups are incremental:
>
> http://svn.collab.net/repos/svn/trunk/contrib/server-side/svn-fast-
> backup
>
>
> --
>
> To reply to the mailing list, please use your mailer's Reply To All
> function
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>
>

-- 
View this message in context: http://www.nabble.com/Backing-up-repository-differentially-tf3221395.html#a8954957
Sent from the Subversion Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 13 23:36:52 2007

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.