I have two servers, we'll call them sv1 and sv2.
both are Solaris 11.1 LDOMS running on a T4-4 with RBAC enabled.
my user has zfs allow send, receive on both servers and has ssh keys shared.
on sv2 (the destination) I have a zpool called zones that has no zfs fs built
on sv1 (the source) I have a zpool called zones that has several zones in it.
Hi All,
I have a requirement to send and email of body html with an attachment.
concatinating uuencode output to the mail body with mailx command works, but as my Email body is of HTML type i use sendmail.
my command to send HTML body is as below:
export MAILTO="recipient@domain.com"... (1 Reply)
Hello ,
I am trying to write a unix shell script to compare folder permission to say drwxr-x-wx and then send an email to my id in case the folders don't have the drwxr-x-wx permissions set for them .
I have been trying to come up with a script for few days now , pls help me:( (2 Replies)
Hi, I'm new to Solaris 11. The goal is to set up a ZFS raid-Z2 NAS.
These are the instructions I've been trying to follow, with no luck:
"Setting Up an OpenSolaris NAS Box: Father-Son Bonding"
(not allowed to post URL)
Issues:
1) Root access is evidently required but I don't... (8 Replies)
Hi, I am nowusing ZFS since some weeks and now I have 2 questions:
1) in zpool I saw some disk added with the *s2 at the end, I have in mind that should not be ? is this right and if so can I get the *s2 disk out of the zpool ?
2) Zpool has still 2 spare disk but when I try to create a new... (6 Replies)
Hi,
I need some advice please. I have this server with a couple of zpools, lets call them
pay_serv
ukb_pool
There are two zones attached to these pools. When I do a zfs list I see this
pay_serv 8.41G 265G 8.41G /pay_serv
ukb_pool 79.8G 194G 23K /ukb_pool
ukb_pool/temp_ps 9.11G... (4 Replies)
I 'm trying to clone a zfs file system pool/u01 to a new file system called newpool/u01 using following commands
zfs list
zfs snapshot pool/u01@new
zfs send pool/u01@new | zfs -F receive newpool/u01
Its a 100G file system snapshot and copied to same server on different pool and... (9 Replies)
Short version:
pfexec zpool scrub rpool fails saying I do not have permission to perform that action. Apparently scrub is not one of the pfexec allowed actions. Any idea on how to get around it?
Long version:
I got tired of manually running scrubs and am trying to set it to happen... (4 Replies)
I have a newly created zpool, and I have set compression on, for the whole pool:
# zfs set compression=on newPool
Now I have zfs send | zfs receive lot of snapshots to my newPool, but the compression is gone. I was hoping that I would be able to send snapshots to the new pool (which is... (0 Replies)
I'm trying to send an incremental ZFS file system from one system to another (Solaris 11.2). When I run this:
zfs send -RI 20150429 gpool/zones/zone-name@20150501 | \
ssh dest-host "/usr/sbin/zfs recv -o canmount=off -dFuv bpool"
I get
Unable to estimate the size of... (1 Reply)
Good morning everyone,
I'm looking for some help to retrieve data in a scenario where I might have made a big mistake. I'm hoping to understand what I did wrong.
My system is made of two Solaris 11 Express servers (old free version for evaluation). The first if for data and the second is... (7 Replies)
Discussion started by: rnd
7 Replies
LEARN ABOUT CENTOS
amzfs-sendrecv
AMZFS-SENDRECV(8) System Administration Commands AMZFS-SENDRECV(8)NAME
amzfs-sendrecv - Amanda script to create zfs sendrecv
DESCRIPTION
amzfs-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 FILESYSTEM
Some 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_USER
This will require that your run zfs under pfexec, set the PFEXEC property to YES.
The format of the diskdevice in the disklist (DLE) must be one of:
Desciption Example
-----------------
Mountpoint /data
ZFS pool name datapool
ZFS filesystem datapool/database
ZFS logical volume datapool/dbvol
The filesystem doesn't need to be mounted.
PROPERTIES
This 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.
EXAMPLE
In 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 "APPLICATION"
application "amzfs_sendrecv"
}
SEE ALSO amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-applications(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHOR
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.3 01/10/2013 AMZFS-SENDRECV(8)