• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved /bin/tar: invalid option

Nilton Santos

Basic Pleskian
Hello everybody,

I have one question:

I'm receave the message bellow after plesk 12.5 backup:

Warning: hosting "mydomain.com.br"
Not all the data was backed up into /var/lib/psa/dumps/clients/myclient/domains/mydomain.com.br successfully. /bin/tar: invalid option -- 'q' Try `tar --help' or `tar --usage' for more information.


How i can resolve it?
 
I think this can happen if a file that is part of a tar filelist has a problematic name, for instance starting with two dashes, like
"--q the mail.txt" of having a whitespace and a dash in it, like "mail -q ing.html". In that case there is a chance that the "q" is interpreted as a tar command line option instead of a file name.
Do you have a chance to look at the file names of mydomain.com.br if that could be the case?
 
Hello,


I found a file named "-q" in the domain directory and I removed it like this:
I find the inode of the file in the folder
ls -i
and remove
find . -inum 782263 -exec rm -i {} \;
 
Back
Top