Compare commits

...

2 Commits

Author SHA1 Message Date
Jayofelony
4b33e5b6e5 Merge pull request #419 from C0d3-5t3w/noai
Added AT presets to BR.
2025-07-12 23:28:27 +02:00
5T3W
7b40b5e9df Added AT presets to BR. 2025-07-11 23:38:52 -07:00
2 changed files with 2 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ if errorlevel 1 (
)
echo [INFO] Backing up %UNIT_HOSTNAME% to %OUTPUT% ... >> "%LOGFILE%"
set "FILES_TO_BACKUP=/root/settings.yaml /root/client_secrets.json /root/.ssh /root/.api-report.json /root/.bashrc /root/.profile /home/pi/handshakes /root/peers /etc/pwnagotchi/ /usr/local/share/pwnagotchi/custom-plugins /etc/ssh/ /home/pi/.bashrc /home/pi/.profile /home/pi/.wpa_sec_uploads"
set "FILES_TO_BACKUP=/root/settings.yaml /root/client_secrets.json /root/auto-tune-presets /root/.ssh /root/.api-report.json /root/.bashrc /root/.profile /home/pi/handshakes /root/peers /etc/pwnagotchi/ /usr/local/share/pwnagotchi/custom-plugins /etc/ssh/ /home/pi/.bashrc /home/pi/.profile /home/pi/.wpa_sec_uploads"
ssh %UNIT_USERNAME%@%UNIT_HOSTNAME% "sudo tar -cf - %FILES_TO_BACKUP% | gzip -9" > "%OUTPUT%" 2>> "%LOGFILE%"
if errorlevel 1 (

View File

@@ -77,6 +77,7 @@ do_backup() {
FILES_TO_BACKUP="
/root/settings.yaml
/root/client_secrets.json
/root/auto-tune-presets
/root/.api-report.json
/root/.ssh
/root/.bashrc