# How to Audit Symbolic Links Before Restoring a Linux Website

https://ferkesh.net/knowledgebase/article/linux-symlink-restore-audit

![Workflow: List scoped links; Compare backup behavior; Rehearse on an isolated target; Check application behavior.](https://ferkesh.net/kb-media/ferkesh-guide-diagrams-batch-14.svg#linux-symlink-restore-audit)

A recovered directory can contain symlinks whose targets are missing or point at a different environment. Inventory links before allowing the restore to serve traffic.

## Procedure

1. **List scoped links.** Use the hosting panel or an approved read-only inventory for the application path. Record the link name, intended target and whether it is relative or absolute.
2. **Compare backup behavior.** Check whether the export preserved the link itself or copied its destination. Identify separately managed application configuration, shared assets and storage volumes outside the archive.
3. **Rehearse on an isolated target.** Verify each approved destination and permissions before starting the site. Ensure a staging link cannot reach writable production data.
4. **Check application behavior.** Test media, uploads and released assets through the intended path. Record any necessary relocation in the recovery plan without copying unrelated directories.

## Related guides

- [How to Find Case-Sensitive File Paths After a Linux Move](https://ferkesh.net/knowledgebase/article/linux-file-path-case-migration)
- [How to Reconcile a Restored Website Against Its Backup](https://ferkesh.net/knowledgebase/article/archive-backup-restore-reconciliation)
- [Web Hosting Fundamentals articles](https://ferkesh.net/knowledgebase/category/web-hosting-fundamentals)

## Official references

- [Linux symbolic link documentation](https://man7.org/linux/man-pages/man7/symlink.7.html)

Ferkesh Hosting. Last reviewed November 26, 2026.
