Phil Masturzo / USA TODAY NETWORK / USA TODAY NETWORK

The San Francisco 49ers have a new backup quarterback, signing veteran journeyman Joshua Dobbs on Monday.

Dobbs and the Niners agreed to a one-year contract for $2.25 million with another $750,000 in playing-time incentives, NFL Network and ESPN reported.

Dobbs is projected to be the No. 2 behind Brock Purdy after Sam Darnold left for the Minnesota Vikings in free agency.

Dobbs, 29, is coming off a unique season that saw him traded twice and make more starts than he ever had in his NFL career.

The Cleveland Browns dealt Dobbs to the Arizona Cardinals at the end of training camp while the latter was still waiting on Kyler Murray to return from injury. Dobbs started eight games there, going 1-7, before the Vikings acquired him before the trade deadline after Kirk Cousins tore his Achilles.

Dobbs subbed in for an injured Jaren Hall in his first game with Minnesota and guided the Vikings to a 31-28 comeback win over the Atlanta Falcons. He ended up being the starter for four additional games, going 2-2.

Across those 13 games (12 starts), Dobbs threw for 2,464 yards, 13 touchdowns and 10 interceptions. He had two starts at the end of the 2022 season for the Tennessee Titans, the first two of his career.

More must-reads:

TODAY'S BEST
Do Oilers need more from Connor McDavid to get to Stanley Cup Final?
All-Rookie teams show gems available all over draft
The NBA has not witnessed this much parity in 50 years
Knicks expected to be 'aggressive' in upgrading their roster
Drew Bledsoe offers advice for Patriots rookie QB Drake Maye
2024 AFC revenge games: Brothers, 'Stefon Diggs Bowl' to take center stage
2024 NFC revenge games: Which game should Cowboys, others have circled?
How All-Star Race victory could turn Joey Logano's season around
Xander Schauffele's triumph could open the floodgates for his career
Anderson Silva, Chael Sonnen will finish off their trilogy in a boxing ring
Ranking the five best MLB free-agent signings of offseason
Veteran WR, former first-round pick announces NFL retirement
Oilers advance to West Final again after holding off Canucks in Game 7
Bengals star WR not expected to sign franchise tender before OTAs
Red Sox RHP diagnosed with ligament damage in elbow
Watch: Caitlin Clark shows off range with logo three, but Fever fall short
Former Dolphins receiving leader announces his retirement from NFL
Detroit Lions dominate PFF's top-25 players under 25
Hall of Famer, legendary Raiders offensive lineman dead at 86
Report: Cavs owner 'would never' trade Donovan Mitchell to this team