I say from experience camping - if you plan to ride in the rain on a regular basis, get something more waterproof than a trash bag. Those thing will always develop holes in them.
It's not bad to just line your backpack with a waterproof bag, just get something more durable to do it with.