From d09c43870f6df81c11a17b40e8197ad5b1a0f25d Mon Sep 17 00:00:00 2001 From: infernvs Date: Wed, 18 Oct 2017 11:40:04 +0100 Subject: [PATCH] remove duplicated stuff --- backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup.sh b/backup.sh index 0f1484d..5f125fc 100644 --- a/backup.sh +++ b/backup.sh @@ -33,7 +33,7 @@ curl -s -X POST https://api.telegram.org/bot$api/sendMessage -d chat_id=$chatid # Copy over ssh curl -s -X POST https://api.telegram.org/bot$api/sendMessage -d chat_id=$chatid -d text="Copy backup $archive_file to orangepi" -scp $dest/$archive_file user@host:~/backups:~/backups +scp $dest/$archive_file user@host:~/backups #finished copy curl -s -X POST https://api.telegram.org/bot$api/sendMessage -d chat_id=$chatid -d text="Backup $archive_file to orangepi complete"