[BackupPC-users] What is the best way (using perl) to determine the length of a compressed backup file?

2008-11-02 Thread Jeffrey J. Kosowsky
I have been considering the following:
- Uncompressing the full file to determine its length..
But this is very computationally inefficient for large files...
- Unpacking attrib file but this seems
This seems best, but I'm not sure what are the best/easiest
subroutines for parsing the attrib file
(I looked at Holger's BackupPC_attribCheck and to my naive eyes it
looked pretty complicate)

So are there any higher level subroutines I could use as a basis? If
so, which ones...

Thanks

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


Re: [BackupPC-users] What is the best way (using perl) to determine the length of a compressed backup file?

2008-11-02 Thread Craig Barratt
Jeffrey writes:

 I have been considering the following:
 - Uncompressing the full file to determine its length..
 But this is very computationally inefficient for large files...

Right.

 - Unpacking attrib file but this seems
 This seems best, but I'm not sure what are the best/easiest
 subroutines for parsing the attrib file
 (I looked at Holger's BackupPC_attribCheck and to my naive eyes it
 looked pretty complicate)

Using the attrib file is the best way.  See bin/BackupPC_attribPrint
for an example.

Craig

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/


[BackupPC-users] Misleading Error Message

2008-11-02 Thread Christian Völker
Yohoo!

I got a no ping message on the web frontend while scheduling a manual
backup of a host.
However, pinging the host from the backuppc worked fine.

The logfile told me then the issue:

LOG:2008-11-02 22:29:26 tp: test hardlink between
/var/lib/BackupPC//pc/tp and /var/lib/BackupPC//cpool failed

And yes, I had an issue earlier with the iSCSI device where the backup
are stored. I simply rebooted. I know, not the ideal way, but in this
case the fastest :)

No question- just a statement to improve the web gui :)

CU
Christian

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/