Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audibly v2.1 Testing: Backup Audibly Data #74

Open
rstewa opened this issue Dec 2, 2024 · 0 comments
Open

Audibly v2.1 Testing: Backup Audibly Data #74

rstewa opened this issue Dec 2, 2024 · 0 comments

Comments

@rstewa
Copy link
Owner

rstewa commented Dec 2, 2024

Step 1: Make a copy of Audibly data (in case something goes wrong)

This update required a significant amount of database changes so I had to create a process that would migrate a user's data from the old database to the new one. This is the code I'm most worried about since I don't want any users to lose their place in whatever books they're listening to. Therefore, to be on the safe side, I'm going to have you make a copy of your app data so that if anything goes wrong, you can easily put your data back.

To do this, you will need to:

  1. Open Audibly

  2. Click anywhere in the left sidebar (this is important for the keyboard shortcut to work)
    step-2-click-sidebar

  3. Hit ctrl + shift + f12 at the same time (this opens the hidden debug menu)
    step-3-debug-menu

  4. Click on the Open App State Folder button
    step-4-open-app-state-folder-button

    • This should open the File Explorer. It should look something like this:
      step-4b-opened-file-explorer
  5. Find the LocalState folder

    • We are currently inside the LocalState folder so click on its parent folder in the path at the top of the file explorer
      step-5-click-on-parent-of-localstate
  6. Copy the LocalState folder

    • Copy the folder named LocalState and save it somewhere for safe keeping (I usually just paste it to my Desktop or Documents folder.
      step-6-copy-localstate-folder

Step 2: Restore Audibly data

If something goes wrong (which it hopefully won't) and you need to restore your data in Audibly you can:

  1. Follow steps 1-5 from above
  2. Now, instead of copying the LocalState folder, you need to delete it.
  3. Finally, copy the LocalState folder you saved to your Desktop or Documents folder and paste it in the folder where you just deleted the current LocalState folder
    • Be sure to copy the LocalState folder that's in your Desktop or Documents folder and not move it in case you need to restore your data again
  4. Your data should be restored

Step 2b: Rollback to prior Audibly version

If something went really wrong and you need to go back to the prior version of Audibly, you will need to do the following:

  1. Uninstall Audibly (make sure you have already made a copy of your LocalState folder as described above so that you don't lose your library data)

  2. Log out of the Microsoft Store

    • Open the Microsoft Store
    • Click on your profile in the top right
    • Click on sign out
    • Close the Microsoft Store
  3. Re-open the Microsoft Store and search for Audibly

    • Now when you install Audibly, you will get the public version which doesn't have the new changes
  4. Copy the LocalState folder to the app state folder as described above and your library should be restored

@rstewa rstewa changed the title todo Audibly v2.1 Testing Dec 2, 2024
@rstewa rstewa changed the title Audibly v2.1 Testing Audibly v2.1 Testing: Backup Audibly Data Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant