You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Li Ma <li...@gmail.com> on 2009/02/20 19:11:09 UTC

How the serevr repository is organized?

Hi there,
I'm designing a backup system. At server side, between each backup, I would
like to keep only changed files, so to save lots of server space.

I think Subversion should have similar solution to manage repository. So I
send this message to the development team and hope someone who know how the
SVN backend works can give me a little heads up, or point a direction for me
to go.

Thank you in advance!

-- 
Li Ma
lima01@gmail.com
http://www.idealtechs.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1200072

Re: How the serevr repository is organized?

Posted by "Magnus ..." <zu...@gmail.com>.
Hi Li Ma,

Let me give you some brief answers to your questions

Li Ma wrote:
> hi Martin,
> 
> Thanks to your suggestion, I found FSVS is a very promising backup 
> solution. But I do see the following problems which will prevent it from 
> been adapted by enterprise user:
> 1. no UI. most of people who's not techie enough are those need help of 
> a backup tools. no UI means no go to them
> 2. linux-only. unforetunately, still lots of people are using Window, 
> and lots of Mac now.

That sounds like two itches that no-one has felt like scratching. If 
it's a no-go, it's a no-go, and that is OK.

> 3. this is really a question: how can you delete old versions from FSVS 
> or SVN? Say we have 10G of total backup already and quota of this user 
> account is full. So we need to delete some copies of very old files. I'm 
> not sure how FSVS can do it.

It seems you are asking for the "svn obliterate" feature. This does not
currently exist in svn. Once stuff is in the repo, it pretty much stays
there.

Do a search on the list and issue tracker for "obliterate", and you will 
find numerous discussions about this feature. I am trying to help out 
with this by coming up with a well-defined functional specification 
(with high-level implementation comments). However, I will not be able 
to do the actual coding, so I have no idea when the feature will be 
implemented.

There is the option of using
svnadmin dump REPOS_PATH -r N_BIGGER_THAN_ZERO

and then using svnadmin load

This will strip out the first N revisions from the repo. It will NOT 
work if any files have been restored ("copied from") the old revisions. 
However, in a backup solution, that may not happen anyway.

Best,
Magnus

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1215445

Re: How the serevr repository is organized?

Posted by Li Ma <li...@gmail.com>.
hi Martin,
Thanks to your suggestion, I found FSVS is a very promising backup solution.
But I do see the following problems which will prevent it from been adapted
by enterprise user:
1. no UI. most of people who's not techie enough are those need help of a
backup tools. no UI means no go to them
2. linux-only. unforetunately, still lots of people are using Window, and
lots of Mac now.
3. this is really a question: how can you delete old versions from FSVS or
SVN? Say we have 10G of total backup already and quota of this user account
is full. So we need to delete some copies of very old files. I'm not sure
how FSVS can do it.

Maybe you can share some of your thought on this topic.
Thanks!

Li

On Sat, Feb 21, 2009 at 6:46 PM, Martin Furter <mf...@rola.ch> wrote:

>
>
> On Fri, 20 Feb 2009, Li Ma wrote:
>
>  Hi there,
>> I'm designing a backup system. At server side, between each backup, I
>> would
>> like to keep only changed files, so to save lots of server space.
>>
>> I think Subversion should have similar solution to manage repository. So I
>> send this message to the development team and hope someone who know how
>> the
>> SVN backend works can give me a little heads up, or point a direction for
>> me
>> to go.
>>
>
> Have a look at FSVS (http://fsvs.tigris.org/), it is a backup solution
> based on subversion.
>
> HTH
> Martin
>



-- 
Li Ma
lima01@gmail.com
http://www.idealtechs.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1214769

Re: How the serevr repository is organized?

Posted by Martin Furter <mf...@rola.ch>.
On Fri, 20 Feb 2009, Li Ma wrote:

> Hi there,
> I'm designing a backup system. At server side, between each backup, I would
> like to keep only changed files, so to save lots of server space.
>
> I think Subversion should have similar solution to manage repository. So I
> send this message to the development team and hope someone who know how the
> SVN backend works can give me a little heads up, or point a direction for me
> to go.

Have a look at FSVS (http://fsvs.tigris.org/), it is a backup solution 
based on subversion.

HTH
Martin

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1205927