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

Re: making (incremental) backups of a repository

From: Douglas Stetner <dstetner_at_bigpond.net.au>
Date: 2004-03-19 11:57:00 CET

On 19/3/04 at 10:32 (+0100), Dirk Dierckx <dirk.dierckx@rekencentra.be>
wrote:

>Hi,
>
>I would like to make a full backup every sunday night and an
>incremental each day afterwards until the next sunday. But how do i
>retrieve the last revision stored in the full/prev. incremental
>backup?
>
>Regards,

One way would be:

$ strings dumpfile | grep Revision-number: | tail -1
Revision-number: 10

or:

$ strings dumpfile | grep Revision-number: | tail -1 | cut -d' ' -f2
10

Cheers,
Doug

-- 
Douglas Stetner                                   <dstetner@bigpond.net.au>
"Military intelligence is a contradiction in terms."
                                                  - Groucho Marx
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Mar 19 11:57:38 2004

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