my post commit script updates a file that saves the committed revision
number to a file. then every night an incremental dump is performed.
but perhaps for this kind of thing it may be better to use svnsync.
what makes me confused is the availability of 3 backup systems :
svnsync, svnadmin dump and svnadmin hotcopy. i wonder if there is a
preferred scenario for each of these.
2008/5/19 Fouts Christopher (QNA RTP PT PREV) <Chris.Fouts_at_qimonda.com>:
>
>
>>-----Original Message-----
>>From: Blair Zajac [mailto:blair_at_orcaware.com]
>>Sent: Monday, May 19, 2008 4:18 PM
>>To: Fouts Christopher (QNA RTP PT PREV)
>>Cc: users_at_subversion.tigris.org
>>Subject: Re: Full & incrmental dumps
>>
>>Fouts Christopher (QNA RTP PT PREV) wrote:
>>> I read the manual but still have a fundamental question.
>>>
>>> Essentially I want to create a full dump on a Monday night, but only
>>> incremental dumps Tue-Fri nights.
>>>
>>> I run a cron job to say fully-backup my repos on a Monday night with
>>> > svnadmin dump //repos > dumpfile-full.date
>>>
>>> Now if I want to do incremental backups for Tues-Fri, will I
>>then just
>>> run a cron job (Tue-Fri) that will do this?
>>> > svnadmin dump -incremental //repos > dumpfile-incr.date
>>
>>It would be better to do incremental backups after each commit
>>and a full backup on Monday nights. Then have a cron that
>>removes incrementals that are older than say, two weeks. The
>>incremental command in this case will just backup the commit
>>that happened.
>>
>>Regards,
>>Blair
>>
>
> Makes sense. So in my post-commit hook script, how can I name the
> incremental dump files automtically, since I obviously will have
> lots of these, per commit as you suggest.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-22 01:14:07 CEST