I want to speed up my backup done with tar czf
, the common way to do it. But day by day my backed up files grow so it becomes slower.
I was thinking to take advantage of the several cores available in my server and I was wondering if there is any difference between doing the backup with tar czf
or piping tar to gzip: tar cf - | gzip
I guess that there isn't any difference, because the first spawns two processes (tar and gzip), in a similar way like piping it.
If there is not difference, do you know any good alternative to do this, without going incremental? I'm looking at pigz too and it looks fine.