Results 1 to 6 of 6

Thread: Encrypted backup using Rsyc

  1. #1
    Join Date
    Aug 2008
    Beans
    108

    Encrypted backup using Rsyc

    I support a small business which has an Ubuntu server running as a file server. The server is running Ubuntu 10.4.

    There is one hard drive which is mounted as /media/hdd. Each night this is backed up to an external USB hard drive mounted as /media/backup. The backup is carried out using the command:

    Code:
    rsync -av /media/hdd/ /media/backup/
    Is there a way to encrypt this back-up so that if the USB hard drive is plugged into another machine it cannot be read?

    Thanks in advice for your help with what I'm sure is a stupid question.

  2. #2
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Encrypted backup using Rsyc

    You'd have to use something like Truecrypt or LUKS to encrypt it. I'm not sure if you can mount an encrypted drive automatically tho.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  3. #3
    Join Date
    Nov 2008
    Location
    Boston MetroWest
    Beans
    16,326

    Re: Encrypted backup using Rsyc

    This looks like a good tutorial for Truecrypt on Ubuntu:
    http://linuxandfriends.com/2010/02/0...-ubuntu-linux/

    As Charles say, you'll have to enter a password when you mount the encrypted volume on the external drive. It sounds to me like you leave this connected all the time, so I don't see that as a problem. It will protect you against someone walking off with the external drive.

  4. #4
    Join Date
    Aug 2008
    Beans
    108

    Re: Encrypted backup using Rsyc

    Thanks for the advice, forgot to mention it's a headless server accessed through Putty and Webmin so the guide is out but it gives me a few pointers.

    Thanks again.

  5. #5
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Encrypted backup using Rsyc

    You can always forward X over SSH if you want to set it up via GUI.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  6. #6
    Join Date
    Jun 2010
    Beans
    181

    Re: Encrypted backup using Rsyc

    eCryptFS: filesystem level, incremental backups, separate keys for files.
    Disk-based encryption can be considered as "additional" security level, because it's relatively easy to gain access to data when "ecrypted" volume is mounted.

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
  •