We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e7e87b3 + 978108e commit c084becCopy full SHA for c084bec
sync.gsutil
@@ -1,10 +1,10 @@
1
#!/bin/bash
2
3
-BOTO_PATH=/backup/serverbackup/boto.cfg
+export BOTO_PATH=/backup/serverbackup/boto.cfg
4
5
if [ "$DRY_RUN" ]; then
6
- /backup/gsutil/gsutil rsync -r $1 gs://$2/$3
7
-else
8
/backup/gsutil/gsutil rsync -n -r $1 gs://$2/$3
+else
+ /backup/gsutil/gsutil rsync -r $1 gs://$2/$3 2> /dev/null
9
fi
10
exit $?
0 commit comments