I want to make a incremental backup
but I always get a error when trying to use the "g" option in tar, like this:
Code:
maginot@maginot:~$ tar cgfzv backupteste2.tar.gz documentos/configuracao-ultima
tar: Cowardly refusing to create an empty archive
Try `tar --help' or `tar --usage' for more information.
if I use without the g option them it creates the backup file I seted. But I want to create a weekly task of backup in cron, so I have to have the command right seted.
I want to backup the files every week so I want the incremental backup type.