Federer defeated de Bakker 6-3, 6-2, 6-4 at the Palexpo indoor court as Switzerland qualified for next years's world group.
But Federer, 34, who led Switzerland to a first Davis Cup title in 2014, then hinted that he was rethinking his future in the tournament after a 16-year career.
“My idea was never to win it twice, the idea was always to win it once,” Federer told www.daviscup.com.
“I see this tie in isolation,” the Basel native said.
“Next year is an Olympic year,” he said.
“The summer will be very long and packed with highlights. It's all a question of priorities,” Federer said.
“I can't play everything and of course if I do play Davis Cup other things have to drop out.”
Switzerland was knocked out of this year's world group by Belgium when Federer and fellow star Stan Wawrinka were unavailable to play.
With the pair back in the line-up, they opened up a 2-0 lead over the Netherlands in Geneva on Friday before the Swiss dropped a double's match on Saturday.
French Open champion Wawrinka toiled to beat de Bakker 2-6, 6-3, 4-6, 6-3, 7-5 while Federer, just off his US Open final loss to Novak Djokovic, eased past world number 436 Jesse Huta Galung 6-3, 6-4, 6-3.
“He moves so fast on the court — he's like a ghost,” said Huta Galung of Federer.
De Bakker was left to regret a dramatic slump against Wawrinka having led 3-0 in the fourth set.
“I lost my head,” admitted de Bakker.
Meanwhile, Great Britain and Belgium on Sunday secured shock places in November's Davis Cup final.
Britain made their first final since 1978 with victory over Australia in Glasgow thanks to world number three Andy Murray's 7-5, 6-3, 6-2 win over Bernard Tomic in the first reverse singles.
With two-time Grand Slam winner Murray in their ranks they will start as favourites to win a first Davis Cup since 1936 when they go to Belgium for the November 27-29 final.
Belgium reached their first title match since 1904 with a tense 3-2 win over Argentina in Brussels with Steve Darcis, the world number 64, needing a fourth match point to defeat Federico Delbonis 6-4, 2-6, 7-5, 7-6 (7/3).
When Belgium last made the final in 1904 their opponents were also Britain who swept to a 5-0 triumph.
Nine-time winners Britain last won the Davis Cup in 1936 when Fred Perry and Bunny Austin sealed a 3-2 victory over Australia at Wimbledon.
“Winning for your country and your team-mates means a lot,” Murray told the BBC.
“The crowd were unbelievable from the first ball to the last,” he said.
“I didn't feel great the whole weekend to be honest, I've been struggling with my back, but I just tried to disguise it.”
It is a remarkable turnaround for a British team that have risen from being on the verge of relegation to Europe/Africa Group III in 2010 to being finalists in 2015.
In Brussels, world number 15 David Goffin kept Belgium afloat against Argentina with a routine 6-3, 6-2, 6-1 win over Diego Schwartzman to level their semi-final at 2-2.
Darcis, 31, then sealed victory for a Belgian side which had knocked out defending champions Switzerland in the first round.
“It's one of the biggest moments of my career. The atmosphere was unbelievable. Inside it was so hard to stay calm,” said Darcis who famously dumped Rafael Nadal out of Wimbledon in 2013.