Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Dalesjo authored Mar 27, 2017
1 parent 71d9a35 commit 7dc5e58
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
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.

0 comments on commit 7dc5e58

Please sign in to comment.