X7ROOT File Manager
Current Path:
/usr/lib64/amanda
usr
/
lib64
/
amanda
/
📁
..
📄
amanda-sh-lib.sh
(913 B)
📄
amandad
(35.36 KB)
📄
amcat.awk
(184 B)
📄
amcheck-device
(9.64 KB)
📄
amdumpd
(10.1 KB)
📄
amidxtaped
(29.5 KB)
📄
amindexd
(47.25 KB)
📄
amlogroll
(2.36 KB)
📄
amndmjob
(48.44 KB)
📄
amplot.awk
(18.08 KB)
📄
amplot.g
(3.26 KB)
📄
amplot.gp
(3.27 KB)
📄
amtrmidx
(18.98 KB)
📄
amtrmlog
(14.97 KB)
📁
application
📄
calcsize
(19.14 KB)
📄
chg-disk
(7.73 KB)
📄
chg-lib.sh
(4.05 KB)
📄
chg-manual
(7.55 KB)
📄
chg-multi
(12.38 KB)
📄
chg-zd-mtx
(44.8 KB)
📄
chunker
(27.07 KB)
📄
driver
(75.41 KB)
📄
dumper
(51.27 KB)
📄
killpgrp
(10.98 KB)
📄
ndmjob
(52.44 KB)
📄
noop
(10.95 KB)
📄
patch-system
(4.89 KB)
📄
planner
(63.27 KB)
📄
rundump
(10.95 KB)
📄
runtar
(14.96 KB)
📄
selfcheck
(35.05 KB)
📄
sendbackup
(56.48 KB)
📄
sendsize
(55.48 KB)
📄
taper
(2.56 KB)
📄
teecount
(10.94 KB)
Editing: taper
#! /usr/bin/perl # Copyright (c) 2009-2012 Zmanda Inc. All Rights Reserved. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # for more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # # Contact information: Zmanda Inc., 465 S. Mathilda Ave., Suite 300 # Sunnyvale, CA 94086, USA, or: http://www.zmanda.com use lib '/usr/lib64/perl5/vendor_perl'; use strict; use warnings; package main; use Amanda::Util qw( :constants ); use Amanda::Config qw( :init :getconf ); use Amanda::Logfile qw( :logtype_t log_add $amanda_log_trace_log ); use Amanda::Debug qw( debug ); use Amanda::Taper::Controller; use Getopt::Long; Amanda::Util::setup_application("taper", "server", $CONTEXT_DAEMON); my $config_overrides = new_config_overrides($#ARGV+1); debug("Arguments: " . join(' ', @ARGV)); Getopt::Long::Configure(qw{bundling}); GetOptions( 'version' => \&Amanda::Util::version_opt, 'o=s' => sub { add_config_override_opt($config_overrides, $_[1]); }, ) or usage(); if (@ARGV != 1) { die "USAGE: taper <config> <config-overwrites>"; } set_config_overrides($config_overrides); config_init($CONFIG_INIT_EXPLICIT_NAME, $ARGV[0]); my ($cfgerr_level, @cfgerr_errors) = config_errors(); if ($cfgerr_level >= $CFGERR_WARNINGS) { config_print_errors(); if ($cfgerr_level >= $CFGERR_ERRORS) { die "Errors processing config file"; } } # our STDERR is connected to the amdump log file, so be sure to do unbuffered # writes to that file my $old_fh = select(STDERR); $| = 1; select($old_fh); log_add($L_INFO, "taper pid $$"); Amanda::Debug::add_amanda_log_handler($amanda_log_trace_log); Amanda::Util::finish_setup($RUNNING_AS_DUMPUSER); my $tlf = Amanda::Config::config_dir_relative(getconf($CNF_TAPELIST)); my $tl = Amanda::Tapelist->new($tlf); # transfer control to the Amanda::Taper::Controller class implemented above my $controller = Amanda::Taper::Controller->new(tapelist => $tl); $controller->start(); Amanda::MainLoop::run(); log_add($L_INFO, "pid-done $$"); Amanda::Util::finish_application();
Upload File
Create Folder