anchor.diff:  :: Sufficient local drive space for 7 days of backups.
   :: Access to an off-box network drive for a second copy of the backup files.
   :: Space on the network drive for 7 days of backups.
  +:: An Amazon AWS S3 account.
  +:: The AWS CLI installed on the server:  https://aws.amazon.com/cli/
   :: The ability to schedule and run scripts on the Tableau Server at elevated authority.
   ::
   :: Usage
  
positive.code: set backup_name=%file_name%.tsbak
  set from_dir=%bin_dir%
  set to_dir=<absolute path to an accessible network drive directory off box>
  ::----------------------------------------
  :: STOP EDITING HERE
  ::----------------------------------------
  
negative.code: echo ******Backup FINISHING %date%:%time%****** >> %log%
  echo. >> %log%
  
  echo ******Copying backup to network drive %date%:%time%****** >> %log%
  echo copy /Y %backup_name% %to_dir% >> %log%
  copy /y %backup_name% %to_dir%
  echo ******Copying backup to AWS S3 %date%:%time%****** >> %log%
  echo cd %aws_bin% >> %log%
  cd %aws_bin%
  echo aws s3 cp %bin_dir%\%backup_name% %s3_dir% >> %log%
  aws s3 cp %bin_dir%\%backup_name% %s3_dir%
  echo cd %bin_dir% >> %log%
  cd %bin_dir%
  echo ******Backup copied %date%:%time%****** >> %log%
  echo. >> %log%
  
  