Open the file on your server as usual and create a backup file (i.e QBB). Copy the backup file to your local machine, run your QB Desktop, and restore the file locally. Then every time you open the file, you can make sure where the location of the file is by pressing the f2 key or ctrl+1.
Keep in mind, when you're ready to migrate to QBO, make sure to do so before May 31, 2022. Otherwise, you may need to use the trial version of QBD 2022 to upgrade your file(s) and migrate to QBO.
https:// quickbooks.grsm.io/US
https:// quickbooks.grsm.io/us-promo