Solved

Good way to incrementally back up files from ubuntu to win2008r2?

Posted on 2014-02-06
10
479 Views
Last Modified: 2014-02-13
Hello

I have a client who needs to back up some flat files from a remote server running Ubuntu server 12.10 (which i know very little about), and they want to back them up to another server in another state via the internet, securely, but only sending changed files each night.

Currently the secure pathway is FTPS with filezilla server on the windows server (2008 r2), with a 2048bit ssl certificate.  But, we can probably engineer almost anything else.

The first backup will be about 3gb - then maybe 25mb/day of changed files after that

What are some suggestions to get this done?  It will be a push from Ubuntu into Windows, over the internet, and needs to be at least ssl secured.

I have almost no access to the Ubuntu server, i'm only relaying information to the admin in charge of that - i have full control over the server 2008 r2 machine and network.
0
Comment
Question by:FocIS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 13

Expert Comment

by:Sandy
ID: 39841332
1. create a shared folder in windows either use windows sharing or use NFS (as supported by win).

2. Then mount that share at specific client.

3. Start #rsync by using source as your data and destination as shared directory mountpoint.

In my opinion this is the best way.

TY/SA
0
 
LVL 2

Author Comment

by:FocIS
ID: 39841612
Sandy - thanks for the reply.  Will this work securely over the public internet?  As far as i know, windows file sharing is possibly the most insecure what to expose a machine
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39841620
That is right,,, it is not secure.. Create a IPSEC tunnel between the nodes and follow this exercise.. will be the easiest way to rid of it.

TY/SA
0
Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

 
LVL 2

Author Comment

by:FocIS
ID: 39842464
Hmm that could work - i don't know much about linux but is it easy for the admin in charge of the linux server to create an ipsec tunnel?  we can endpoint them at a cisco ASA or pptp to the windows server too, which might be easier in linux?
0
 
LVL 13

Expert Comment

by:Sandy
ID: 39842475
I suggest do it over ASA.
0
 
LVL 2

Author Comment

by:FocIS
ID: 39842640
How will rsync behave over the internet, when comparing files to know which to upload or not... you see what i mean, will it have to "download" the far side to compare to the local side to determine what should have to be updated?  Or, does it keep track of what's been changed since the last upload, similar to the ntfs archive bit?
0
 
LVL 16

Expert Comment

by:AlexPace
ID: 39842965
rsync makes a hash for each file so it only has to compare the local hash with the remote hash to decide if the file needs to be updated.  For big files it makes a bunch of hashes that each represent a chunk of the file.  This allows it to only send the portion of a big file that needs to be changed... this is really handy if your big files are the type that get appended instead of having the entire thing modified because all it has to send are the new bits.
0
 
LVL 30

Assisted Solution

by:serialband
serialband earned 500 total points
ID: 39843440
You might want to take a look at rsnapshot.  It makes use of the unchanged data and copies only the changes just as rsync does, but it make daily snapshots versus just one copy.  It will be just as fast as rsync, but you'll get daily changes with very little increased space usage if you don't have a lot of changing data.

Once you've set up your automounter to mount the smb file system from your Windows server, run aptitude install rsnapshot to install it.

It's the "poor man's" version of deduped backups.  Here's some more general information about rsnapshot.
http://www.rsnapshot.org/
http://blog.remibergsma.com/tag/rsnapshot/
0
 
LVL 2

Author Comment

by:FocIS
ID: 39843522
alright, i've passed along the suggestion of rsync via vpn, and rsnapshot via vpn - two great suggestions

can anyone offer something that can happen by any secure means other than vpn, too?
0
 
LVL 30

Accepted Solution

by:
serialband earned 500 total points
ID: 39843767
Both rsync and rsnapshot can be set up to go over ssh onto another linux/unix system.  If you install ssh onto your windows system and put that on your external DMZ, that would work as a VPN.  On the public internet, I would still change the ssh port from 22 to something above 1024 to avoid the constant script kiddies brute force probes.

You can also install cwrsync and run that from Windows to pull the needed data off your linux system from Windows.  Linux has an ssh server built in.
http://www.rsync.net/resources/howto/windows_rsync.html
http://www.rsnapshot.org/howto/  --> http://www.stillnetstudios.com/snapshot-backups-howto/
0

Featured Post

Enroll in July's Course of the Month

July's Course of the Month is now available! Enroll to learn HTML5 and prepare for certification. It's free for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question