Bug 9595 - Would like com.sun:auto-snapshot:event service
: Would like com.sun:auto-snapshot:event service
Status: CLOSED FIXED
Product: gnome
misc
: unspecified
: ANY/Generic All
: P4 enhancement
: dev
Assigned To: Tim Foster
: QA alias for GNOME > Miscellaneous
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2009-06-22 05:05 UTC by Tim Foster
Modified: 2009-06-24 03:53 UTC (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Tim Foster 2009-06-22 05:05:19 UTC
In version 0.11 of SUNWzfs-auto-snapshot, we added the 'zfs/interval' value of
'none', allowing users to manually fire the method script.

This service instance wouldn't get added to the crontab, rather it would exist
to collect related filesystems under a given property and take snapshots of
those at the same time.

None of the canned SMF instances actually used that zfs/interval value though,
so we propose to start delivering one by default in 0.12.

We also propose to add a freeform com.sun:auto-snapshot-desc user property,
which could be used to describe the event.  For the existing snapshot service,
we will describe missed snapshots with the value 'Missed snapshot'

eg.

# zfs set com.sun:auto-snapshot:event=true rpool/timf
# svc:/system/filesystem/zfs/auto-snapshot:event
# /lib/svc/method/zfs-auto-snapshot
svc:/system/filesystem/zfs/auto-snapshot:event "Tim's homedir backup"


# zfs set com.sun:auto-snapshot:event=true rpool/smbshares
# /lib/svc/method/zfs-auto-snapshot
svc:/system/filesystem/zfs/auto-snapshot:event "Samba connect"
Comment 1 Tim Foster 2009-06-24 03:53:54 UTC
Fixed in 
changeset:   40:583090881a61
tag:         tip
user:        Tim Foster <tim.foster@sun.com>
date:        Tue Jun 23 13:51:59 2009 +0100
description:
    9595 Would like com.sun:auto-snapshot:event service