1

I run the following command which all.sql.gz is greater than the amount of free space on hard drive....but somehow it completes without issue. Is it because of how the piping works?

mysqldump --defaults-file=/home/ec2-user/db-master.cnf --tz-utc=false --quick --all-databases --single-transaction --routines --triggers | gzip | s3cmd "$BACKUP_OPTIONS" put - "$BACKUP_S3PATH"/"php-pos-db"/"all".sql.gz >/dev/null 2>&1
Chris Muench
  • 417
  • 3
  • 9
  • 29

1 Answers1

1

I don't see anything in your command that would result in any data being written to your hard drive at all. It's not surprising that it would not use any hard drive space, because it does not use any hard drive space.

Michael Hampton
  • 237,123
  • 42
  • 477
  • 940