1
1
Using a cronjob I'm daily backing up a linux system (ubuntu) onto a windows network share so it gets picked up by our organisation's backup system.
Currently I'm copying using cp -au
. Although this works ok to preserve as much filesystem information as possible I am thinking of compressing the files first to a tar or tar.gz archive before copying over. However I want to minimize the time it takes to copy the archive to the windows share - I only have a 60 minute time-window.
What is the best solution to copy only the minimal amount of data in this situation? As a subquestion would compressing the archive make it much harder to copy only changes?
You need to setup an rsync server for it, right? – KovBal – 2009-07-23T08:59:19.137
I found Deltacopy (http://www.aboutmyip.com/AboutMyXApp/DeltaCopy.jsp) which can be used on windows together with rsync on linux and seems pretty easy to setup.
– svandragt – 2009-07-23T09:04:41.183Not necessarily, rsync can copy on a windows share like cp. It is almost a drop-in replacement for cp. You will have to look carefully at the options though. – Ludwig Weinzierl – 2009-07-23T09:10:27.533
When I change a few files in the tgz archive will that make more differences for rsync throughout the archive than if I would change the same in only a tar archive (not compressed)? – svandragt – 2009-07-23T09:34:08.367