I was planning to do a quick backup of my website. So I tried to run the following command in my webroot:
tar cvfz backup.tar.gz .
That seemed to be working nicely for a while. Until I discovered it had started to backup backup.tar.gz
...
Is there an easy way that I can get it to ignore the file I am archiving to?
Note: I would of course have put the archive file in the directory above it if I could. But I only have access to my home directory.