]> git.parisson.com Git - tools.git/commitdiff
renaming
authoryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Mon, 7 Jan 2008 22:21:49 +0000 (22:21 +0000)
committeryomguy <yomguy@457c0346-1240-4656-8a5a-9edca8063506>
Mon, 7 Jan 2008 22:21:49 +0000 (22:21 +0000)
git-svn-id: http://svn.parisson.org/svn/tools/trunk@25 457c0346-1240-4656-8a5a-9edca8063506

zope_backup_all.py [deleted file]

diff --git a/zope_backup_all.py b/zope_backup_all.py
deleted file mode 100755 (executable)
index 62bee5a..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/usr/bin/python
-# Backups all zope instances (any versions)
-#
-# Depends : zope_instance.py
-# Copyright (C) 2007 Guillaume Pellerin
-
-import os
-import sys
-from zope_instance import *
-
-version = '0.1'
-info = 'zope_backup v'+version+'\n'+
-       """Usage: zope_backup DIRECTORY
-       where DIRECTORY is the folder where you want to backup 
-       the instances of the different versions of zope."""
-
-if len(sys.argv) < 2:
-    sys.exit(info)
-else :
-    backup_dir = sys.argv[1]
-
-z = ZopeInstall()
-instances = z.get_instances()
-instance_main_dir = z.instance_main_dir
-
-def backup_all():
-    for version in instances:
-       for instance in instances[version]:
-            z = ZopeInstance(version, instance)
-           print z.get_instance_dir()
-            z.backup(backup_dir)
-           print version + ': ' + instance + ' backuped !'
-
-if __name__ == '__main__':
-    backup_all()
-    print "Backup_all Zopes done !"
-
-    
-