Project

General

Profile

Feature #31218

Add API to associate an SMB share with a periodic snapshot task

Added by martin loiselle about 1 year ago. Updated 12 months ago.

Status:
Done
Priority:
Expected
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Estimated time:
Severity:
Low
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

In the documentation Freenas 11.1-U4, "shadow_copy2 and the associated parameters
are automatically added to the smb4.conf when a Periodic Snapshot Task is selected."

I can do it using the GUI but not with the API.

I would like to assign a specific "Periodic Snapshot Task" to a SMB share using the API.

The API's doesn't seem to have that option?

I also have tried to had the regular shadow_copy and associated parameters using the API but without success.
All settings are smb.conf but shadow_copy feature for windows client isn't working.
Maybe i'm missing something?

Testing on Freenas 11.1-U4.

Associated revisions

Revision 21f56bf3 (diff)
Added by William Grzybowski about 1 year ago

fix(api): document and output `cifs_storage_task`

Ticket: #31218

Revision 479c8cb8 (diff)
Added by William Grzybowski about 1 year ago

fix(api): document and output `cifs_storage_task`

Ticket: #31218

History

#1 Updated by Dru Lavigne about 1 year ago

  • Category changed from Quality Engineering to Middleware
  • Assignee changed from Joe Maloney to William Grzybowski
  • Target version set to 11.2-RC2

#2 Updated by William Grzybowski about 1 year ago

  • Status changed from Unscreened to Not Started

#3 Updated by martin loiselle about 1 year ago

=========================================

Until the API is built, is there a way in SHELL to configure files or run commands ?
Thanks

=========================================

#4 Updated by William Grzybowski about 1 year ago

  • Status changed from Not Started to Blocked
  • Reason for Blocked set to Waiting for feedback

Have you tried setting `cifs_storage_task` in /sharing/cifs/ ?

#5 Updated by martin loiselle about 1 year ago

  • Needs QA changed from Yes to No

Just did and it is working ...Thanks!
Can you had some documentation for this?
Thanks

#6 Updated by William Grzybowski about 1 year ago

  • Status changed from Blocked to Not Started
  • Reason for Blocked deleted (Waiting for feedback)

Sure, we can do that. Thanks for the feedback.

#7 Updated by William Grzybowski about 1 year ago

  • Severity set to Low

#8 Updated by William Grzybowski about 1 year ago

  • Status changed from Not Started to In Progress

#9 Updated by William Grzybowski about 1 year ago

  • Status changed from In Progress to Ready for Testing
  • Target version changed from 11.2-RC2 to 11.2-BETA1

#10 Updated by Dru Lavigne about 1 year ago

  • Subject changed from No API to associate a SMB share to a Periodic snapshot task. to Add API to associate an SMB share with a periodic snapshot task
  • Needs QA changed from No to Yes
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#11 Updated by Eric Turgeon 12 months ago

The change looks fine, but api.freenas.org did not get updated because of https://builds.ixsystems.com/jenkins/job/FreeNAS%20-%20Push%20API/21/console.

#12 Updated by Eric Turgeon 12 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

#13 Updated by Dru Lavigne 12 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF