diff MoinMoin/config/multiconfig.py @ 3790:4340777f31f9

remove backup action This code is quite unsafe and is totally incompatible with the storage abstraction.
author Johannes Berg <johannes AT sipsolutions DOT net>
date Tue, 24 Jun 2008 13:39:58 +0200
parents 9173925a53da
children 98660492e634
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Tue Jun 24 13:16:03 2008 +0200
+++ b/MoinMoin/config/multiconfig.py	Tue Jun 24 13:39:58 2008 +0200
@@ -324,7 +324,6 @@
         # we replace any string placeholders with config values
         # e.g u'%(page_front_page)s' % self
         self.navi_bar = [elem % self for elem in self.navi_bar]
-        self.backup_exclude = [elem % self for elem in self.backup_exclude]
 
         # check if python-xapian is installed
         if self.xapian_search:
@@ -660,7 +659,7 @@
   # ==========================================================================
   'auth': ('Authentication / Authorization / Security settings', None, (
     ('superuser', [],
-     "List of trusted user names with wiki system administration super powers (not to be confused with ACL admin rights!). Used for e.g. making full backups, software installation, language installation via SystemPagesSetup and more. See also HelpOnSuperUser."),
+     "List of trusted user names with wiki system administration super powers (not to be confused with ACL admin rights!). Used for e.g. software installation, language installation via SystemPagesSetup and more. See also HelpOnSuperUser."),
     ('auth', DefaultExpression('[MoinAuth()]'),
      "list of auth objects, to be called in this order (see HelpOnAuthentication)"),
     ('auth_methods_trusted', ['http', 'xmlrpc_applytoken'],
@@ -1093,22 +1092,6 @@
        "User object attributes that are not persisted to permanent storage (internal use)."),
     )),
 
-    'backup': ('Backup', None, (
-      ('compression', 'gz', None),
-      ('users', [], None),
-      ('include', [], None),
-      ('exclude',
-       [
-        r"(.+\.py(c|o)$)",
-        r"%(cache_dir)s",
-        r"%(/)spages%(/)s.+%(/)scache%(/)s[^%(/)s]+$" % {'/': os.sep},
-        r"%(/)s(edit-lock|event-log|\.DS_Store)$" % {'/': os.sep},
-       ],
-       None),
-      ('storage_dir', '/tmp', None),
-      ('restore_target_dir', '/tmp', None),
-    )),
-
     'openid_server': ('OpenID Server',
         'These settings control the built-in OpenID Identity Provider (server).',
     (