Skip to content

Commit

Permalink
insecure connection applied.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anonycoders committed Jul 3, 2020
1 parent 73bcd2e commit bc44f79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ mirror_s3 () {

echo "Mirroring buckets from ${SOURCE_STORAGE} to ${DESTINATION_STORAGE}..."

./mc mirror SOURCE DESTINATION
./mc --insecure mirror SOURCE DESTINATION

if [ $? != 0 ]; then
>&2 echo "Error in migarating files from ${SOURCE_STORAGE} to ${DESTINATION_STORAGE}!"
fi

}

mirror_s3 $MC_HOST_SOURCE $MC_HOST_SOURCE
mirror_s3 $MC_HOST_SOURCE $MC_HOST_DESTINATION

0 comments on commit bc44f79

Please sign in to comment.