AMZFS−SENDRECV - Online Linux Manual PageSection : 8
Updated : 11/05/2009
Source : Amanda 2​.6​.1p2
Note : System Administration Commands

NAMEamzfs-sendrecv − Amanda script to create zfs sendrecv

DESCRIPTIONamzfs−sendrecv is an Amanda application implementing the Application API​. It should not be run by users directly​. It create a zfs snapshot of the filesystem and backup the snapshot with ´zfs send´​. Snapshot are kept after the backup is done, this increase the disk space use on the client but it is neccesary to be able do to incremental backup​. If you want only full backup, you can disable this feature by setting the KEEP−SNAPSHOT property to ´NO´​. Only the restoration of the complete backup is allowed, it is impossible to restore a single file​. The application is run as the amanda user, it must have many zfs priviledge: zfs allow −ldu AMANDA_USER mount,create,rename,snapshot,destroy,send,receive FILESYSTEMSome system doesn´t have "zfs allow", but 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_USERThis will require that your run zfs under pfexec, set the PFEXEC property to YES​. The format of the DLE must be one of: Desciption Example −−−−−−−−−− −−−−−−− Mountpoint /data ZFS pool name datapool ZFS filesystem datapool/database ZFS logical volume datapool/dbvolThe filesystem doesn´t need to be mounted​.

PROPERTIESThis section lists the properties that control amzfs−sendrecv´s functionality​. See amanda-applications(7) for information on the Application API, application configuration​. DF−PATH Path to the ´df´ binary, search in $PATH by default​. KEEP−SNAPSHOT If "YES" (the default), snapshot are kept after the backup, if set to "NO" then snapshot are no kept and incremental backup will fail​. ZFS−PATH Path to the ´zfs´ binary, search in $PATH by default​. PFEXEC−PATH Path to the ´pfexec´ binary, search in $PATH by default​. PFEXEC If "NO" (the default), pfexec is not used, if set to "YES" then pfexec is used​.

EXAMPLEIn this example, a dumptype is defined to use amzfs−sendrecv application to backup a zfs filesystem​. define application−tool amzfs_sendrecv { comment "amzfs−sendrecv" plugin "amzfs−sendrecv" #property "DF−PATH" "/usr/sbin/df" #property "KEEP−SNAPSHOT" "YES" #property "ZFS−PATH" "/usr/sbin/zfs" #property "PFEXEC−PATH" "/usr/sbin/pfexec" #property "PFEXEC" "NO" } define dumptype user−zfs−sendrecv { program "APPLICATAION" application "amzfs_sendrecv" }

SEE ALSOamanda.conf(5), amanda-client.conf(5), amanda-applications(7)

AUTHORJean−Louis Martineau <​martineau@zmanda​.com​> Zmanda, Inc​. (http://www​.zmanda​.com)
0
Johanes Gumabo
Data Size   :   10,442 byte
man-amzfs-sendrecv.8Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 193,767
Visitor ID   :     :  
Visitor IP   :   3.144.224.116   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.