[Pybackpack] pybackpack thoughts and future

seth vidal skvidal at fedoraproject.org
Thu Aug 23 05:36:36 BST 2007


On Thu, 2007-08-23 at 03:12 +0100, Andrew Price wrote:
> On 22/08/07 14:51, seth vidal wrote:
> > So pybackpack would definitely need a backup-set abstraction that
> > doesn't include the rdiff-interface.
> 
> It's been on my lengthy todo list for a while, but now's a good time...
> 
> I've made a start on this by committing backupsets.py to svn. In this
> module, the classes BackupSet and BackupSets are defined so the
> following code now "works":
> 
> import backupsets
> backups = backupsets.BackupSets("/home/andy/.pybackpack")
> for backup in backups:
>     print backup.name
>     print backup.files_include
>     print backup.files_exclude
>     print backup.desc
>     backup.files_include.append('/some/file/I/want')
>     backup.write()


That looks right good. It makes the code a good bit simpler to interact
with.

What other modules are you planning on putting together? I might be able
to help.

Thanks,
-sv







More information about the pybackpack mailing list