• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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