The daily backup for edge servers on Windows doesn't work.
1- $global:EDGE_SERVER is hard coded to false, it should be determined using the server spec the same way it is in Linux
2- Once you set the variable to true the function: Get-CurrentJournalCounter is missing the part where if $global:EDGE_SERVER is true the $global:JOURNAL_NUM should be -1. It fails at this point and exits