I'm new to Amanda, and have been able to get basic backups going, but am stuck trying to make ZFS work.
I'm on FreeBSD 8.0 stable, and using the latest Amanda built from source. I have the system hooked up to a 24 slot changer with an LTO2 tape drive.
I edited the amanda.conf file and added :
define application-tool amzfs_sendrecv {
comment "amzfs-sendrecv"
plugin "amzfs-sendrecv"
property "DF-PATH" "/bin/df"
property "KEEP-SNAPSHOT" "YES"
property "ZFS-PATH" "/sbin/zfs"
#property "PFEXEC-PATH" "/usr/local/bin/sudo"
#property "PFEXEC" "YES"
}
define dumptype user-zfs-sendrecv {
program "APPLICATION"
application "amzfs_sendrecv"
}
I added ZFS permissions for the amanda user (operator):
# zfs allow scratch
-------------------------------------------------------------
Local+Descendent permissions on (scratch)
user operator create,destroy,mount,receive,rename,send,snapshot
-------------------------------------------------------------
and my disklist looks like:
#ns1.eng.sldomain.com /tmp comp-user-tar
ns1.eng.sldomain.com scratch user-zfs-sendrecv
When I run "amcheck DailySet1", I get the error:
Amanda Backup Client Hosts Check
--------------------------------
WARNING: ns1.<FQDN>: selfcheck request failed: timeout waiting for ACK
Client check: 1 host checked in 30.152 seconds. 1 problem found.
If I comment out the ZFS portion and just to the comp-user-tar line, amcheck finished fine.
I have verified that the operator user can create a snapshot.
I know the general error is due to a permissions/ownership issue, but I can't seem to spot WHICH file/command/directory is not set properly. Can anyone point me to some spots to check?