07-12-2013
Thank you good sir, your comment it's really appreciated!!! I found a good tutorial someone posted about zfs and I have been messing around with them these past few days and it makes so much sense now. Reading without doing anything it's pretty pointless, I just want to learn everything about Solaris as much as I can because sooner or later I'm also going to have to take the certification exams.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hello all,
instead of type pwd everytime to find down where I am at. is there a command set prompt to put in to your profile on shell so it invisible every you type cd?
thanks in advance... (3 Replies)
Discussion started by: phapvn
3 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I feel a little initimidated to ask this question, but ... where am I able to find the font path (Solaris 8)?
Bye Sysadv (1 Reply)
Discussion started by: sysadv
1 Replies
3. Solaris
I'm new to Solaris. Please let me know, where can i find good, explaining and easy learning tutorials in web.
Thanks in Advance (2 Replies)
Discussion started by: moorthy123
2 Replies
4. UNIX for Dummies Questions & Answers
Hello,
I am using Solaris 10.0 and defining PATH on command line by the following way:
#export PATH=/usr/sfw/bin....
...but after restart, Solaris forgets what I defined and I need to re-define the same PATH environment.
I want to to get defined my PATH environment during booting... (10 Replies)
Discussion started by: XNOR
10 Replies
5. Solaris
This is my site and i hope it is useful for unix beginner
http://www.learning-solaris.com (0 Replies)
Discussion started by: hoanginlove81
0 Replies
6. Solaris
Hi all, Im new to the forum and was just wondering if anyone can help me. Im working in a Unix environment at the moment and have decided to take up learning Sun Solaris 10 however im struggling to find and good learning books / websites, can anyone point me to any good sites that might help me... (4 Replies)
Discussion started by: cjdude
4 Replies
7. Shell Programming and Scripting
Im trying to setup my profile to export the PATH at login
i had this in my .bashrc
export PATH=/usr/local/bin:/usr/bin/
however when i login and type echo $PATH i only get
bash-2.05$ echo $PATH
/usr/bin:
any ideas on what im doing wrong?
ive used linux for years but this is my... (1 Reply)
Discussion started by: recklessop
1 Replies
8. Solaris
Is possible to learn Solaris 10 from guides for Solaris 9 (3 Replies)
Discussion started by: microbot
3 Replies
9. AIX
Hello,
Am fresher to AIX domain but trained in RHEL 5.
I want to go for AIX certifications in future and very much eager to learn AIX from basics.Kindly provide me the guides or the links or the books for study.
What are the recent IBM AIX certifications in the market as of today and their... (3 Replies)
Discussion started by: zaheerbk
3 Replies
10. Solaris
Hello,
I have one query
1) how to find in Solaris 10
a) Boot Path
b) Boot Disk name
Pls help. (4 Replies)
Discussion started by: saurabh84g
4 Replies
LEARN ABOUT DEBIAN
amzfs-snapshot
AMZFS-SNAPSHOT(8) System Administration Commands AMZFS-SNAPSHOT(8)
NAME
amzfs-snapshot - Amanda script to create zfs snapshot
DESCRIPTION
amzfs-snapshot is an Amanda script implementing the Script API. It should not be run by users directly. It create a zfs snapshot of the
filesystem where the path specified is mounted.
PRE-DLE-* create a snapshot and the POST-DLE-* destroy the snapshot, *-DLE-AMCHECK, *-DLE-ESTIMATE and *-DLE-BACKUP must be set to be
executed on the client:
execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup
execute-where client
The PRE_DLE_* script output a DIRECTORY property telling where the directory is located in the snapshot. The application must be able to
use the DIRECTORY property, amgtar can do it.
The script is run as the amanda user, it must have the priviledge to create and destroy snapshot:
zfs allow -ldu AMANDA_USER mount,snapshot,destroy 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 DLE must be one of:
Desciption Example
---------- -------
Mountpoint /data
Arbitrary mounted dir /data/interesting_dir
ZFS pool name datapool
ZFS filesystem datapool/database
ZFS logical volume datapool/dbvol
The filesystem must be mounted.
PROPERTIES
This section lists the properties that control amzfs-snapshot's functionality. See amanda-scripts(7) for information on the Script API,
script configuration.
DF-PATH
Path to the 'df' binary, search in $PATH by default.
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-snapshot script to create a snapshot and use amgtar to backup the snapshot.
define script-tool amzfs_snapshot {
comment "backup of zfs snapshot"
plugin "amzfs-snapshot"
execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup
execute-where client
#property "DF-PATH" "/usr/sbin/df"
#property "ZFS-PATH" "/usr/sbin/zfs"
#property "PFEXEC-PATH" "/usr/sbin/pfexec"
#property "PFEXEC" "NO"
}
define dumptype user-zfs-amgtar {
dt_amgtar
script "amzfs_snapshot"
}
SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7)
The Amanda Wiki: : http://wiki.zmanda.com/
AUTHORS
Jean-Louis Martineau <martineau@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Dustin J. Mitchell <dustin@zmanda.com>
Zmanda, Inc. (http://www.zmanda.com)
Amanda 3.3.1 02/21/2012 AMZFS-SNAPSHOT(8)