• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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