Hello Guys,
I am using amanda for a while but some Servers sometimes failed to backup with such a message
I read something that this might have something to do with changing data on that device e.g. databases."host / lev 0 FAILED "/opt/csw/libexec/amanda/runtar exited with status 1: see /tmp/amanda/client/test/sendsize.20100504195719.debug" .
So I decided to switch to use zfs-snapshots, but it seems to me that amanda does the snapshot but does not use it for backup; instead it dumps the original device:
Here is my config:host /.zfs lev 0 FAILED "/opt/csw/libexec/amanda/runtar exited with status 1: see /tmp/amanda/client/test/sendsize.20100504195719.debug"
In the logs it seems that amanda dumps / instead of /.zfs.define script-tool script_zfs_snapshot {
comment "zfs-snapshot"
plugin "amzfs-snapshot"
execute-where client
execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup
property "DF-PATH" "/usr/sbin/df"
property "ZFS-PATH" "/usr/sbin/zfs"
}
define dumptype zfs-snapshot {
global
program "GNUTAR"
# application "app_amgtar"
script "script_zfs_snapshot"
auth "bsdtcp"
}
disklist:
host /.zfs / zfs-snapshot
How do I backup the real snapshot?
Thanks for your answers.
therm