diff --git a/scripts/BR.bat b/scripts/BR.bat index 3d3e94e8..5cd3d63c 100644 --- a/scripts/BR.bat +++ b/scripts/BR.bat @@ -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 ( diff --git a/scripts/BR.sh b/scripts/BR.sh index 79b4233d..2bc0e461 100644 --- a/scripts/BR.sh +++ b/scripts/BR.sh @@ -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