Kenji Morishige
2f0a95674c
Fix: Resolve relative path issue in backup script git operations
...
- Convert backup file path to absolute path before git add/commit
- Fixes 'pathspec did not match any files' error when using ../
- Use absolute_backup_path consistently in commit_to_git()
- Tested successfully: backups now commit to git without errors
2026-04-22 14:44:19 -05:00
Kenji Morishige
c8fe188cca
pfSense: Backup configuration (2026-04-22 14:44:09)
...
Contains:
- VLANs: 0
0
- Firewall rules: 42
- Backup timestamp: 2026-04-22_144408
File: pfsense-config-2026-04-22_144408.xml
SHA256: a9f250c4e47bf78c829684034c785772d8726e0d62af354dd4c21d6e668d6564
2026-04-22 14:44:09 -05:00
Kenji Morishige
dc92ffeb0a
pfSense: Backup configuration (2026-04-22 14:43:53)
...
Contains:
- VLANs: 0
unknown
- Firewall rules: 42
- Backup timestamp: 2026-04-22_144353
File: pfsense-config-2026-04-22_144353.xml
SHA256: a9f250c4e47bf78c829684034c785772d8726e0d62af354dd4c21d6e668d6564
2026-04-22 14:43:53 -05:00
Kenji Morishige
38f2aefecd
Add pfSense backup utility and documentation
...
- Add backup-pfsense-config.sh script for automated config backups via SSH
- Auto-commits backups to git with timestamped filenames
- Includes validation, error handling, and troubleshooting guides
- Add scripts/README.md with detailed usage and crontab examples
- Add BACKUP-QUICKSTART.md for quick reference commands
- Update README.md to reference automated backup workflow
- Create backups/ directory structure
The script tests SSH connectivity successfully to pfSense.
2026-04-22 14:42:43 -05:00