ISISComputingGroup / ISISComputingGroup/IBEX

Misleading message from backup step of deploy

Open
#7,586 0 comments 0 reactions 0 assignees View on GitHub
training
Dominant language
No language data
Stars
6
Forks
2
Avg merge
16h 40m
Merged PRs (30d)
2

Description

```
Backup old directories ...
Moving C:\Instrument\Apps\EPICS to C:\data\old\ibex_backup_2023_01_20\EPICS
Running robocopy C:\Instrument\Apps\empty_dir_for_robocopy C:\Instrument\Apps\EPICS /PURGE /NJH /NJS /NP /NFL /NDL /NS /NC /R:1 /LOG:NUL ...
>

> Log File : \\.\NUL

Process failed with return code 2 (expected 0) and no output.
```
a return code of 2 is not a robocopy fail
```
0 No errors occurred, and no copying was done.
The source and destination directory trees are completely synchronized.

1 One or more files were copied successfully (that is, new files have arrived).

2 Some Extra files or directories were detected. No files were copied
Examine the output log for details.

4 Some Mismatched files or directories were detected.
Examine the output log. Housekeeping might be required.
```
an error code of 4 or more is an issue

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.