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

Re: SVN as incremental backup replacement

From: Ryan Schmidt <subversion-2006d_at_ryandesign.com>
Date: 2006-12-21 21:19:49 CET

Please use "Reply To All" to reply also to the list, not just to me.
More comments below:

On Dec 21, 2006, at 14:11, Klavierspieler wrote:

> Hello Ryan Schmidt,
>
>>> Is there a way that SVN will _automatically_ add all new files and
>>> remove all deleted files from the repository without further
>>> intervention? Just a single command, and all changes are magically
>>> added, removed, and commited?
>>
>> No. That's not how Subversion is meant to work.
>>
>> http://subversion.tigris.org/faq.html#wc-change-detection
>
> Thanks for the link. I understand that SVN is not meant to work
> this way, but if I would still like to work it this way just for
> me, how could I do so? Or is it just impossible?
>
>>> I searched the documentation and mailing list without avail. Or am
>>> I just missing the obvious?
>>
>> I would say that Subversion is not necessarily designed for this
>> scenario. I'd suggest using software designed to do backups.
>
> I have searched for an incrementatl, versioned delta backup
> software (Win32), but found none. I do not need advanced features
> like ownership, locked-files backup and all that, just small,
> compact, versioned delta storage to keep old and new versions of
> changes for the years to come. Suggestions?
>
> The beauty of SVN is that you can tell it exactly which files to
> import in the first place. It keeps versions, and it stores deltas
> only. Unfortunately it does just not update file structure changes,
> at least not without heavy user intervention. Or does it, and if
> so, how?

Subversion does not do what you want. To do what you want, you'd have
to write a script to parse the output of "svn info" on your working
copy, issue the appropriate "svn add" and "svn delete" commands, and
then "svn commit" it all, and you would then use this script instead
of running "svn commit" manually. I'm not aware if anyone has written
any such script already.

-- 
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
Received on Thu Dec 21 21:24:02 2006

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