To have two strings to one's bow

to have a means or expedient in reserve in case the one employed fails.

See also: String