Skip to content

Commit 7988725

Browse files
Update backup.sh
1 parent a2c35eb commit 7988725

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/cron/backup.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#!/bin/bash
22

33
source /opt/Gooby/menus/variables.sh
4+
source $CONFIGS/Docker/.env
45
BACKUP=/tmp/$(date +%F).tar.gz
56

67
echo
@@ -14,5 +15,5 @@ echo
1415
echo "${GREEN}Copying to Google...${STD}"
1516
echo
1617

17-
/usr/bin/rclone copy ${BACKUP} Gdrive:/Backup/$(hostname) --checksum --drive-chunk-size=64M
18+
/usr/bin/rclone copy ${BACKUP} $RCLONESERVICE:/Backup/$(hostname) --checksum --drive-chunk-size=64M
1819
sudo rm ${BACKUP}

0 commit comments

Comments
 (0)