BackupRestore changelog Darren Silcock 2.2.6 - 16-03-2023 Added * Added ImPulse restore default configuration (Admin only - via Setup port) * Added ImPulee backup .json (via setup port) * Added ImPulse restore .json (via setup port) * NOTE: Licencing options are compared/checked before the restore process * NOTE: Only a valid json file will be accepted * Pasting of any URL data into the Console IP field will get trimmed * Copying an entire URL and pasting into the Connect IP field will, trim everything apart from the IP address when Connect is pressed. * Guradian log now collected from surface panels * Panel xml files collected * Surface panel memory and cpu usage statistics saved to file (panel_stats.log) when collecting the logs Fixed * Processor debug not working/freezing 2.2.5 - INTERNAL 2.2.4 - 16-11-2022 Added * Fixed * Kill of Connect when restoring a database confirmed before restore. 2.2.3 - Int Added * Speed increase of panel log collection on both Apollo/Artemis and Apollo+/Artemis+. * Speed increase of ImPulse log collection Fixed * Added exception handler if Connect connection fails. * Connect database backup failing if there are spaces in the console name field * Not collecting Hydra2 secondary expander (.8) router logs 2.2.2 - 28-08-2022 Added * UI updated to support 'themed' UI's, style follows the Windows operating system. * Maintenance option for Hydra2 connections added. - Trace the mcslog - Trace Userlogs - Trace H2Router log When selected the live output of these logs will be displayed in the main output window NOTE: There are timeouts associated with this connection. - active session = 10mins - Period of no data = 3mins - To quit the trace press Cntrl+C * Main window and connection now times out after 15mins of inactivity * Buttons disabled instead of window when tasks are started. * Additional notifications when IP gateway entries are incorrect * Validation of names given to AoiP devices when collecting logs. Spaces are removed from the names. Fixed * Clearing IP was only effective once for that connection instance * Wrong IP when collecting connectdb from the ConnectVM * Wrong IP when collecting logs from the ConnectVM * Sec processor checkbox visible when no secondary hardware 2.2.1 - 24-06-2022 Added Fixed * Router status not being parsed correctly and always reporting MASTER - fixed * Alias IP order incorrect if secondary MCS card missing * Connect server restart following backup/restore 2.2.0 - 03-06-2022 Added ImPulse/TypeR * Collection of logs from TypeR and ImPulse cores. Any container can be used to collect the core logs. The only exception to this is that the Software Updater container cannot be used. * Collection of Apollo+/Artemis+ surface panel logs. If the connection is via the the surface container (for example ConsolePC Desktop) surface panel logs can be collected * Management assigned addresses can be used as well as default addresses via the setup port * Collection of AoIP device logs. Logs can be collected from IO boxes if the connection is via the Connect server on the Core or ConnectVM. * Multiple boxes can be collected at once by entering a list of IP's. Note this can take a while. * Collection of ConnectVM logs * Backup of the Connect database * Restore of the Connect database * Clear System Status Hyda2 * Size and usage of Compact Flash/CFast card fitted added to the backuprestore.log * BIOS battery status of pri/sec cards printed to backuprestorelog file * Control processor memory fitted logged to the backuprestore.log * Additions to the backuprestorelog 2021-12-15 14:39:56: Console details: CalrecDeskConnection IP: 10.0.1.0 Console IP: 192.178 User entered IP: 192.178.20.30 Processor version: 9.1.119427 Processor Type: ComE *Processor memory Pri: 1934444 kB *Processor memory Sec: *Processor BIOS batt Pri OKAY *Processor BIOS batt Sec Console Type: Artemis Light Disk checking (fsck): ENABLED *Primary CF Card size: 7.2G(35% used) *Secondary CF Card size: ( used) Connected to: PRIMARY Secondary MCS detected: 0 Secondary MCS CON type: 0 (0 = thru 1 = direct) Active MCS: PRIMARY Primary Router: Master Secondary Router: Master Primary Aliases/Lan: ['', '', '', '', '', '', '', '', '', '', ''] Secondary Aliases/Lan: ['', ''] CSCP Information: assist, 49300, 4 * CSCP validation * protocol =1-4 - DONE * Check to ensure invalid ports have not been entered * CSCP names cannot use spaces, now automatically removes spaces in the names * Prompt before restoring when in ADMIN mode and there is a version mismatch * When disconnecting it now retains the IP address - DONE Fixed * System Status ID/ALL clear bug when System Status ID are above 10000 * Fixed numerous issues with reading alias iP addressing and USB lan information * CSCP config not always writing to new line - DONE * CSCP writing of config now updates the secondary if fitted * Pri/Sec restore option 2.1.0 11-05-2020 ### Added * Ability to set upto 2 x USB Eth adaptor(s) per processor - IP/Mask/Gateway information * Ability to configure and ammend via the UI existing and new CSCP configurations. * Warning message displayed if the secondary pack size differs to that on the primary control processor * VP2 support * ENTER key can be used to 'Connect' * UI is now disabled during any user started operation * User entered IP is now pushed to the backuprestore log details * Which file and how many when copying files during the backup transfer process * Which file and how many when adding files to the tgz * Updating router IP address now does NOT require a router reset. * Retrieval of Assist logs * Update time/date as a function to allow time/date to be updated on log/backup files if window left open * Ability to clear Lan port settings. Additional UI button added to clear/remove selected LAN/Alias settings. This applies to : LAN - DONE USB LAN adaptors ComE LAN adaptor Alias IP addresses Router alias addresses * Added embedded version/resource information to the .exe file. This includes items such as version number, filename, Company Information. This will help with the OS/Applications that require this information in order to allow the exe to run. ### Fixed * Curser not writing at the botom if it moved (clicked) during use * CR on alias information lookup * General tidy up - additional defined functions * Routing information failing on RY6433 routers * Router debug not working with RY6433 routers * rc.local not being restored when in Admin mode and option selected to restore Config files * Not sync'ing file system after router demote * Panel logs on pre v3 consoles * Window refocus after function, was leading to text entry field not working * Alias numbers not increasing. Alias IP name numbering wasn;t increasing correcting when multiple alias addresses were created with with a sinle connection * System Status ID's above 10'000 not being recognised - DONE ----------------------------------------------------------------------------------------- v2.0.7 14-08-2019 ### Added ### Fixed * Not getting master/slave status from RY6433 (faster routers). Fixed * Surface panel logs: Panels can be missed if the POE sequence is NOT sequential. Fixed ----------------------------------------------------------------------------------------- v2.0.6 30-07-2019 ### Added * Option to collect current routing information. Gathers sio, spc, sr, rs, ps, dr, wai when the Gather logs is pressed * Additional information detailed in the 'Console details' in the backuprestore.log. Router status, alias/lan addressing * Current firebird.log * Additional checks for disk checking, unless disabled in all areas of the OS it presumes ENABLED ### Fixed * Router MASTER/SLAVE status enquiry more robust. Would previously sometimes fail on some systems * Disconnect restores all checkboxes to their default state * Stall when gathering ConsoleP.C logs * backuprestore.log not collected if the C:\Calrec\Logs folder doesn't exist, the utility is ran from a USB and the destination folder is an external drive ----------------------------------------------------------------------------------------- v2.0.5 3-07-2019 ### Added * pid panel logs added to the capture list * Checks for IP conflicts with existing alias/LAN/Core ID * Updates secondary processor StudioSetup file (in addition to the primary) when editing alias files - if there is a valid connection ### Fixed ----------------------------------------------------------------------------------------- v2.0.4 28-05-2019 ### Added * Ability to simultaneously backup both primary and secondary processor cards. Must have valid connection, i.e ConsoleP.C * Additional logging * Summa console connections: - Attempt to launch Chrome/AtomicUpdater UI when 'Backup' or 'Restore' is pressed ### Fixed * Added Summa current jupdater.log to list of log files ----------------------------------------------------------------------------------------- v2.0.3 23-05-2019 ### Added * Summa enable/disable EMBER to admin Maintenance tasks ### Fixed * rc.local warning when connected to Summa - no longer appears * Auto reboot not working after a restore * Changed to always collect actual console IP regardless ----------------------------------------------------------------------------------------- v2.0.2 10-05-2019 ### Added * MCS and H2Router Application.xml added to the log gathering list ### Fixed * Minor typos ----------------------------------------------------------------------------------------- v2.0.1 06-05-2019 ### Added * diskfree.txt to: /home/MasterControl/MasterControl /Router/Geode/H2Router Small txt file which will show the CF usage and also stamps it with a time/date from the card in question. Very useul to compare card times to actual times which can be worked out from the backuprestore.log ### Fixed * Minor typos ----------------------------------------------------------------------------------------- v2.0 b13(release) 06-05-2019 ### Added * ### Fixed * Minor typos ----------------------------------------------------------------------------------------- v2.0 b12 01-05-2019 ### Added * File copy progress when copying log files * Additional pack size check ### Fixed * Certain processor card configurations not always rebooting after a restore. Resolved, missing CR * Not populating the ext_ip lists correctly. Router IP, missed or put in the wrong box. Caused by reading the list length incorrectly. Resolved * Preserved surface layout should be called support_default * Unable to backup if the pack size is missing ----------------------------------------------------------------------------------------- v2.0 b10 28-03-2019 ### Added * Ability to set processor/router time/date * Ability to set console ID (Console.Config) * Ability to set type of console (pack size) for Apollo/Artemis * USER mode Maintenance now includes: Clear System Status by ID only Set Processor(s) date/time Set router(s) date/time * ADMIN mode Maintenance now includes: Clear System Status ID Clear System Status ALL ---------------------------------- Summa - Set Analog Level at 0dBFS Summa - Set line up level (dB) Summa - Set mic impedance (dB) Summa - Set mic headroom (dB) ---------------------------------- Debug active processor card Debug active router card ---------------------------------- Set - Processor Console type Set - Processor Console ID Set - Processor time/date Set - Router time/date ---------------------------------- * Warning message now appears if the DSP pack size is not set in rc.local. * Logs which processor restoring to * More logging * correct/check rc.local on restore * check for processor disk checking ### Fixed ----------------------------------------------------------------------------------------- v2.0 b9 12-03-2019 ### Added * Collects MasterRouter1, Simboxes.xml * Allows Promote/Demote of Summa * Detection of CalrecDeskConnection is now rewritten to be more robust on differing P.C's/network adaptors * Disabled ability to change LAN IP if you are not connected to the active card ### Fixed * Fixed detection of CalrecDeskConnection failing on some machines ----------------------------------------------------------------------------------------- v2.0 b8 15-11-2018 ### Added * Now gathers panel logs from pre version 3 consoles * Checks if you have permission to write to the destination before collecting a backup or logs * It is now possible to enable router debug * It is now possible to enable processor debug * Restore pri/sec check boxes now enabled ### Fixed * Can fail to read System Status ID if the ID is only a single digit * Notification message wrongly appearing saying you selected a Summa maintenance task ----------------------------------------------------------------------------------------- v2.0 b7 07-11-2018 ### Added * Ability to set Summa default configuration levels: Running level Line up Mic imp c/o level headroom These are only available when connected to a Summa console * Collects backuprestore.log from C:\Calrec\Logs or the working dir * Collects current dmesg for all rack cards (for what it may be worth) * Additional notifications: Processor reset required after alias update/new ### Fixed * MCS hot-swap crash when adding LAN addresses for the first time - seems it wasn't fixed * Verification that logs have been gathered and saved correctly before copying locally ----------------------------------------------------------------------------------------- v2.0 b6 29-10-2018 ### Added * Ability to ClearSystemStatus without instigating a processor reset - either by System Status ID or All messages * Detection of Summa 128/180 When a Summa is detected everything is disabled apart from: * LAN config * router alias configuration * DSP rack log gathering * Additional Summa logs are also gathered ### Fixed * MCS hot-swap crash when adding LAN addresses for the first time * removed exit code when gathering logs - possibly the reason for logs not being gathered ----------------------------------------------------------------------------------------- v2.0 b5 30-08-2018 ### Added ### Warning when no secondary processor is detected (ETX), previously only displayed for ComE cards ### Fixed * Additional protection against loss of comms during the start of backup process * Added improvements to the process of updating the secondary MCS. ----------------------------------------------------------------------------------------- v2.0 b4 16-08-2018 ### Added * Now logs basic info to a file 'backuprestore.log'. If the C:\Calrec\Logs exists it is saved here, if not it is saved local to where the utility is run from ----------------------------------------------------------------------------------------- v2.0 b3 13-08-2018 ### Added * Initial beta release of the GUI version. Complete rewrite no longer a batch file. See features doc for information ----------------------------------------------------------------------------------------- v1.0 07-01-2018 ### Added * Added ability to configure LAN ports for ComE cards (admin) * Added ability to add/removed/edit MAC port IP alias addresses for ETX cards (admin) * Added ability to retrieve the console logs when gathering a backup * keeps the surface layout "cc_support_default.slo" when restoring ### Fixed * Few typos ----------------------------------------------------------------------------------------- v0.9 03-11-2017 ### Added * Changed the way the free disk space is calculated ### Fixed v0.8 21-09-2017 ### Added * Diskspace check before making a backup ### Fixed v0.7 30-08-2017 ### Added Promote/demote of router cards (admin) ### Fixed v0.6 03-08-2017 ### Added * To confirm that there have been no changes to files since being copied from the MCS, all files have a comparison made against the original immediately after the copy/archiving of that file. This is done on a file by file basis. It has to be done immediately after copying a file as waiting until the end of the backup will almost certainly result in the hidden memory file at least being changed. If it fails on any file it tries once more before giving in. * New backup files are saved as a .tgz format and so are not compatible with the Java data backup utility * Old .zip backups taken with the Java backup utility or an earlier version of the BackupRestore script can still be restored to a console using this utility. * Auto reboot of primary and secondary processors after a restore * Auto refreshes data after a restore - unless the rc.local and Console.Config have been restored * All required files have been moved into a directory called 'dep' * Added time stamp as well as the date to the backup tgz file * Restore Hydra2DB from either a .tgz or .zip backup ### Fixed * Not backing/restoring up symbolic linked files (rc.local) correctly. v0.5 23-06-2017 ### Added Ability to restore only Hydra2 DB, Hydra2 DB restore also works on Summa (admin) Error checking when stopping processors on the secondary MCS Error checking when restoring rc.local and Console.Config to the secondary MCS ### Fixed Typo causing 'Syntax not recognised' message when restoring. v0.4 25-05-2017 ### Added ### Fixed * Backup would sometimes (on some P.C's) not save the zip file to the desktop P.C. - Fixed v0.3 21-05-2017 ### Added ### Fixed * If rc.local had no pack size entered the restore failed - fixed v0.2 10-05-2017 ### Added Further checking if no file selected when restoring ### Fixed * Restore was restoring Console.config regardless * Restoring Console.config and rc.local also prompt a copy to the Sec - so the secondary boots with the correct IP v0.1 - Test 04-05-2017 ### Added 1. Backup all console user data 1.1. Backup the following directories/files a. /opt/firebird/Awacs.nbk b. /opt/firebird/DeskShows.nbk c. /opt/firebird/Hydra2DB.nbk d. /etc/rc.local e. /home/MasterControl/guardian/Console.Config f. /home/MasterControl/MasterControl/Application.xml g. /home/MasterControl/MasterControl/StudioSetup h. /home/MasterControl/Options/ i. /home/MasterControl/UpgradeScripts/Application.xml j. /home/MasterControl/UpgradeScripts/LastUpgradeVersion k. /home/MasterControl/Shows/ 1.2. Read console pack type, mcs version, backup timestamp, IP and write to a text file BackupData.txt. Text file format example: mcs_version=1.12.27923 pack_type=Artemis Beam backup_timestamp=2013-6-11_19-36-19 backup_ip=138.1.1.0 1.3. Save as a zip file which has the following name format: Backup_CCC.DDD.PRI/SEC.0_date_stamp.zip 1.4. Allow the user to save to a specific location 2. Restore all console user data to the correct locations 2.1. Remove old data before restoring and decompressing the backup file 2.2. Restore to a specified card - ACTIVE Card takes priority 2.3. Ability by default to omit the following files when restoring: Console.config rc.local 2.4. Ability to manually include the following files when restoring: Console.config rc.local 2.6. Allow the user to pick a specific backup file using a windows file browser 2.7. Restore/create all required nbk files for each database 3. Auto detect the console primary and secondary IP addresses: 3.1. This must work from the ConsoleP.C and a externally connected P.C which has the correct IPv4 setting for CalrecDeskConnection 4. Auto detect if more than one MCS is detected and which is the Active card. 5. Allow backups taken using this utility to be restored using the Java utility 6. Allow backups taken using the Java utility to be restored using this utility 7. By default restrict backups being restored onto a console with a lower/higher pack sizes 8. Allow and option to restore backups which have a lower/higher pack size 10. Open cmd window maximized to the current desktop screen size