Control: retitle -1 backuppc: Changes rsync user to be used in communication 
while upgrading form buster to bullseye (version 3 to 4)
 Control: tag -1 + moreinfo

Hi Lisandro,

Lisandro Damián Nicanor Pérez Meyer wrote:
> After upgrading from version 3.x (buster) to 4.4 (bullseye) I've
> discovered that the transfer where not working with error:
> 
>   Backup aborted (rsync error: unexplained error (code 255) at io.c(226) 
> [Receiver=3.1.3.0])
> 
> After quite some digging I've found that the configuration for those
> sites did not keep their proper login but switched back to root.

Yes, this is expected if you do not update your host configurations.
Been there, ran into that, too, documented it in the package before
doing the first upload of it.

> I don't know if this iis fixable, but a notein README.Debian will
> certainly help a lot.

Ehm. That note is already in the package. But it's in
/usr/share/doc/backuppc/NEWS.Debian.gz where it belongs. README.Debian
is more for permanently relevant, debian-specific documentation.

Citing from
https://salsa.debian.org/debian/backuppc/-/blob/master/debian/NEWS#L12-34:

  If you want to keep you /etc/backuppc/config.pl file, make sure that you
  add at least this line:

    $Conf{RsyncBackupPCPath} = "/usr/libexec/backuppc-rsync/rsync_bpc";

  Additionally you'll need to replace all occurrences of the no more
  existing $Conf{RsyncClientCmd} setting with $Conf{RsyncSshArgs} and
  possibly $Conf{RsyncClientPath} with accordingly updated values.

  Example: If you used $Conf{RsyncClientCmd} to configure the user with
  which BackupPC should login on the remote host and a remote nice level,
  replace

    $Conf{RsyncClientCmd} = '$sshPath -l root $host nice -n 10 $rsyncPath 
$argList+';

  with those two lines like these in the client configuration file:

    $Conf{RsyncSshArgs} = ['-e', '$sshPath -l root'];
    $Conf{RsyncClientPath} = 'nice -n 10 /usr/bin/rsync';

  See also "V3 migration" in the backuppc(8) man page or in
  /usr/share/doc/backuppc/BackupPC.html as well as
  https://github.com/backuppc/backuppc/issues/132.

You'll even get that displayed during upgrade if you have
apt-listchanges installed.

Does this not suffice?

                Regards, Axel
-- 
 ,''`.  |  Axel Beckert <a...@debian.org>, https://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE

Reply via email to