Project

General

Profile

Actions

Bug #13021

closed

Image data of dashboard image widget does not get backed up

Added by Ronald Antony over 2 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Backup / Restore
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

The dashboard has a rather useful image widget, which by using distinctive images, drastically lowers the chance of making configuration changes to the wrong instance.

It turns out, configuration backups do not include the image uploaded for display in that widget. After a system re-installation and restore of a prior configuration, the image widget has no contents.

The image should be backed up as part of the configuration backup.


Related issues

Is duplicate of Bug #12774: Picture widget image is not saved in backupNew

Actions
Actions #1

Updated by Kris Phillips over 2 years ago

Ronald,

The only thing that is backed up when pfSense is backed up is the config file. I'm not sure what "image" you're referring to, but unless it's RRD data this is intended and by design. There is no way to store an image file in an XML file for backup purposes.

Please clarify your issue.

Actions #2

Updated by Ronald Antony over 2 years ago

I’m not sure how I’m supposed to clarify.
It’s pretty easy what I’m talking about: go to the dashboard, add an image widget (yes that exists!), and then configure that widget by uploading an image. That image is not backed up, but it should, because it’s part of a system’s configuration, just like the rest of the widgets.
The image allows a host to show a random host specific picture, such that it’s easy to keep hosts apart if one e.g. has a dozen dashboard windows open for a dozen branch offices’ gateways.
The Paris office may show the Eiffel Tower, the London office Big Ben, etc.
If one backs up a system’s configuration, that image must be part of it; it’s not some random file, it’s configuration data.

Actions #3

Updated by Ronald Antony over 2 years ago

Oh, and ANYTHING can be stored in an XML file, that’s what base64 encoded blobs are for.

Actions #4

Updated by Ronald Antony over 2 years ago

Oops, sorry, there’s something to clarify: the widget is called “Picture” not “Image”

Actions #5

Updated by Viktor Gurov over 2 years ago

  • Is duplicate of Bug #12774: Picture widget image is not saved in backup added
Actions #6

Updated by Viktor Gurov over 2 years ago

  • Status changed from New to Duplicate

Duplicate of #12774

Actions

Also available in: Atom PDF