<p>I think many problems could arise from doing this manually such as missing or incompatible dependencies. As I had to do the same I just tested the following successfully:</p>
<h2>Making a backup of the OctoPi configuration (required)</h2>
<ul>
<li>Login on the OctoPi web ui</li>
<li>Click settings</li>
<li>Under OctoPrint (left menu) click on 'Backup &amp; Restore'</li>
<li>Click 'Create backup now' and when finished download the backup</li>
</ul>
<h2>Make a backup of the entire SD card (optional)</h2>
<p>You can make a full bit-to-bit copy (image) of the SD card as a backup <strong>or use another SD card for testing it first.</strong> On Windows you can for example download <a href="https://win32diskimager.org/" rel="nofollow noreferrer">Win32DiskImager</a> and make a full image/backup of the SD card.</p>
<h2>Flashing OctoPi with the new camera stack</h2>
<ul>
<li>Download and open <a href="https://www.raspberrypi.com/software/" rel="nofollow noreferrer">Raspberry Pi Imager</a></li>
<li>Choose 'Other specific-purpose OS' followed by '3D printing' and 'OctoPi'</li>
<li>Choose the 'OctoPi (new camera stack)' as shown below</li>
<li>Insert another SD card for testing or override your current SD card after you've made the backups as described above</li>
<li>Choose other specific settings if desired such as WiFi et cetera</li>
<li>Flash to SD card</li>
</ul>
<p><a href="https://i.sstatic.net/lgAHf.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/lgAHf.png" alt="Raspberry Pi Imager" /></a></p>
<h2>Restoring the OctoPi configuration</h2>
<ul>
<li>When finished, place the SD card in the Pi and start it up</li>
<li>When the Pi started open the Web UI again on the Welcome Wizard click Next</li>
<li>On the 'Restore Backup' screen select the backup you've made on the first step and wait for all plugins to install, config to be restored and Pi to restart</li>
</ul>

CC BY-SA 4.0
2024-01-10T19:16:35.053Z
2024-01-10T19:16:35.053Z
Bob Ortiz
<p>The new OctoPi camera stack is reported to be lighter, more efficient, and overall better. Old camera stack sometimes loses access to my camera during print, and only regains it after restart. Thus, obviously, I want to try the new one. Maybe it'll help with my specific problem, maybe it won't, but it has to be at least slightly better. I do not want to lose my uploaded files, Octolapse lapses, plugin config etc.</p>
<p>So, is there a way to upgrade to the new camera stack without reinstall? Or to save plugins, configs and files to restore them after reinstall?</p>

CC BY-SA 4.0
2024-01-04T14:34:03.130Z
Great question. I would love to do exactly the same thing. If I get to it and figure it out, I'll let you know. If you do earlier, please share. I'm currently in two long prints, I think you can use the built-in Backup and Restore. If you have two SD cards, I guess make a backup, write new stack to another SD, restore backup, test.
Bob Ortiz
<octopi>
How to migrate OctoPi to new camera stack without reinstall?
Mołot
# How to migrate OctoPi to new camera stack without reinstall?

(Asked by: username_0 on 2024-01-04)

The new OctoPi camera stack is reported to be lighter, more efficient, and overall better. Old camera stack sometimes loses access to my camera during print, and only regains it after restart. Thus, obviously, I want to try the new one. Maybe it'll help with my specific problem, maybe it won't, but it has to be at least slightly better. I do not want to lose my uploaded files, Octolapse lapses, plugin config etc.

So, is there a way to upgrade to the new camera stack without reinstall? Or to save plugins, configs and files to restore them after reinstall?

**Tags:** octopi

> **Comments:**
> **username_1**: Great question. I would love to do exactly the same thing. If I get to it and figure it out, I'll let you know. If you do earlier, please share. I'm currently in two long prints, I think you can use the built-in Backup and Restore. If you have two SD cards, I guess make a backup, write new stack to another SD, restore backup, test.  

---

## 1 answers

### Answer by username_1 on 2024-01-10. Score: 1 | Accepted answer

I think many problems could arise from doing this manually such as missing or incompatible dependencies. As I had to do the same I just tested the following successfully:

## Making a backup of the OctoPi configuration (required)

* Login on the OctoPi web ui
* Click settings
* Under OctoPrint (left menu) click on 'Backup & Restore'
* Click 'Create backup now' and when finished download the backup

## Make a backup of the entire SD card (optional)

You can make a full bit-to-bit copy (image) of the SD card as a backup **or use another SD card for testing it first.** On Windows you can for example download [Win32DiskImager](https://win32diskimager.org/) and make a full image/backup of the SD card.

## Flashing OctoPi with the new camera stack

* Download and open [Raspberry Pi Imager](https://www.raspberrypi.com/software/)
* Choose 'Other specific-purpose OS' followed by '3D printing' and 'OctoPi'
* Choose the 'OctoPi (new camera stack)' as shown below
* Insert another SD card for testing or override your current SD card after you've made the backups as described above
* Choose other specific settings if desired such as WiFi et cetera
* Flash to SD card

[![Raspberry Pi Imager](https://i.sstatic.net/lgAHf.png)](https://i.sstatic.net/lgAHf.png)

## Restoring the OctoPi configuration

* When finished, place the SD card in the Pi and start it up
* When the Pi started open the Web UI again on the Welcome Wizard click Next
* On the 'Restore Backup' screen select the backup you've made on the first step and wait for all plugins to install, config to be restored and Pi to restart


---

