Commit 7c79bebe9b6fc5349e2b575e2ea512c2daba8515

Authored by Carmine Spagnuolo
2 parents d641c4f5 d8ea2af0

Merge branch 'master' of http://service.routetopa.eu:7480/carspa/spod-manager

Showing 1 changed file with 7 additions and 3 deletions
README.md
... ... @@ -19,7 +19,7 @@
19 19 spod-manager.sh is manager tool for SPOD application of ROUTE-TO-PA European project all rights are reserved. 2015
20 20 list of arguments:
21 21 -h, --help show commands help.
22   - -a, --action=ACTION specify an action install, uninstall, update and backup.
  22 + -a, --action=ACTION specify an action install, uninstall, update, backup and restore.
23 23 -m, --mysql-username=username specify the username of mysql (*).
24 24 -n, --mysql-password=password specify the password of mysql server (*).
25 25 -o, --mysql-address=address specify the address of mysql server (deafult is localhost).
... ... @@ -28,7 +28,7 @@
28 28 -r, --spod-git-password=password specify the passoword of SPOD git server (*).
29 29 -s, --spod-git-address=address:port specify the SPOD git server (deafult is service.routetopa.eu:7480).
30 30 -w, --spod-hostname=hostname specify the SPOD host name (example http://spod.routetopa.eu/).
31   - -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).
  31 + -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).
32 32 -b, --backup-dir=DIR specify the directory where store the spod backup (default is current directory).
33 33 * the arguments is required.
34 34  
... ... @@ -48,4 +48,8 @@
48 48  
49 49 ### UPDATE SPOD
50 50  
51   - sudo ./spod-manager.sh -a update -p usergit -q emailuserigit -r passgit
52 51 \ No newline at end of file
  52 + sudo ./spod-manager.sh -a update -p usergit -q emailuserigit -r passgit
  53 +
  54 +### RESTORE SPOD
  55 +
  56 + sudo ./spod-manager.sh -a restore -m root -n mysqlpass -d /home/user/spod-manager/oxwall_version_dump.sql
53 57 \ No newline at end of file
... ...