• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

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