Hi all,
Under /var/log/CPbackup/backups/, the file named quid.cpbak was created after I installed JHF Take 39 onto the appliance.
The creation time matches when the boot log ended just after the power cycle of JHF installation.
As far as I tested, he same file happened to appear on the physical appliance (3600, 9100, Smart-1 600S), as well as virtual appliance on ESXi. Both security gateway and management server.
R82 GAiA with no JHF does not have it under /var/CPbackup/schemes/.
No idea whether this scheme file is authentic or not. /backups/ is not where it is supposed to be, I surmise.
Any info on it is very welcome 🙂
The codes is as follows:
cat /var/log/CPbackup/backups/quid.cpbak
<ID>
QUID_BACKUP
</ID>
<GROUPS>
cp_products
all
</GROUPS>
<INCLUDE_FILES>
^CPDIR/database/QuidHistoryDatabase.sqlite*
^/opt/CPquid/old_quid_RFB.txt*
</INCLUDE_FILES>
<EXCLUDE_FILES>
^CPDIR/database/QuidDatabase.sqlite*
</EXCLUDE_FILES>
<VERIFY_BACKUP_SCRIPT>
</VERIFY_BACKUP_SCRIPT>
<VERIFY_RESTORE_SCRIPT>
</VERIFY_RESTORE_SCRIPT>
<PRE_BACKUP_SCRIPT>
#!/bin/bash
PYTHON_EXE=$FWDIR/Python/bin/python3
if [ ! -f $PYTHON_EXE ]; then
echo "Python executable not found in PRE_BACKUP_SCRIPT() under $PYTHON_EXE"
return
fi
OLD_VERSION_QUID=$($PYTHON_EXE /opt/CPquid/Quid_Api.py -i /opt/CPotelcol/quid_api/get_global_id.json | jq -r '.message')
echo "$OLD_VERSION_QUID" > /opt/CPquid/old_quid_RFB.txt
</PRE_BACKUP_SCRIPT>
<POST_BACKUP_SCRIPT>
</POST_BACKUP_SCRIPT>
<PRE_RESTORE_SCRIPT>
</PRE_RESTORE_SCRIPT>
<POST_RESTORE_SCRIPT>
</POST_RESTORE_SCRIPT>
Saitoh
sliver bullet: casting repero or tossing it into the harbor