Will TCSI
New Pleskian
I have a domain that was deleted through plesk but it has left behind confs ... ran a command to show the domain id , and showed up as per below..
My question is ,.. is there a command line i can run that pulls up of the domain name associated with this ID to be 100% sure before i run its delete command.?
I have found a command that pulls ID from domain name..( which didnt work for this domain as its in error...but worked for all others i tried) -- i just need one that does the reverse!
So i am 99% sure I have the right ID.. just want to be 100% sure !
Thanks All
[root@vps0 ~]# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin psa -e "select c.id, c.objectId as 'domain_id' from Configurations c left join domains d on c.objectId=d.id where c.obje
ctType in ('domain', 'nginxDomain') and d.id is null"
+-----+-----------+
| id | domain_id |
+-----+-----------+
| 346 | 70 |
My question is ,.. is there a command line i can run that pulls up of the domain name associated with this ID to be 100% sure before i run its delete command.?
I have found a command that pulls ID from domain name..( which didnt work for this domain as its in error...but worked for all others i tried) -- i just need one that does the reverse!
So i am 99% sure I have the right ID.. just want to be 100% sure !
Thanks All
[root@vps0 ~]# MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -uadmin psa -e "select c.id, c.objectId as 'domain_id' from Configurations c left join domains d on c.objectId=d.id where c.obje
ctType in ('domain', 'nginxDomain') and d.id is null"
+-----+-----------+
| id | domain_id |
+-----+-----------+
| 346 | 70 |