Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- USER="backup"
- PASSWORD=""
- HOST="restore-sambaashplatform.cgeca7kmt1eg.ap-southeast-1.rds.amazonaws.com"
- FILES="/mnt/backup/*"
- for f in $FILES
- do
- echo "Processing $f file..."
- mysql -- $HOST -u $USER -p$PASSWORD < $f
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement