Commit fe9c42481e46e06a1665e46691e7b01d442adc6e
1 parent
6a03969d
restore
Showing
1 changed file
with
6 additions
and
2 deletions
README.md
... | ... | @@ -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 | ... | ... |