Increased backup efficiency by saving items one by one instead of storing the whole database in memory