AFS
view release on metacpan or search on metacpan
examples/v2/vos/backup view on Meta::CPAN
#!/usr/local/bin/perl
use blib;
use strict;
use warnings;
use AFS::VOS;
my ($vos, $volume, $ok);
die "Usage: $0 volume\n" if $#ARGV < 0;
$volume = shift;
$vos = AFS::VOS->new;
$AFS::CODE and print "AFS::CODE = $AFS::CODE\n";
$ok = $vos->backup($volume);
if ($AFS::CODE) { print "AFS::CODE = $AFS::CODE\n"; }
else { print "Created backup volume for $volume \n"; }
( run in 1.326 second using v1.01-cache-2.11-cpan-39bf76dae61 )