Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '15 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
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.