Windows XP to *nix backup

Reply

Join Date: Jul 2006
Posts: 22
Reputation: sendres is an unknown quantity at this point 
Solved Threads: 0
sendres sendres is offline Offline
Newbie Poster

Windows XP to *nix backup

 
0
  #1
Jan 18th, 2008
I'm looking to develop a new strategy to provide both an on-site and off-site backup of my computer, which runs Windows XP.

The good news is I have shell access to a Solaris machine through my university, and my storage allocation on this server more than sufficient to back up everything. I also have some spare computers on-hand that I can use for an on-site backup machine. So I'd like to set up a system wherein:
  1. My main computer backs up to an on-site backup server each night.
  2. My backup server connects (over cable modem) to the remote university server the next day and updates those files. (I would expect the daily updates to be generally 100-200 MB at most.)

Here are my queries:
  1. I don't know all that much about *nix, but have read that rsync is the way to go for remote backups. Would it then be best/easiest if my on-site machine were set up on *nix as well? I assume I could then SSH/rsync to that server?
  2. If my backup server runs *nix, is it better to have it connect to my XP box via Samba, and fetch the files? Or to use some sort of XP to *nix backup program? (Note: I just need to backup 'My Documents', not do a full system backup/restore.) I would like, if at all possibe, not to use Cygwin.
  3. I need to encrypt the files on the university server for security. I don't care if my on-site backup is encrypted. Is it better for to have my on-site backup machine connect to my XP box via Samba, and fetch the files? Or to use some sort of XP to *nix backup program? At what point should I encrypt? (Note: I just need to backup 'My Documents', not do a full system backup/restore.)
  4. What happens to Windows file permissions when going to *nix?

I's appreciate any suggestions you might have. Thanks very much in advance...

Steven
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,185
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 532
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Windows XP to *nix backup

 
0
  #2
Jan 18th, 2008
In terms of permissions, it shoulkd be fine. I recently replaced my ome Nt4 server with Samba and my client dont notice the difference
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Apr 2006
Posts: 5,051
Reputation: John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold John A is a splendid one to behold 
Solved Threads: 332
Team Colleague
John A's Avatar
John A John A is offline Offline
Vampirical Lurker

Re: Windows XP to *nix backup

 
0
  #3
Jan 18th, 2008
Originally Posted by sendres View Post
I don't know all that much about *nix, but have read that rsync is the way to go for remote backups. Would it then be best/easiest if my on-site machine were set up on *nix as well? I assume I could then SSH/rsync to that server?
To make things easiest, your backup server should be running *nix. It's fairly trivial to set up an rsync script that automatically copies backups to the remote server on a scheduled basis.

If my backup server runs *nix, is it better to have it connect to my XP box via Samba, and fetch the files? Or to use some sort of XP to *nix backup program? (Note: I just need to backup 'My Documents', not do a full system backup/restore.)
The simplest automated method for backing up would be to install Samba on your backup machine, then set up a cron job that automatically mounts and copies files from your Windows XP box.

I need to encrypt the files on the university server for security. I don't care if my on-site backup is encrypted. Is it better for to have my on-site backup machine connect to my XP box via Samba, and fetch the files? Or to use some sort of XP to *nix backup program? At what point should I encrypt? (Note: I just need to backup 'My Documents', not do a full system backup/restore.)
For security purposes, you should do the encryption on your backup server. I don't know much about cryptography in Unix, although it should be fairly easy to set up a cron job that will encrypt the files after they've been copied from your XP box. The result will be a single image/archive which your server can then upload to the university server.

What happens to Windows file permissions when going to *nix?
The ownership of the files will be whatever user you use to copy them onto the machine. It shouldn't be a problem.
"Technological progress is like an axe in the hands of a pathological criminal."

All my posts may be freely redistributed under the terms of the MIT license.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 22
Reputation: sendres is an unknown quantity at this point 
Solved Threads: 0
sendres sendres is offline Offline
Newbie Poster

Re: Windows XP to *nix backup

 
0
  #4
Jan 19th, 2008
Okay, this makes a lot of sense to me. I guess the one wrinkle is that while the daily changes are on the order of 100-200 MB, the entire dataset right now is about 200GB. I know that rsync is efficient because it basically only sends the parts of files that have changed. But I wonder how the file encryption would affect the rsync efficiency, particularly if I have one big archive as opposed to maintaining individual files?

In other words, if I have an encrypted archive, does that prevent rsync from seeing only the portions that have been altered, and thus require it so send the whole 200GB?
Reply With Quote Quick reply to this message  
Join Date: Apr 2005
Posts: 16,185
Reputation: jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all jbennet is a name known to all 
Solved Threads: 532
Moderator
Featured Poster
jbennet's Avatar
jbennet jbennet is offline Offline
Moderator

Re: Windows XP to *nix backup

 
0
  #5
Jan 19th, 2008
yeah
If i am helpful, please give me reputation points.
Reply With Quote Quick reply to this message  
Join Date: Jul 2006
Posts: 22
Reputation: sendres is an unknown quantity at this point 
Solved Threads: 0
sendres sendres is offline Offline
Newbie Poster

Re: Windows XP to *nix backup

 
0
  #6
Jan 19th, 2008
I just found some info on rsyncrypto, which apparently allows you to rsync encrypted files. The tradeoff is that the encryption is slightly weaker. This is a tradeoff I can live with, so I think I'm good to go.

Thanks!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the *nix Software Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC