KB450471 - Setting up Shadow Copy for SMB with CephFS Snapshots in Houston UI
Posted on September 7, 2021 by Bailey Allison
- This article will show how to setup Shadow Copy for SMB shares using CephFS snapshots in Houston UI.
- Houston UI
- cockpit-file-sharing module installed
- CephFS snapshots configured
- SMB share configured
- Go to the File Sharing tab and click on the share you wish to add shadow copy to.
- Once editing, you can click the Populate Shadow Copy settings.
If using CephFS snapshots, the button will detect this and fill out the settings specifically for using CephFS snapshots with shadow copy.
- Now the required parameters should be added to the Advanced Settings box. Then click Apply.
The Populate Shadow Copy settings button will generate a fresh share configuration, if you have any other options defined on the share previously, copy them down so they can be re-added.
- After applying the changes you should see them successfully added to the share.
- Connect to your share and try to view the snapshots under Previous Versions under the properties.
- Here we can see the previous version from our CephFS snapshot appears, and we can restore any files contained in the snapshot from here.
- Verify there are snapshots being made on the server.
- Restart the samba service.
- Remap the Network Share on the Windows Client.