Amanda-Users

Re: SV: Backup using ZFS snapshots on OpenSolaris

2008-10-02 11:57:52
Subject: Re: SV: Backup using ZFS snapshots on OpenSolaris
From: Jean-Louis Martineau <martineau AT zmanda DOT com>
To: Nick Smith <nick.smith AT techop DOT ch>
Date: Thu, 02 Oct 2008 11:11:55 -0400
Nick,

I would prefer to add a new "pfexec-path" property, if it is set, then it is use.

Jean-Louis

Nick Smith wrote:
Probably Solaris 10 Update 6 due out in approximately one month will
*probably* have ZFS rights delegation. The ZFS implementation included in OpenSolaris 2008.11 snapshots already have this feature.

In the mean time you can give the Amanda backup user the rights to manipulate ZFS filesystems by using the following command :

usermod -P "ZFS File System Management,ZFS Storage Management" <amanda-backup-user>

Then you will need to run all ZFS commands via pfsh or pfexec to get the profile assigned rights. I've attached a patch for amzfs-snapshot to do exactly this.