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?