diff --git a/README.md b/README.md index 8a166ef..1e8488b 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ spod-manager.sh is manager tool for SPOD application of ROUTE-TO-PA European project all rights are reserved. 2015 list of arguments: -h, --help show commands help. - -a, --action=ACTION specify an action install, uninstall, update and backup. + -a, --action=ACTION specify an action install, uninstall, update, backup and restore. -m, --mysql-username=username specify the username of mysql (*). -n, --mysql-password=password specify the password of mysql server (*). -o, --mysql-address=address specify the address of mysql server (deafult is localhost). @@ -28,7 +28,7 @@ -r, --spod-git-password=password specify the passoword of SPOD git server (*). -s, --spod-git-address=address:port specify the SPOD git server (deafult is service.routetopa.eu:7480). -w, --spod-hostname=hostname specify the SPOD host name (example http://spod.routetopa.eu/). - -d, --spod-database-version=db specify the SPOD db git path located in db_dump of SPOD git core (example oxwall_v.0.1_antares.sql, deafults is really simple SPOD and Oxwall installation). + -d, --spod-database-version=db specify the SPOD db git path located in db_dump of SPOD git core (example in backup action: oxwall_v.0.1_antares.sql, deafults is really simple SPOD and Oxwall installationi; in restore action use a local db dump). -b, --backup-dir=DIR specify the directory where store the spod backup (default is current directory). * the arguments is required. @@ -48,4 +48,8 @@ ### UPDATE SPOD - sudo ./spod-manager.sh -a update -p usergit -q emailuserigit -r passgit \ No newline at end of file + sudo ./spod-manager.sh -a update -p usergit -q emailuserigit -r passgit + +### RESTORE SPOD + + sudo ./spod-manager.sh -a restore -m root -n mysqlpass -d /home/user/spod-manager/oxwall_version_dump.sql \ No newline at end of file