LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-12-2007, 05:10 AM   #1
miek
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Post Remote backup with encryption


Im looking for software that can do incremental remote backup of only some files (like documents, some pictures and so on which I can store in a spesific folder) for windows and linux computers. Also the files should be encrypted before they is sent to my backupserver.

The "solution" I have right now for this is using rsync, but It dosen't offer ecryption of the files as far as I know (they should be stored encrypted on the backup-server), only encrypted transfering.

Point me if im wrong.

Im not sure what the best practice for this is so it would be nice with some tips.

Thanks
 
Old 10-12-2007, 05:34 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you can tunnel rsync over ssh fairly easily...
Code:
rsync -e ssh [other existing rsync options...]
job done! you may also wish to use preshared keys and such (i.e. totally standard ssh stuff) to avoid passwords etc... http://sial.org/howto/rsync/
 
Old 10-12-2007, 05:39 AM   #3
miek
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Hmm. Maybe I explained myself not good enough (sorry). Or do you mean that rsync also stores the files encrypted?

I need them to be stored encrypted so I not can watch others files. And of corse the person who owns the files should be able to decrypt the data too!
 
Old 10-12-2007, 06:14 AM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
Maybe you need some more sophisticated backup software, supporting data encryption like Bacula.
 
Old 10-12-2007, 07:04 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yeah it's rsyncs job to make two places the same, not to backup per se. that said there's still options. if could easily divide and conquer and use a cryptfs volume to perform the encryptions on generic data stored to disk. here's a similar exmaple of rsyncs to a cryptfs filesystem:

http://dyn.yoderhome.com:8080/e/blog/linux

about half way down the page. you cuold probably use a loopbakc to have it held within a single file too, but this is really only if you wish to enhance the existing rsync side of things, and an alternative reimplementation may be more suitable.
 
Old 10-12-2007, 08:15 AM   #6
choogendyk
Senior Member
 
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
Amanda can handle that as well.

http://www.linuxquestions.org/bookmarks/tags/backup

It all depends on what your setup and objectives are. You can specify directories or subdirectories to backup and you can exclude things using a pattern, so there is a fair bit of flexibility in defining what you want backed up. Then you can compress it, encrypt it, transfer it through ssh but leave it unencrypted at the end, etc. You can also have it go to a disk as a virtual tape, to a tape, etc. And it doesn't require the extra overhead of an SQL database or have several daemons running all the time.

On the other hand, if you just have a few computers with a few directories you want synced, then it may be overkill.

Also, regardless of how you do it, don't ever lose your encryption key. ;-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
using a remote computer without encryption MrFixit Linux - General 5 09-01-2007 05:47 PM
Remote full disk encryption anonymous-coward Linux - Software 3 09-01-2007 07:25 AM
Looking for remote backup software raptorman Linux - General 1 08-17-2005 09:56 AM
Remote VNC Login Encryption dsschanze Linux - Software 1 12-23-2004 08:26 PM
Remote backup. dreese3 Red Hat 5 08-22-2004 11:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration