Mistake in the sh file

This commit is contained in:
Fabio Woxxy
2011-09-17 18:53:21 +02:00
parent 2522f701cc
commit dce2df646f

View File

@ -24,7 +24,7 @@ else
fi fi
# we want at least two backups, two months, two weeks, and two days # we want at least two backups, two months, two weeks, and two days
s3cmd del --recursive s3://${S3BUCKET}/my-database-backups/previous_${PERIOD}/ s3cmd del --recursive s3://${S3BUCKET}/previous_${PERIOD}/
s3cmd mv --recursive s3://${S3BUCKET}/${PERIOD}/ s3://${S3BUCKET}/previous_${PERIOD}/ s3cmd mv --recursive s3://${S3BUCKET}/${PERIOD}/ s3://${S3BUCKET}/previous_${PERIOD}/
# upload all databases # upload all databases