📄 disklist
字号:
# sample Amanda2 disklist file, derived from CS.UMD.EDU's disklist## If your configuration is called, say, "csd2", then this file normally goes# in /etc/amanda/csd2/disklist.## File format is:## hostname diskdev dumptype [spindle [interface]]## where the dumptypes are defined by you in amanda.conf or in-line.# At our site, root partitions have a different dumptype because they# are of lower priority; they don't contain user data, and don't change# much from the department prototype. In a crunch, they can be left for# last or skipped.# A SPARCstation 1+salty sd0a comp-rootsalty sd0g comp-usersalty sd1g comp-usersalty sd2a comp-rootsalty sd2g comp-usersalty sd3c comp-user# A DECstation 3100slithy rz1a comp-rootslithy rz1g comp-userslithy rz3a comp-rootslithy rz3g comp-user# We don't run compression on the master host since it is going to be# busy enough running amanda.master sd0a nocomp-root -1 localmaster sd0g nocomp-user -1 local# note: -1 is a placeholder for the spindle number# the holding disk can't be dumped to itself, it uses a disktype that# specifies the "no-hold" option (see amanda.conf).master sd1c holding-disk -1 local# Compress data from a slow server on the tape server.# Example of inline dumptype specializationslowsrv / { # the line break here is mandatory root-tar # copy properties of root-tar compress server fast # but change the compression mode} # spindle and interface omitted hereslowsrv /usr { user-tar exclude list ".exclude" compress server fast} 2 le0 # no line break before spindle and interface# The chairman's disk is high priority to make sure it gets done.bigwig sd0a comp-rootbigwig sd0g comp-high# Likewise the named databases in the root partition on our primary# nameserver. Also, compression is turned off because we don't want# to create any unnecessary load on this baby (it's only a Sun3).bozo sd0a nocomp-highbozo sd0g nocomp-userbozo sd4c nocomp-user# Dump Joe's NetBSD machine, with the mounted MS-DOS partition dumped# using tar.joespc wd0a comp-rootjoespc wd0e comp-userjoespc /msdos comp-user-tar# Some really slow machines, like Sun2's and some Vaxstations, take# forever to compress their dumps: it's just not worth it.# A Sun2cleo sd0a nocomp-rootcleo sd0g nocomp-user# A VaxStationsusie rz8a nocomp-rootsusie rz8g nocomp-user# An example of how to separate a big disk (/diskA) in multiple smaller entry# using GNUTAR.# I suggest to always use the diskdevice in the diskname.# Don't forget to use the same spindle for all entry.hosta /diskA/all /diskA { # all directories except the one that start with [a-u] high-tar exclude "./[a-u]*" } 1hosta /diskA/ag /diskA { # all directories that start with [a-g] except big1 and big2 high-tar include "./[a-g]*" exclude "./big1" "./big2" } 1hosta /diskA/big /diskA { # directories big1 and big2 high-tar include "./big1" "./big2" } 1hosta /diskA/gm /diskA { # all directories that start with [h-m] high-tar include "./[h-m]*" } 1hosta /diskA/nu /diskA { # all directories that start with [n-u] high-tar include "./[n-u]*" } 1# and so on ... well, you get the idea
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -