BackupPC-users

Re: [BackupPC-users] A simple perl script to call Backuppc_tarCreate

2012-08-20 16:54:02
Subject: Re: [BackupPC-users] A simple perl script to call Backuppc_tarCreate
From: Arnold Krille <arnold AT arnoldarts DOT de>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 20 Aug 2012 22:52:26 +0200
Hi,

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 AT gmail DOT com> 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:
> /var/lib/backuppc/)

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.

Have fun,

Arnold

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
<Prev in Thread] Current Thread [Next in Thread>