Backup / Restore bug

koby

Renowned Member
Jun 21, 2012
138
4
83
Natanya , Israel
Hello Guy's ,
I would like to notice you that I do use 2 node (currently no in cluster).
When I do backup in node01 and transfer it to node02 and do restore the following is happened :

1. My regex in my blacklist is not restored.
2. My Custom spam core setting is not restored
3. My Whitelist setting (Who Object) is not restore

Am I missing some thing here , Is this forbidden to transfer backup from node to node ?

Thank you all for any replay
Koby Peleg Hen
 
when restoring you need to select to restore the rule-database and the system config
if you run pmgbackup on the commandline check : pmgbackup help restore

I hope this helps!
 
when restoring you need to select to restore the rule-database and the system config
if you run pmgbackup on the commandline check : pmgbackup help restore

I hope this helps!
I did that from thu gui , I did that as root and mark it all.
It is very easy to reconsruct.
You may try please.
 
try to not select the statistics option
 
Ok - just checked the source - I was wrong - sorry!

the statistics only get restored if you select to restore the Rule Database.

I recently did a few restores - and it worked every time as I expected.

However I could reproduce the part about the custom SA - scores (created a patch for review:
https://lists.proxmox.com/pipermail/pmg-devel/2020-November/001365.html)
Thanks for reporting!

Since I'm not quite sure I get the complete picture of what else did not work in your case could you please provide a few more details:
* the task log of the restore task (GUI->Administration->Tasks->(select and double click on the task which caused problems)
* the journal from the time when the restore happened
* the output of `pmgdb dump` on the system where the backup was taken from and the one where it was restored (just to understand what did not get restored)

(if you prefer screenshots could also work)