added backup / restore support