Bug 1263751

Summary: [RFE] configurable labels/names for snapshots exposed in .snaps
Product: [Community] GlusterFS Reporter: Alastair Neil <aneil2>
Component: snapshotAssignee: bugs <bugs>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: mainlineCC: bugs, vbellur
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-19 05:20:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alastair Neil 2015-09-16 15:13:23 UTC
Description of problem:
Currently snapshots are created with a name and an optional timestamp. There is no facility to rename snapshots as far as I can see.  

As is providing self service restore to users via uss is hard becuase the users need to parse the snap shot time stamp to locate the specific snapshot they want amongst a list of very similar names.

If the snap shots had associated lables that could be changed and these lables were exposed in .snaps, a flexible system could be set up ( similar to the timeslider autosnap feature in zfs).

if snapshots are scheduled regularly, for example:

frequent     snapshots every 15 mins, keeping 4 snapshots
hourly	     snapshots every hour, keeping 24 snapshots
daily	     snapshots every day, keeping 31 snapshots
weekly	     snapshots every week, keeping 7 snapshots
monthly	     snapshots every month, keeping 12 snapshots.
 
They could have labels like:  "Now", "Fifteen Minutes Ago",  "Thirty Minutes Ago", "Sunday", "Last Week" etc.

As the labels are able to be changed, they can be rotated as necessary.


Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results
Additional info:

Comment 2 Vijay Bellur 2018-11-19 05:37:12 UTC
Migrated to github:

https://github.com/gluster/glusterfs/issues/570

Please follow the github issue for further updates on this bug.