X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=tools%2Fupgrade-db.py;fp=tools%2Fupgrade-db.py;h=8fae60710d329e32cd0879d6e74a9c116ef4e9de;hb=e026a19a5cfc0f95b0b4ffa48e569f9002812768;hp=49c76fac3add2a8707b3e744048ef09bb606358e;hpb=f70214b8b6650a7fabaa5ab80b95a246b4d565ae;p=plcapi.git diff --git a/tools/upgrade-db.py b/tools/upgrade-db.py index 49c76fa..8fae607 100755 --- a/tools/upgrade-db.py +++ b/tools/upgrade-db.py @@ -6,7 +6,10 @@ # 2) Config File - the config file that describes how to convert the db # # Notes: -# 1) Script will attempt to conver the db defined in /etc/planetlab/plc_config +# 1) Will attempt to convert the db defined in /etc/planetlab/plc_config +# 2) Does not automatically drop archived database. They must be removed +# manually + import sys import os import getopt