-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# pfsenseBackup | ||
Backup script for Pfsense 2.3 or above. Downloads config file to direcotry and store it as a gzip file. Based on information from the pfsense doc https://doc.pfsense.org/index.php/Remote_Config_Backup | ||
|
||
#### Example: | ||
pfsenseBackup -d /var/backup/pfsense/ -h 192.168.0.1 -u admin -p mypassword | ||
|
||
#### Return codes | ||
0) Successfull backup | ||
1) Missing parameter | ||
2) Directory does not exist or is not writable. | ||
3) wget is missing or can not be found in path. | ||
4) gzip is missing or can not be found in path. | ||
5) backupfile could not be downloaded, possible network error/timeout. | ||
6) backupfile does not include xml tag <pfsense>, possible wrong credentials. |