PDA

View Full Version : Would using svn to backup be stupid?



nolag
November 12th, 2010, 08:04 PM
I was thinking, I know svn is meant for version controll, but I would it be a bad idea to use it to backup my system?

Considering how it works I was thinking that the inital commit would be huge, but after that it would not take too much space, right? I would use a recursive add to make sure that I get all new folders and files.

I know it was not the intent of svn, but how different is svn from shadow copy windows offers? They both only commit differences in files, they both allow restorepoints to dates/times.

I guess the only things I would need to think of is how to stop duplicate files from being created if something is copied (not svn copied) by a user.

A part of me is saying "Don't do it it's horrible" another part it like why?

Looking for any feedback!

Thanks
nolag

doorknob60
November 13th, 2010, 03:07 AM
I've heard good things about using git for backup, I don't see why svn would be any different. Go for it.

freebeer
November 13th, 2010, 06:45 AM
Have you looked at rsync for backups? Rock solid in my experience.

Barrucadu
November 13th, 2010, 10:25 AM
I did consider git for backing up my system, but instead went for incremental backups with rsync. No real reason, I could just find more information about using rsync as a backup utility, so I went with that.

However, I do have several git repos which I use to backup/publish some things (my config files in ~, for example).

Tibuda
November 13th, 2010, 11:47 AM
yes, you better use git, bzr or mercurial

nolag
November 15th, 2010, 03:18 PM
Thank you all for your replies, I will look into these programs. I was thinking about what I initially asked and only thought of one actual problem, what happens if I want to add something to a repo online or something XD.

/dev/zlow
November 15th, 2010, 03:28 PM
This is a good idea, let us know your results!