Results 1 to 4 of 4

Thread: Back up an SVN repository securely.

  1. #1
    Join Date
    Feb 2009
    Beans
    30
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Back up an SVN repository securely.

    I'd like to keep a backup of my personal SVN repository.

    The only issue is that I'd like the backup to be encrypted and possibly compressed as well.

    What's a good tool to use to do this? gzip with a password and then an rsync?

    Any opinions are most welcome.

  2. #2
    Join Date
    Apr 2006
    Beans
    800
    Distro
    Lubuntu 12.04 Precise Pangolin

    Re: Back up an SVN repository securely.

    Regarding compression I'd suggest p7zip/7zr. It supports password, encryption, volumes, and lots of compression methods.
    Just wonder why you need to be so secretive about your repository?

    EDIT
    p7zip is actually not a good choice for backups since it doesn't store file group/owner.
    Better to use zip which supports encryption with a password, something like this:
    Code:
    svnadmin dump repositorypath | zip --encrypt > svnbackup.dump.zip
    Last edited by lykeion; March 13th, 2011 at 09:01 PM.

  3. #3
    Join Date
    Apr 2009
    Location
    Germany
    Beans
    2,134
    Distro
    Ubuntu Development Release

    Re: Back up an SVN repository securely.

    duplicity does this:
    http://duplicity.nongnu.org/

    ((I never used it so I can't tell if its any good)

  4. #4
    Join Date
    Feb 2009
    Beans
    30
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Back up an SVN repository securely.

    Thanks guys, I'll give them a shot.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •