Koozali.org: home of the SME Server

rsync zsync upgrade

Offline billi

  • *
  • 46
  • +0/-0
    • http://applitec.net
rsync zsync upgrade
« on: November 19, 2005, 04:31:38 AM »
How can I do a rsync upgrade from 7.0 beta4 to 7.0 beta8?
The rsync how to on the downld page tells of upgrading the ISO but is there away to do an upgrade to a working install?
 
Does anyone have words on how to use the zsync file
smeserver-7.0beta8.iso.zsync

Offline billi

  • *
  • 46
  • +0/-0
    • http://applitec.net
rsync zsync upgrade
« Reply #1 on: November 19, 2005, 06:48:30 AM »
Here is some words on zsync
zsync 0.4.2
===========

zsync is a file transfer program. It allows you to download a file from a
remote web server, where you have a copy of an older version of the file on
your computer already. zsync downloads only the new parts of the file. It uses
the same algorithm as rsync.

zsync does not require any special server software or a shell account on the
remote system (rsync, in comparison, requires that you have an rsh or ssh
account, or that the remote system runs rsyncd). Instead, it uses a control
file - a .zsync file - that describes the file to be downloaded and enables
zsync to work out which blocks it needs. This file can be created by the admin
of the web server hosting the download, and placed alongside the file to
download - it is generated once, then any downloaders with zsync can use it.
Alternatively, anyone can download the file, make a .zsync and provide it to
other users (this is what I am doing for the moment).

The zsync web site is at http://zsync.moria.org.uk/ . There are likely to be
frequent releases, so check back often.

Use
---

In its simplest form, as an end-user:

zsync http://some.example.com/downloads/my-big-download.tar.zsync

Offline billi

  • *
  • 46
  • +0/-0
    • http://applitec.net
rsync zsync upgrade
« Reply #2 on: November 19, 2005, 07:00:47 PM »
Yum is your friend.
It will update your system

Though it did not work at first I used the server manager to reduce the downld points and got this in the /etc/yum.config file
[smeaddons]
name=SME Server - addons
baseurl=http://mirror.contribs.org/smeserver/releases/7/addons/$basearch
gpgcheck=1
enablegroups=1

[smeos]
name=SME Server - os
baseurl=http://mirror.contribs.org/smeserver/releases/7/os/$basearch
gpgcheck=1
enablegroups=1

[smeupdates]
name=SME Server - updates
baseurl=http://mirror.contribs.org/smeserver/releases/7/updates/$basearch
gpgcheck=1
enablegroups=1

Worked great (I think - no errors)

Offline billi

  • *
  • 46
  • +0/-0
    • http://applitec.net
rsync zsync upgrade
« Reply #3 on: November 19, 2005, 07:52:45 PM »
Final found this
http://forums.contribs.org/index.php?topic=26762.msg119180#msg119180

and this is what I think it says in a nutshell
Rsync - Zsync commands for SME server to update the ISO file

Have an old downloaded  iso file in your current director with the same name as the remote source (rename to match new download if necesary)
*************
zsync http://mirror.contribs.org/smeserver/releases/7/iso/smeserver-7.0beta2.iso.zsync

**************
rsync --stats --partial --progress
rsync://rsync.planetmirror.com/smeserver/releases/7/iso/smeserver.iso .
**************