Project

General

Profile

Bug #11110

Backup file should be checked before restoring a specific area

Added by Danilo Zrenjanin 6 months ago. Updated 5 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Backup / Restore
Target version:
Start date:
11/27/2020
Due date:
% Done:

0%

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

Description

There is no check which would prevent restoring a specific area from the full backup.

I have successfully restored the DNS Resolver area from a full backup file.

On the docs page, there is a warning:
This does not restore one area from a full backup, the backup file must only contain the area to restore.
https://docs.netgate.com/pfsense/en/latest/backup/restore.html#restore-options

History

#1 Updated by Danilo Zrenjanin 6 months ago

Also, it would be helpful to note "This value must match the Backup area chosen when creating the backup." next to the restore area dropdown box.

#2 Updated by Viktor Gurov 6 months ago

"keep switch configuration" checkbox is not detailed in docs

#3 Updated by Danilo Zrenjanin 6 months ago

Opened https://redmine.pfsense.org/issues/11112 for tracking the documentation changes.

#4 Updated by Jim Pingle 6 months ago

  • Subject changed from backup.xml file shoulud be checked before restore to Backup file should be checked before restoring a specific area
  • Target version changed from 2.5.0 to CE-Next

The behavior here may have changed recently as well. I think someone did make it so that a single area should be usable from a whole file when restoring a backup, but I don't know that it's been tested well enough to advertise it as fully supported yet.

#5 Updated by Marcos Mendoza 5 months ago

FWIW I remember restoring a specific area from a full backup many months ago. Never knew it wasn't supposed to work! Granted, I didn't recheck for possible issues after the restore.

Also available in: Atom PDF