[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Ecriture DAT avec Backuppc



Bonjour,

La liste n'est surement pas le meilleur endroit pour poser cette question, mais le site de BackupPc ne contient pas de forum ou de ML. J'ai trouvé des archives sur le fait que la copie sur bande n'est pas réalisable, mais la doc du site donne une méthode pour copier sur /dev/nst0.
http://backuppc.sourceforge.net/faq/BackupPC.html#configuring_an_archive_host

Mon problème étant que je dois ajouter l'option "-b10" à la ligne de configuration suivante pour configurer la taille des blocs pour tar: J'ai fait plusieurs essais infructueux, mais ne connassant pas la syntaxe perl, je n'y arrive pas.

# Archive Command
#
# This is the command that is called to actually run the archive process
# for each host.  The following variables are substituted at run-time:
#
#   $Installdir    The installation directory of BackupPC
#   $tarCreatePath The path to BackupPC_tarCreate
#   $splitpath     The path to the split program
#   $parpath       The path to the par2 program
#   $host          The host to archive
#   $backupnumber  The backup number of the host to archive
#   $compression   The path to the compression program
#   $compext       The extension assigned to the compression type
#   $splitsize     The number of bytes to split archives into
#   $archiveloc    The location to put the archive
#   $parfile       The amount of parity data to create (percentage)
#
$Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost' <= ajout de l'option -b 10
       . ' $tarCreatePath $splitpath $parpath $host $backupnumber'
       . ' $compression $compext $splitsize $archiveloc $parfile *';

Par avance merci,
Sil


Reply to: