Hi,
I was wondering if someone knows how to extract the white list and blacklist from PMG into a txt?
or how to backup only the blacklist and whitelist as for the backup if i restore on another PMG it restores everything which i only need those 2 things.
What i do know is how to import into PMG just dont know how to extract it
Thank you
I was wondering if someone knows how to extract the white list and blacklist from PMG into a txt?
or how to backup only the blacklist and whitelist as for the backup if i restore on another PMG it restores everything which i only need those 2 things.
What i do know is how to import into PMG just dont know how to extract it
Thank you
Code:
pmgsh get /config/ruledb/who
while read line;do pmgsh create /config/ruledb/who/48/email --email "$line" ; done < /root/blacklist.txt