Prompt
How do I back up shared file storage and restore one folder?
Latest observation
Oct 12, 2026
OpenAI APIWeb search: off
It depends on what kind of shared file storage you mean, but the general idea is:
- Back up the storage at a point in time
- Save the backup somewhere safe
- Restore only the folder you need from that backup
Common backup/restore approaches
1) If it’s a network share / NAS / file server
Use one of these:
- Snapshots if the storage system supports them
- Backup software like Veeam, Commvault, Rubrik, NetApp, Synology, etc.
- File-level backup tools like
rsync,robocopy, or cloud backup tools
Example with rsync on Linux
Backup:
rsync -aH --delete /shared/folder/ /backup/location/folder/
Restore one folder:
rsync -aH /backup/location/folder/subfolder/ /shared/folder/subfolder/
Example with robocopy on Windows
Backup:
robocopy \\server\share D:\backup\share /MIR /R:1 /W:1
Restore one folder:
robocopy D:\backup\share\subfolder \\server\share\subfolder /E
2) If it’s cloud shared storage
Examples: Amazon EFS/FSx, Azure Files, Google Filestore, SharePoint/OneDrive shared folders.
Usually you restore from:
- built-in snapshots / backups
- version history
- cloud provider restore tools
Often you can restore:
- the entire share
- or individual folders/files if the backup is file-aware
3) If you already have a backup archive
If the backup is a .zip, .tar, .tgz, etc., you can extract only one folder.
Example with tar
List contents:
tar -tf backup.tar.gz
Extract one folder:
tar -xzf backup.tar.gz path/to/folder/
Best practice
To be able to restore one folder easily, make sure your backup is:
- file-level, not just disk-image only
- versioned
- tested with a restore drill
- stored with a clear structure so folders can be located quickly
Important caution
If the storage is a live shared folder, avoid copying files back without checking:
- permissions/ACLs
- ownership
- timestamps
- whether the folder is in active use
If you tell me:
- what system it is on (Windows / Linux / NAS / AWS / Azure / Google / SharePoint)
- and what backup method you’re using
…I can give you exact commands or steps to back it up and restore just one folder.