A QGIS .qgz file stores project settings and references to layers. It is not the same as the underlying shapefiles, GeoPackages or imagery, which may be stored elsewhere.
QGIS saves a compressed project as .qgz and can keep a backup beside the project. Check the project folder for an earlier copy before scanning. A recovered project may open with broken layer paths even when its own file is intact.
There are three different situations: the file was deleted, its folder or storage location changed, or the file still exists but does not open. Find out which happened before running a scan. A disk scan can find some deleted local files; it cannot create content that was never saved or repair every damaged file.
Avoid exporting new maps or datasets onto the affected drive. Copy surviving project and data folders before repairs.
If the disk disconnects repeatedly, clicks, or shows severe read errors, avoid repeated scans and seek a stable copy or professional help. Results also depend on whether the deleted blocks have been overwritten, especially on SSDs.
Qiling Deep Data Recovery can scan storage visible to Windows for deleted local files. Start only after checking existing copies. A result in the file list is a candidate, not proof that the file is complete.
Open the likely backup or version-history location first. Copy any surviving .qgz and related files to a safe destination. If no complete copy is available, close applications that write to the source and launch Qiling Deep Data Recovery.
Use Fast Scan for a deleted local project or Recycle Bin Scan after permanent deletion. If the first pass misses the file and the device remains stable, use the deeper scan option in the results rather than repeatedly writing to the source.
Select the volume where the .qgz was saved, which may differ from the layer-data disk. Confirm the disk model, capacity and drive letter before starting the scan. Never select the recovery destination as the source by mistake.
Compare project names, saved dates and sizes; retain related .qgs backups when found. If the original folder is not shown, also search by file type and date. Do not discard earlier versions solely because one preview looks promising.
Select the best candidates, click Recover, and save them to a different physical drive. Keep the recovered originals unchanged; test copies so a failed open or import cannot damage your only result.
Open a recovered copy in QGIS. Check coordinate reference system, layers, layouts and data-source paths; relink missing datasets from verified copies.
If a recovered file is incomplete, compare older backups and alternate scan results. Do not rename an unrelated file to .qgz and assume its contents have been restored. Once you have a verified copy, include both the native file and any required companion files in a separate backup.
Usually no. Many layers are referenced external data sources.
Yes, if their files were deleted; recovering only the project will not restore them.
Check the saved path and the existence of that dataset before rescanning the QGZ.
If your project was saved in the uncompressed QGS format, QGIS QGS Projects Recovery explains the project document, auxiliary data, and external layer dependencies.