Cannot perform backup

What is the problem?

I'm trying to update to the latest PI OS and Octoprint with a new system image, but I can't find the backup plugin in my current version.

What did you already try to solve it?

Reinstalled 1.10

Have you tried running in safe mode?

n/a

Did running in safe mode solve the problem?

n/a

Systeminfo Bundle

You can download this in OctoPrint's System Information dialog ... no bundle, no support!)

octoprint-systeminfo-20250715101616.zip (102.5 KB)

Additional information about your setup

OctoPrint version, OctoPi version, printer, firmware, browser, operating system, ... as much data as possible

Raspberry PI Zero 2 W
PI OS: Bullseye
Octoprint: 1.11.2

Hello @garumble !

When you run an fresh installed OctoPi/OctoPrint setup, you will be asked quite soon to upload the backup-file.

Else you should find it here:

OctoPrint Settings -> OctoPrint -> Backup & Restore

It comes with installation.

I don't appear to have that.

You are correct. Examining octoprint.log in the bundle you provided shows that at some point in the past you had it but more recently, there is an error loading the plugin (as shown below).

It is going to take someone with more intimate knowledge to determine if/how you can recover from this failure.

You haven't mentioned what system you are using to create the new image but I believe it is Windows. Can you SSH into your RPi Zero 2 W with PuTTY? Do you have (or can you install) WinSCP? If you have a micro USB to USB-A adapter, you could use an USB flash drive instead of WinSCP to copy existing files off of your current image.

Assuming we can't figure out how to recover Backup & Restore on you existing image, you can use information in the bundle to determine which plugins you have installed on your current system and use WinSCP to manually copy any data on the current system you wish to save.

Start over with a fresh microSD card (so you can keep the current card for future recovery) and use version 1.9.5 of the Raspberry Pi Imager to generate a current OctoPi image.

	Line  490: |  Backup & Restore (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/backup
	Line  686: 2025-07-14 07:56:56,085 - octoprint.plugin.core - ERROR - Error loading plugin backup
2025-07-14 07:56:56,085 - octoprint.plugin.core - ERROR - Error loading plugin backup
Traceback (most recent call last):
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugin/core.py", line 1339, in _import_plugin
    module = _load_module(spec)
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugin/core.py", line 74, in _load_module
    spec.loader.exec_module(sys.modules[spec.name])
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/backup/__init__.py", line 47, in <module>
    from octoprint.util.text import sanitize
  File "/home/pi/oprint/lib/python3.7/site-packages/octoprint/util/text.py", line 6, in <module>
    from emoji import demojize
  File "/home/pi/oprint/lib/python3.7/site-packages/emoji/__init__.py", line 60, in <module>
    from emoji.core import *
  File "/home/pi/oprint/lib/python3.7/site-packages/emoji/core.py", line 15, in <module>
    from typing_extensions import Literal, Match, TypedDict  # type: ignore
ImportError: cannot import name 'Match' from 'typing_extensions' (/home/pi/oprint/lib/python3.7/site-packages/typing_extensions.py)

I have already created a new image and you are correct that I am using Windows.
Yes, I can ssh into the PI.
I've tried reverting to older versions of Octoprint to no avail.
What do I need to copy to the new image to restore from the current one?

Please do not mix up OctoPrint and OctoPi.

So, what image did you use (link)?

I followed the instructions here to create the new image:

I used this to downgrade the current image:
~/oprint/bin/pip install https://github.com/OctoPrint/OctoPrint/archive/1.9.0.zip

You "need" nothing! There is no reason to downgrade anything!

The new image should connect to your printer, and you should be able to upload files to be printed from the system that has your slicer installed.

The old image may have some plugins that you installed because they were useful to you. The list below was extracted from octoprint.log in the bundle you provided. Ignore anything with (bundled) in the name.

2025-07-13 07:56:51,854 - octoprint.plugin.core - INFO - 26 plugin(s) registered with the system:
| !Achievements Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/achievements
|  Action Command Notification Support (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/action_command_notification
|  Action Command Prompt Support (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/action_command_prompt
|  Announcement Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/announcements
|  Anonymous Usage Tracking (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/tracking
|  Application Keys Plugin (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/appkeys
|  Backup & Restore (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/backup
|  Classic Webcam (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/classicwebcam
|  Convert TF to SD (1.0.0) = /home/pi/.octoprint/plugins/Convert_TF_SD.py
|  Core Wizard (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/corewizard
|  Discovery (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/discovery
|  DisplayProgress (0.1.3) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_displayprogress
|  Error Tracking (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/errortracking
|  Event Manager (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/eventmanager
|  File Check (2024.11.12) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_file_check
|  Firmware Check (2021.10.11) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_firmware_check
|  GCode Viewer (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/gcodeviewer
|  Logging (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/logging
|  Long-SD-list-paths (1.0.0) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_LongPathSDList
|  M73 Progress Plugin (0.2.1) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_m73progress
|  Pi Support Plugin (2023.10.10) (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_pi_support
|  Plugin Manager (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/pluginmanager
|  Smart Filament Sensor (1.2) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_smart_filament_sensor
|  SMS Notifier (with Twilio) (0.3.2) = /home/pi/oprint/lib/python3.7/site-packages/octoprint_smsnotifier
|  Software Update (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/softwareupdate
|  Virtual Printer (bundled) = /home/pi/oprint/lib/python3.7/site-packages/octoprint/plugins/virtual_printer
Prefix legend: ! = disabled, # = blacklisted, * = incompatible

Use the new image and keep the old image (microSD card) around. Over time you may discover something "missing", you can tell us in general terms what that is, and we can help you find it in the old image.

I attempted downgrading to see if the backup/restore returned. It did not.

Well, I'm not worried about the gcode files (I located them anyway). But I have several plugins whose values I set by lengthy trial and error. I'm not anxious to repeat that process.

How do I go about obtaining that configuration information and moving it to the new image?