Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have two SVN repositories, svn_rep1 and svn_rep2. I want to back them up to a remote server, with an incremental backup daily and a full backup monthly.

How I can write a bash shell script to do this operation? I ask you because I do not have time to search on my own.

share|improve this question

closed as off-topic by Ward, HBruijn, masegaloeh, Jenny D, Khaled May 20 at 10:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

-1 Because time is a limited resource for everybody. –  adamo Oct 30 '10 at 9:57
this is explained it the SVN server documentation quite clearly –  Hubert Kario Oct 30 '10 at 13:31

1 Answer 1

up vote 5 down vote accepted

I'd recommend rsync for 1-to-1-copies and duplicity for incremental encrypted backups.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.