Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: fsvs bails out

fsvs
Discussion topic

Back to topic list

Re: fsvs bails out

Author pmarek
Full name P.Marek
Date 2006-03-29 08:16:22 PST
Message On Monday 27 March 2006 20:38 Gunter Ohrner wrote:
> > If I understand you correctly:
> > - you want to retrieve the current status off B?
> > $ fsvs init svn://B/...
> > $ fsvs sync-repos
>
> These commands are entered on B?
>
> > - you want to move to A
> > $ fsvs init svn://A/...
> > - get updates
> > $ fsvs update
>
> And these are entered on A?
>
> In this case it looks promising - I want to initialize the repository,
> which will reside on backup server B, using the backup (of A) already
> present on B. After that I want to "connect" machine A (the production
> system) to this repository, and start comitting to the repository, not
> updating.
>
> Would this work?
So I seem to have misunderstood you.

Another try:
    B: $ svnadmin create /path/to/repos
Note: fsfs as backend can be *awfully* slow, depending on filesystem.
I'd recommend bdb for ext2 and some others.
Turning on directory indexing on ext3 helps a lot, but fsfs is still 3x slower
than bdb.
(Although I'm not sure if I'd want to use bdb ... ;-/ )
    B: $ cd /backup/dir/of/A
    B: $ fsvs init file:///path/to/repos
    B: $ fsvs commit
Then the new repository should have the current backup in it.

    A: $ cd /
    A: $ fsvs init svn://A/path/to/repos
or svn+ssh, or http, or whatever ...
    A: $ fsvs sync-repos
and from now on (eg. from cron)
    A: $ fsvs commit / -m 'automatic backup'


That should do the trick.


Regards,

Phil

« Previous message in topic | 3 of 5 | Next message in topic »

Messages

Show all messages in topic

Re: fsvs bails out pmarek P.Marek 2006-03-26 23:25:42 PST
     Re: fsvs bails out Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> 2006-03-27 10:38:56 PST
         Re: fsvs bails out pmarek P.Marek 2006-03-29 08:16:22 PST
     Re: fsvs bails out Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> Gunter Ohrner <G dot Ohrner at post dot rwth-aachen dot de> 2006-03-27 11:43:44 PST
         Re: fsvs bails out pmarek P.Marek 2006-03-29 08:09:28 PST
Messages per page: