User Tools

Site Tools


pfsense:restore_from_backup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
pfsense:restore_from_backup [2021/01/06 11:28] – [Add the Backup file to the USB] peterpfsense:restore_from_backup [2022/03/03 10:08] (current) – [Add the Backup file to the USB] peter
Line 75: Line 75:
 Otherwise, copy the backup file, named config.xml onto another USB drive, in the root directory. Otherwise, copy the backup file, named config.xml onto another USB drive, in the root directory.
  
-<WRAP info+<WRAP todo
-**NOTE:** An alternative to booting up from USB is to connect using a Console Cable.+**TODO:** Check if this works: To Restore the config.
  
-See: [[PFSense:Install pfSense:Installation of pfSense:Connect using a Console Cable|Connect using a Console Cable]]+To have the pfSense installer apply the config automatically at the end of the installation, place the config file under **/conf/config.xml** on the install USB.
  
 </WRAP> </WRAP>
  
- 
- 
----- 
- 
-===== Using a Serial Cable (optional) ===== 
- 
-Connect the console cable to the router. 
- 
-See https://docs.netgate.com/pfsense/en/latest/solutions/sg-1100/connect-to-console.html#configuring-serial-terminal-emulator. 
- 
-Make sure that your tty device shows up in **/dev**. 
- 
-  * If you have a USB cable, you should see **/dev/ttyUSB0**. 
-  * If you have a regular cable you should see **/dev/ttyS0**. 
- 
-Verify:  
- 
-<code bash> 
-ls /dev/ttyUSB0  
-</code> 
- 
-returns: 
- 
-<code bash> 
-/dev/ttyUSB0 
-</code> 
- 
-The same instructions would apply for **/dev/ttyS0** if you used that type of cable instead of a USB console cable. 
  
 <WRAP info> <WRAP info>
-**NOTE:**  If you are using Windows, your Serial port will simply be called **COM1**. +**NOTE:** An alternative to booting up from USB is to connect using a Console Cable.
-</WRAP>+
  
- +See[[PFSense:Install pfSense:Installation of pfSense:Connect using Console Cable|Connect using a Console Cable]]
----- +
- +
-==== Connect using Putty. ==== +
- +
-Make sure you have **putty** installed, and start it as root: +
- +
-<code bash> +
-sudo putty +
-</code> +
- +
-  * Serial line **/dev/ttyUSB0**.  or **ttyS0** if not using a USB console cable. +
-  * Connection type **Serial**. +
-  * Speed **115200**. +
- +
-<WRAP info> +
-**NOTE:**  If you use Windows, launch putty with administrative privileges. +
-</WRAP> +
- +
-Click **open** and your session should start. +
- +
-<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 key, such as F10 to make sure your USB stick has been detected. +
-</WRAP> +
- +
- +
----- +
- +
-==== Alternatively connect using Screen ==== +
- +
-<code bash> +
-sudo screen /dev/ttyUSB0 115200 +
-</code> +
- +
-<WRAP info> +
-**NOTE:**  If the command above fails, try a different device for the serial console. +
- +
-Other values could be /dev/ttyUSBx or /dev/ttySx (where x is number, starting from 0).+
  
 </WRAP> </WRAP>
pfsense/restore_from_backup.1609932499.txt.gz · Last modified: 2021/01/06 11:28 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki