2.30 FAQ-464 How can I recover a damaged Origin file?

Last Update: 10/9/2020

When you save an Origin project file, Origin firsts saves a copy of the file, as it existed when it was last saved, to backup. If you find that your project file has become corrupted, you may be able to recover the previously saved version of the file by opening a backup file:

1. Locating and Opening your Backup Project File


Once you have located the backup file, open it in Origin. If this is the file you seek:

2. Recovering Datasets from a Corrupted Project

If method (1) doesn't work, try the following: Open your corrupted project file, then open the Script Window (Window:Script Window) and type:

list s

and press Enter. If the file is not too corrupted, a list of datasets will be returned. The list will look similar to this example:

 1	MyData_Time
 2*	MyData_Sample1
 3*	MyData_Sample2
 4	Data2_A
 5*	Data2_B
 6*	Data2_C

Which lists two different worksheets : MyData and Data2. To recover these datasets, use the Edit command to recreate all worksheets one by one. For example, run:

Edit MyData_Sample1;

and press Enter. This will bring up the "MyData" worksheet including all three associated datasets.

After Origin 2021, you can use following command to recreate all worksheets at one run:

run -oc EditAllSeries;

Unfortunately graph windows cannot be recovered.

After "editing" each worksheet copy/paste the data from the first instance of Origin (the corrupted file) to a second instance of Origin (a non-corrupted file). Alternatively, you can export the worksheet data in the corrupted file (select File: Export ASCII from the main menu) and then import the ASCII data into a new Origin project file.


See Also:


Keywords:damaged file, recovery, corrupted,