Example: removing a share without losing the data

The production share is no longer needed but the files must be kept.

The production share is no longer needed but the files must be kept.

  1. Choose production and click «Delete».
  2. Leave the «Also delete folder contents» switch off.
  3. Click «Delete share».

Check. The share disappears from the list and from the PCs; the folder stays on disk. If later you create a new share with the same name, the console warns that a folder already exists and reuses it with its files.

If something goes wrong. «Could not remove the share’s smb.conf block.» means the Samba configuration was not rewritten: try again and, if it persists, check the service’s logs.

LET’S TALK INFRASTRUCTURE

Control starts with a conversation.

Tell us about your infrastructure. Let’s start with what you actually need.

Talk to an engineer