[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrading clients using rsync




On Mar 4, 2015 12:24 PM, "Paul van der Vlis" <paul@vandervlis.nl> wrote:
>
> Hello,
>
> I have successfully upgraded clients from Debian7 to Debian8 using rysnc.
>
> First I did a fresh new install with Debian8 on a client.
> Then I used rsync to make a backup of that to the server.
>
> After that I used rsync again to sync this backup to a Debian7 client,
> with some excludes. Rsync did not give errors, SSH did still work after
> the sync.
>
> It was neccessary to do an "update-grub" (for the UUID of the root
> partition), and a "grub-install", because of the new grub version in
> Debian 8.
>
> After a reboot of the client everything worked fine.
>
> This are the scripts I used on the server:
> https://vandervlis.nl/files/backup-client8
> https://vandervlis.nl/files/sync-client8
>
> I think this is interesting for upgrading, but it's also interesting to
> keep clients identical after bigger changes. Maybe even as an
> alternative for Puppet.
>
> With regards,
> Paul van der Vlis.
>
>
>
> --
> Paul van der Vlis Linux systeembeheer, Groningen
> http://www.vandervlis.nl/
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] md6mgg$alq$1@ger.gmane.org">https://lists.debian.org/[🔎] md6mgg$alq$1@ger.gmane.org
>

Thank you for sharing Paul!

May I trouble you with some details about this? I am curious about the disks setup on your clients, I suppose they're partitioned in a similar manner. Also what directories did you have to exclude?

Best regards,

--
Sent from my Brick (TM)


Reply to: