Commit 41f7969717c105889db40efdfc9ee320ab97405f
Merge branch 'master' of http://service.routetopa.eu:7480/carspa/spod-manager
Showing
1 changed file
with
8 additions
and
3 deletions
README.md
| ... | ... | @@ -28,6 +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 | + -e, --spod-www-backup=www-folder specify the SPOD www folder path. | |
| 31 | 32 | -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 | 33 | -b, --backup-dir=DIR specify the directory where store the spod backup (default is current directory). |
| 33 | 34 | * the arguments is required. |
| ... | ... | @@ -48,8 +49,12 @@ |
| 48 | 49 | |
| 49 | 50 | ### UPDATE SPOD |
| 50 | 51 | |
| 51 | - sudo ./spod-manager.sh -a update -p usergit -q emailuserigit -r passgit | |
| 52 | + sudo ./spod-manager.sh -a update -p usergit -q emailuserigit -r passgit -w http://spod.routetopa.eu/ | |
| 52 | 53 | |
| 53 | -### RESTORE SPOD | |
| 54 | +### RESTORE DB SPOD | |
| 54 | 55 | |
| 55 | - sudo ./spod-manager.sh -a restore -m root -n mysqlpass -d /home/user/spod-manager/oxwall_version_dump.sql | |
| 56 | 56 | \ No newline at end of file |
| 57 | + sudo ./spod-manager.sh -a restoredb -m root -n mysqlpass -d /home/user/spod-manager/oxwall_version_dump.sql | |
| 58 | + | |
| 59 | +### RESTORE ALL SPOD | |
| 60 | + | |
| 61 | + sudo ./spod-manager.sh -a restoreall -m root -n mysqlpass -e /var/www -d /home/user/spod-manager/oxwall_version_dump.sql | |
| 57 | 62 | \ No newline at end of file | ... | ... |