Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gcartlidge authored Oct 16, 2021
1 parent 2f445d7 commit 29ad034
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@

Running BackupRestore.exe with -h, "BackupRestore.exe -h" on CMD will give you the following guide to running
<br>
`BioStar2 Backup & Restore -p <PortNumber> -k <KeyFile> -c <CertFile> -a <IP Address> -r <Resource Folder Location>`
`BioStar2 Backup & Restore -p <PortNumber> -k <KeyFile> -c <CertFile> -a <IP Address>`
<br><br>
An example of the proper running ettiquete is below:<br>
`BackupRestore.exe -p 449 -a 127.0.0.1 -k "C:\\biostar_cert.key" -c "C:\\biostar_cert.crt" -r "C:\\PythonTool\\BioStar2PythonBackupTool\\res"`
<br><br>
You have to define the resource folder when running the utility (During testing, when ran as admin (As needed for restore)
<br>
There were problems, as the utility kept going to tempfiles instead of the res. Just define it before running and it will be fine!
`BackupRestore.exe -p 449 -a 127.0.0.1 -k "C:\\biostar_cert.key" -c "C:\\biostar_cert.crt"`
<br><br>
The download link for the backup will only work if site is secure (Or changed chrome settings)
<br>
Expand All @@ -19,6 +15,6 @@ The tool by default is setup for 64 bit usage, but the folders used for backup c
<br>
The mysqldump.exe and mysql.exe instances can also be changed but use the default ones in the BioStar2 (x64) folder.
<br><br>
Included cert files are for my specific installation, replace path in running above or actual files with your own BioStar2 ones. From (nginx\conf).
Replace -c and -k path in running above with BioStar2 .crt and .key files from (nginx\conf).
<br><br>
Its still rough, but any ideas, shoot me an email at [email protected] :)

0 comments on commit 29ad034

Please sign in to comment.