I've got it working. In case useful for others upgrading from 3.x.x. to
4.4.0 on Ubuntu, here are the things I needed to do. (I got to the
solution in a roundabout way, so hopefully I have remembered it correctly.)
* The original upgrade was using the "Installing BackupPC 4 from
tarball or git on Ubuntu" approach on the github backuppc wiki. One
of the things the script does is create a /etc/BackupPC/ folder
alongside /etc/backuppc/. Basically I then needed to reconfigure
/etc/BackupPC/ with the old /etc/backuppc/ v3 configuration details
and bring it all up to the v4 standard. More on this below.
* Initially I couldn't log into to the web interface. Resetting using
sudo htpasswd /etc/backuppc/htpasswd backuppc didn't work. The
correct command is
sudo htpasswd /etc/BackupPC/BackupPC.users backuppc
* /etc/BackupPC/config.pl - I manually went through this file
alongside /etc/backuppc/config.pl and updated
/etc/BackupPC/config.pl with all my global settings, such as mail
settings, number of backups to keep etc. Also making sure to set
$Conf{PoolV3Enabled} to 1. Of course, v4 has extra settings and has
also dropped some from v3 so this was a bit painstaking.
* I copied all the hosts.pl files over from /etc/backuppc/ to
/etc/BackupPC/pc/ (and hence avoiding the use of a symlink that used
to be needed for /etc/backuppc/pc/)
* And reboot. CGI interface looks good - shows the v3 pools and I
can access old files, and new backups have started working.
This is all fairly self apparent with 20:20 hindsight but took me a
while to work out. I don't think my 3.3.2 install was non-standard so,
along with Johan's very useful script, it may save others some time to
upgrade.
regards
George
On 17/12/2020 15:46, George King wrote:
Thanks Johan,
I haven't been ignoring this. I just know I need to not rush things
when it comes to configuring Apache. I will have time this weekend I
hope, and will report back afterwards.
regards
George
On 14/12/2020 07:49, Johan Ehnberg wrote:
Hello George,
Well, since it is not a pristine install I am guessing you will most
likely need to change your Apache config manually.
The BackupPC manual is a good resource for that. For example, you can
check how the previous installation was done; it may be enough just
to add a symlink somewhere. One such would be redirecting
/etc/backuppc from the packaged install to /etc/BackupPC which is the
upstream default used in the script.
Best regards,
Johan
On 14/12/2020 00.05, kingswindsor wrote:
Signature
Thanks Johan
That's really helpful. It runs through to completion successfully
but frustratingly I can't seem to access the web interface on
http://backuppc/BackupPC_Admin
I've using the backuppc username and have tried the old password and
tried resetting it with
sudo htpasswd /etc/backuppc/htpasswd backuppc but without success.
I have tried an apache restart and a reboot but no difference. I
get the impression I'm missing something obvious. Is there anything
else to do to get access to the CGI?
Thanks
On 13 Dec 2020, at 12:41, Johan Ehnberg <jo...@molnix.com
<mailto:jo...@molnix.com>> wrote:
Hello George,
The script has now been fixed to work with being started from
any current directory
Can you please try again?
Best regards,
Johan Ehnberg
------------------------------------------------------------------------
*From:* George King <geo...@kings-windsor.net>
*Sent:* Friday, 11 December 2020 12:55
*To:* backuppc-users@lists.sourceforge.net
*Subject:* [BackupPC-users] Ubuntu upgrade to 4.4.0 not working
Hello, I have been using backuppc as my home backup
solution for years and think it is great, thanks. I'm
currently running Ubuntu 18.04.05 LTS with Backuppc 3.3.1
(as per the Ubuntu 18.04.05 LTS repository). I would like
to upgrade backuppc to 4.4.0. I have tried the 'easy'
approach described at
https://github.com/backuppc/backuppc/wiki/Installing-BackupPC-4-from-tarball-or-git-on-Ubuntu
but when I do this it seems to install the packages ok but
then throws up the error chmod: cannot access
'/root/password': No such file or directory and it stops
(or finishes). Any advice to fix this would be gratefully
received. I've searched the Mailing Lists and haven't come
up with anything similar, sorry if I've missed something
obvious. _______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net List:
https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki Project:
https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/
--
*Johan Ehnberg*
Founder, CEO
Molnix Oy
jo...@molnix.com <mailto:jo...@molnix.com>
+358 50 320 96 88
molnix.com <https://molnix.com>
/The contents of this e-mail and its attachments are for the use
of the intended recipient only, and are confidential and may
contain legally privileged information. If you are not the
intended recipient or have otherwise received the e-mail in
error, please notify the sender by replying to this e-mail
immediately and then delete it immediately from your system. Any
dissemination, distribution, copying or use of this
communication without prior and explicit permission of the
sender is strictly prohibited./
/*Please consider the environment - do not print this e-mail
unless you really need to.*/
------------------------------------------------------------------------
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
<https://lists.sourceforge.net/lists/listinfo/backuppc-users>
Wiki:https://github.com/backuppc/backuppc/wiki
<https://github.com/backuppc/backuppc/wiki>
Project:https://backuppc.github.io/backuppc
<https://backuppc.github.io/backuppc>/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/
--
Signature
*Johan Ehnberg*
Founder, CEO
Molnix Oy
jo...@molnix.com <mailto:jo...@molnix.com>
+358 50 320 96 88
molnix.com <https://molnix.com>
/The contents of this e-mail and its attachments are for the use of
the intended recipient only, and are confidential and may contain
legally privileged information. If you are not the intended recipient
or have otherwise received the e-mail in error, please notify the
sender by replying to this e-mail immediately and then delete it
immediately from your system. Any dissemination, distribution,
copying or use of this communication without prior and explicit
permission of the sender is strictly prohibited./
/*Please consider the environment - do not print this e-mail unless
you really need to.*/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:https://github.com/backuppc/backuppc/wiki
Project:https://backuppc.github.io/backuppc/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: https://github.com/backuppc/backuppc/wiki
Project: https://backuppc.github.io/backuppc/