pfsense:restore_from_backup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pfsense:restore_from_backup [2020/05/13 21:09] – peter | pfsense:restore_from_backup [2022/03/03 10:08] (current) – [Add the Backup file to the USB] peter | ||
---|---|---|---|
Line 67: | Line 67: | ||
---- | ---- | ||
- | ===== Using a Serial Cable (optional) | + | ===== Add the Backup file to the USB ===== |
- | Connect | + | pfSense can automatically restore |
- | Make sure that your tty device shows up in **/dev**. | + | After writing the installer image to the USB drive, you might see a partition named FATRECOV. |
- | * If you have a USB cable, you should see **/ | + | Otherwise, copy the backup file, named config.xml onto another USB drive, in the root directory. |
- | * If you have a regular cable you should see **/ | + | |
- | Verify: | + | <WRAP todo> |
+ | **TODO:** Check if this works: To Restore the config. | ||
- | <code bash> | + | To have the pfSense installer apply the config automatically at the end of the installation, |
- | ls /dev/ttyUSB0 | + | |
- | </ | + | |
- | returns: | ||
- | |||
- | <code bash> | ||
- | / | ||
- | </ | ||
- | |||
- | The same instructions would apply for **/ | ||
- | |||
- | <WRAP info> | ||
- | **NOTE: | ||
</ | </ | ||
- | |||
- | ---- | ||
- | |||
- | ==== Connect using Putty. ==== | ||
- | |||
- | Make sure you have **putty** installed, and start it as root: | ||
- | |||
- | <code bash> | ||
- | sudo putty | ||
- | </ | ||
- | |||
- | * Serial line: **/ | ||
- | * Connection type: **Serial**. | ||
- | * Speed: | ||
<WRAP info> | <WRAP info> | ||
- | **NOTE: | + | **NOTE: |
- | </ | + | |
- | Click **open** and your session should start. | + | See: [[PFSense: |
- | + | ||
- | <WRAP info> | + | |
- | **NOTE:** You may need to go into the BIOS of the router to allow it to boot up from the USB. | + | |
- | You also may need to press a key, such as F10 to make sure your USB stick has been detected. | ||
</ | </ | ||
- | |||
---- | ---- | ||
Line 134: | Line 102: | ||
---- | ---- | ||
+ | ===== Restore ===== | ||
+ | |||
+ | Choose **Recover config.xml** when the option appears. | ||
+ | |||
+ | Pick the existing installation drive (e.g. ada0), the selection list shows the disk name, size, and filesystem type which is typically enough to identify the disk. | ||
+ | |||
+ | Proceed through the installation as usual. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | https:// |
pfsense/restore_from_backup.1589404192.txt.gz · Last modified: 2020/07/15 09:30 (external edit)