/
[SoftNAS KB]: How to enable Previous Versions on CIFS with AD integration.

[SoftNAS KB]: How to enable Previous Versions on CIFS with AD integration.

  • Log into SoftNAS StorageCenter.

  • In the Storage Administration pane, navigate to CIFS Shares.

  • In CIFS Shares, navigate to the /etc/samba/smb.conf file and add the following code below the shared definition:

    vfs objects = shadow_copy2 acl_xattr
    shadow: snapdir = .zfs/snapshot
    shadow: sort = desc
    shadow: format = hourly-%Y%m%d-%H%M%S
    shadow: localtime = yes

    See below for reference:

    [testshadowcopy]
    writable = yes
    browseable = yes
    public = yes
    guest ok = yes
    path = /tank/testshadowcopy
    directory mask = 0777
    create mask = 0777
    vfs objects = shadow_copy2 acl_xattr
    shadow: snapdir = .zfs/snapshot
    shadow: sort = desc
    shadow: format = hourly-%Y%m%d-%H%M%S
    shadow: localtime = yes


  • Restart SMB services by pressing the button to restart the winbind and samba services.


Related content

[SoftNAS KB]: Create a local Samba User Account to access CIFS Shares when not joined to Active Directory
[SoftNAS KB]: Create a local Samba User Account to access CIFS Shares when not joined to Active Directory
More like this
Creating a CIFS Share
Creating a CIFS Share
More like this
Create Samba User Account to Access CIFS Shares
Create Samba User Account to Access CIFS Shares
More like this
[SoftNAS KB]: How To Configure Existing AD (for 2008 and up) with NIS Server to SoftNAS Samba
[SoftNAS KB]: How To Configure Existing AD (for 2008 and up) with NIS Server to SoftNAS Samba
More like this
Managing CIFS shares permissions after joining AD
Managing CIFS shares permissions after joining AD
More like this
[SoftNAS KB]: Integrate SoftNAS with Active Directory prior to Version 3
[SoftNAS KB]: Integrate SoftNAS with Active Directory prior to Version 3
More like this