SVN Backup Tree

January 31, 2007 at 1:02 am Leave a comment

This is just notes to myself about how I set up the SVN directories for backup. (This is not final yet) If you have any suggestion about the layout I’d love to hear them.

On the hard drive

  • /home/svnroot
    • username1 – Repo
    • username2 – Repo
    • weekly-dumps/ – ideally only holds 1 dump file per day of the week, I’ll probably end up switching the day of the week and the date (yyyymmdd-dump-DayOfWeek) to make sorting easier
      • `date +%A-dump-%Y%m%e` = Monday-dump-yyyymmdd
      • `date +%A-dump-%Y%m%e` = Tuesday-dump-yyyymmdd
      • `date +%A-dump-%Y%m%e` = Wednesday-dump-yyyymmdd
      • `date +%A-dump-%Y%m%e` = Thursday-dump-yyyymmdd
      • `date +%A-dump-%Y%m%e` = Friday-dump-yyyymmdd
      • `date +%A-dump-%Y%m%e` = Saturday-dump-yyyymmdd
      • `date +%A-dump-%Y%m%e` = Sunday-dump-yyyymmdd

The main problem I have with this is that I don’t like the backup directory being in the same directory as the $HOME repositories, but I don’t know where to put it. :-/


Entry filed under: Uncategorized. Tags: , , .

Haiku: Open Source BeOS Slackware Todo fixed

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


%d bloggers like this: