just a few comments without having tested your script (got my own that
also connects and mounts the iscsi-volume before writing "tapes").
On Mon, 20 Aug 2012 13:26:59 +0200
Germano Paciocco <germano.paciocco@...> wrote:
> Hi everyone.
> I was not satisfied on how BackupPC_archiveStart works, so I decided
> to write a script that should help me with BackupPC_tarCreate and
> cron, avoiding to edit crontab everytime I edit a host or a share to
> backuppc configuration.
> The script is attached.
> I'm a Perl beginner, so I think it could have be done much better.
> You're welcome for suggestions or to improving.
> This is the help of the command line:
> BackupPC_tarCreateAll [--dir|-d /path/to/archive/dir] (default:
From looking at the help, I couldn't whether this option is only to
specify the directory where the tars are written or if this is also
used to find the backuppc-data. And its very strange to write the tars
by default to the same directory where backpc stores its files.
Also I noticed you skip "localhost" when creating a tar for each host.
Don't do that. That hostname might be misleading in restore, but its a
very valid setting to create backups from.