Thank you! The list approved the attachment and I tested it on the server,
though, there's seem to be a problem with the part that returns a list of hosts
from the hosts file. Only the part of the hostname before the first dot(.) gets
returned, not the complete hostname (example, 192 gets returned instead of
192.168.x.x). I'm pretty new to both linux and backuppc, and have no experience
in python what-so-ever, can you identify the problem?
PS. I'm running Ubuntu Server 10.04.
/Philip
From: r...@hasselbaum.net
Date: Thu, 15 Mar 2012 10:39:46 -0400
To: backuppc-users@lists.sourceforge.net
Subject: Re: [BackupPC-users] Archive function
Attached is a script I execute from cron that deletes old archives in a
configured directory and then starts new archives for all hosts except
localhost. Feel free to use it as a starting point. Should run with minimal
modifications on Ubuntu Server.
Not sure if the mailing list allows attachments or not, so if you don't see it,
let me know and I'll paste it into an email. It's not very long.
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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/
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
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/