diff --git a/backup.bash b/backup.bash index 5234ee7..63963aa 100644 --- a/backup.bash +++ b/backup.bash @@ -19,7 +19,5 @@ curl -d "ETC backed up" 192.168.1.168:83/openwrt_backup curl -d "Scripts backed up" 192.168.1.168:83/openwrt_backup /usb/scripts/bin/restic -r sftp:pi@192.168.1.168:/storage/backup/openwrt backup /root curl -d "Root backed up" 192.168.1.168:83/openwrt_backup -vnstat -i wan --exportdb > /usb/tmp/vnstat.db -/usb/scripts/bin/restic -r sftp:pi@192.168.1.168:/storage/backup/openwrt backup /usb/tmp/vnstat.db -rm /usb/tmp/vnstat.db +/usb/scripts/bin/restic -r sftp:pi@192.168.1.168:/storage/backup/openwrt backup /usb/vnstat/vnstat.db curl -d "Vnstat backed up" 192.168.1.168:83/openwrt_backup \ No newline at end of file