[pacman-dev] [PATCH 2/2] Backup old database before updating and restore on failure