Updated the WriteBackupToDisk function so it reflects what I tried out
in the TestRun function.