On 2014-02-17 16:24, malcolmlewis wrote:
> On Mon 17 Feb 2014 03:04:13 PM CST, Carlos E. R. wrote:
> Hi
> My situation is a bit different as I run SUSE Manager which deploys
> all the rpms, updates, local rpms, repos from obs etc for
> openSUSE and SLE (around 41GB at present), but in saying that would it
> not make sense to just slowly rsync updates down. Then use YaST add on
> creator to make an iso image of the updates.
Ah.
> Then if you do a re-install you can then use this (check the add on
> disk option) when rebuilding the machine… You can then have the
> portability of both an install dvd and an update dvd(s)…
Well, I do something similar. Kind of.
I keep a directory on my big machine, shared via ntfs, where I keep the
stuff from “/var/cache/zypp/packages/”. I also configure all my repos to
“keep downloaded packages”.
When I do updates or installs, the rpms are saved there. When I install
a second time, the rpms are not downloaded from internet because they
are already in the local cache.
It is not as easy as it sounds, though. You have to make sure that the
directory names matches on all installs and make symlinks. If it is a
laptop things get interesting when you are off-site. You can not do
installs on two machines at the same time, on the chance that both
download the exact same file.
This could be done easier with a proxy cache. But it is not that easy
either, because the actual download link is dynamic, it can come from a
number of mirrors.
IMHO, it would be very nice to have a specialized deamon on the
distribution, so that yast/zypper could talk to it.
Anyhow, I find easier, faster and safer to restore from cloned images.
The result is guaranteed to be the same as it was. Was, that is.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))