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

Re: Keeping backups in Subversion

From: Les Mikesell <lesmikesell_at_gmail.com>
Date: Thu, 06 Aug 2009 11:47:15 -0500

Jan Seeger wrote:
>
> I don't know if this has come up before, but I am looking for a
> possibility to pack backups into a subversion repository. I'm thinking
> like this:
>
> rsync from remote to local host
> checkin into subversion repository
>
> The only problem here is how to delete files that have been deleted on
> the remote host. How would I go about detecting missing files and
> removing them from the working copy?

The big problem here is that there is no reasonable mechanism for ever
deleting anything from a subversion repository. It might work if you
started a new repository every month or so and aged out old ones.
However, you probably would be better off looking at something like
http://backuppc.sourceforge.net/ which has a good scheme for minimizing
the disk space requirement and is already designed to handle backups
sensibly. The one thing subversion might handle better would be large
files with small changes between runs. Backuppc will merge duplicate
copies of identical files but even a small change takes separate storage.

-- 
   Les Mikesell
    lesmikesell_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2380938
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-08-06 18:48:28 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.