• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff 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