From: Nils Date: Sat, 9 Nov 2024 03:48:45 +0000 (+0100) Subject: removed unesescary shit X-Git-Url: https://gitweb.forssennils.se/?a=commitdiff_plain;h=7675628ca2cb733c98b95ca21efc024512cc7881;p=windows_backup_script.git removed unesescary shit --- diff --git a/backup_script.bat b/backup_script.bat index 19030aa..60cc407 100644 --- a/backup_script.bat +++ b/backup_script.bat @@ -2,10 +2,4 @@ cd C://users//forss tar -cvpzf backup/backup.tar.gz ./Documents ./Videos ./Pictures ./Music ./Downloads D:/Documents D:/Pictures D:/Videos -scp backup/backup.tar.gz nils@%SERVER_IP%:~/backup_tar/ - -ssh nils@%SERVER_IP% cp backup_tar/backup.tar.gz /backup/ - -ssh nils@%SERVER_IP% tar -xpvf /mnt/USB/backup/backup.tar.gz -C /backup/ - -ssh nils@%SERVER_IP% rm -rf backup_tar/backup.tar.gz \ No newline at end of file +scp backup/backup.tar.gz nils@%SERVER_IP%:~/backup_tar/ \ No newline at end of file