backup and restore of packages, repository keys, sources list and python packages (via pip)