 # Variables
    BACKUP_FILE=$1
    PGUSER=postgres
    PGPASSWORD=postgres
    PGDATABASE=mydb
    CONTAINER_NAME=db-c    

   # Restore the database
   cat $BACKUP_FILE | docker exec -i $CONTAINER_NAME psql -U $PGUSER -d $PGDATABASE <"./database/backups/$BACKUP_FILE"

   echo "Database restored from: /database/backups/$BACKUP_FILE"