This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Shadow Copy Feature Request

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
bryan
NewUser
NewUser
Posts: 4
Joined: 25 Jun 2012 12:09
Status: Offline

Shadow Copy Feature Request

Post by bryan »

I have a feature request for the Shadow Copy Format option in Samba Shares. We have multiple levels of snapshots for our data. hourly, daily, monthly. For most shares matching to the daily snapshots for Shadow Copy/previous versions is fine. For the more active shares it would be nice to match on multiple labels. something like:
hourly-%Y%m%d-%H%M%S; daily-%Y%m%d-%H%M%S;

Thanks

fritz
experienced User
experienced User
Posts: 84
Joined: 12 Dec 2012 16:40
Contact:
Status: Offline

Re: Shadow Copy Feature Request

Post by fritz »

+1 for this feature request !
O/S: NAS4Free 11.1.0.4 - Atomics (revision 5017) (Embedded 64bit), installed on 8GB USB flash drive
https://github.com/fritz-hh

fritz
experienced User
experienced User
Posts: 84
Joined: 12 Dec 2012 16:40
Contact:
Status: Offline

Re: Shadow Copy Feature Request

Post by fritz »

Hi Brian,

After thinking a little bit more about it, I may have found a solution to your problem (works with the current version of N4F)...

I guess that you need to code the type of snapshot in your snapshot name in order to handle them differently in your scripts (e.g. in order to keep a certain number of daily snapshots, and delete the older ones).
If that is the case, it is already possible to show all level of snapshot in the windows shadow copy client, but it requires a trick...

code the snapshot type as 2 digits (e.g. "01" for hourly, "02" for daily...)
A snapshot name could be "20121221_1322_autosnapshot_type01"

In the CIFS share config, you only need one label:
d%Y%m%d_%H%M_autosnapshot_type%S
(I tell CIFS that the snapshot type are the seconds. This is not true, but it does not matter as you do not generate snapshot more often then every hour)

Hope that helped

fritz
O/S: NAS4Free 11.1.0.4 - Atomics (revision 5017) (Embedded 64bit), installed on 8GB USB flash drive
https://github.com/fritz-hh

bryan
NewUser
NewUser
Posts: 4
Joined: 25 Jun 2012 12:09
Status: Offline

Re: Shadow Copy Feature Request

Post by bryan »

Hi Fritz,

Yes. Thank you. I think I could make that work.

Bryan

fritz
experienced User
experienced User
Posts: 84
Joined: 12 Dec 2012 16:40
Contact:
Status: Offline

Re: Shadow Copy Feature Request

Post by fritz »

Hi Bryan,

You will find my snapshot script here:
viewtopic.php?f=70&t=2197

fritz
O/S: NAS4Free 11.1.0.4 - Atomics (revision 5017) (Embedded 64bit), installed on 8GB USB flash drive
https://github.com/fritz-hh

Post Reply

Return to “CIFS/SMB (Samba)”