Skip to content

Commit 0a70573

Browse files
committed
Add restoring from backup deployment instructions
1 parent 9678926 commit 0a70573

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

doc/deployment/deploy/Deployment-on-an-Instrument-Control-PC.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,26 @@ If you do not have either a D: or O: network drive, then you will need to specif
2929
- Do not remove any SECI icons from the task list if this is not the first time install
3030
1. Compare screenshots taken earlier to current state
3131

32+
## Restore IBEX from backup(s)
33+
34+
As part of the deployment script, backup zip files will be created in `C:\data\old\ibex_backup_<date>`.
35+
If you need to go back to a previous backup, you can restore a full backup using the `tar` command, which
36+
is available in any `cmd` window.
37+
38+
For example, to restore `c:\Instrument\Apps\Python3` from a backup, run the following in a `cmd` window:
39+
40+
```
41+
mkdir c:\Instrument\Apps\Python3
42+
tar -xf c:\data\old\ibex_backup_<date>\Python3.zip -C c:\Instrument\Apps\Python3
43+
```
44+
45+
If the `mkdir` step fails with the target directory already existing, delete or move it elsewhere
46+
before restoring the backup.
47+
48+
If you instead wish to just restore/check the contents of a single file, the backups are standard `.zip`
49+
archives which can be browsed using any zip tool - for example `7-zip` is relatively convenient and widely
50+
installed on NDX computers.
51+
3252
## Install IBEX for the first time
3353
_Note this is unlikely to happen now we've migrated most instruments, and SECI instruments should have a copy of IBEX at the least._
3454
<details>

0 commit comments

Comments
 (0)