Permalink
Browse files

Added handler stubs to pyvsb.conf.example

  • Loading branch information...
1 parent e6b4c3d commit 215f6c8969a00600f328afbe510637d88886c623 @KonishchevDmitry committed Dec 28, 2012
Showing with 14 additions and 0 deletions.
  1. +14 −0 pyvsb.conf.example
View
@@ -2,6 +2,7 @@
"""PyVSB configuration file."""
+
import os
# Backup root
@@ -43,3 +44,16 @@ BACKUP_ITEMS = {
],
},
}
+
+
+# You can do arbitrary actions in these handlers to control your backup
+# creation. For example, upload created backups to cloud.
+
+def on_backup_created(log, group, name, path):
+ """Called when a backup is created."""
+
+def on_group_created(log, name):
+ """Called when a backup group is created."""
+
+def on_group_deleted(log, name):
+ """Called when a backup group is deleted."""

0 comments on commit 215f6c8

Please sign in to comment.