Quote:
Originally Posted by Dutch Master
In your case:
Code:
gzip <options> <source> <named backup> | rsync <user@machine:destination-dir>
|
this will make only gzip-ed archive from source-dir, but afterwards it cannot be compared with source dir.
for example in usual rsync case (dir ---> dir)
rsync -a /sourcedir/data /destinationdir/backupdata
* this makes two eqauls dirs
but how it is possible to compare something like this:
rsync -a /sourcedir/data /destinationdir/backupdata.gz
* offcourse this command doesn't work. But is it possible somehow to compare content of gzip archive with /sourcedir/data and if differ to update archive, or create new one.
thanks