Hi all, BackupPC install via EPEL # rpm -qa | grep -i backup BackupPC-4.4.0-1.el8.x86_64 BackupPC-XS-0.62-1.el8.x86_64
Also, dnf info backuppc does suggest looking at README.setup found under /usr/share/doc/BackupPC/ Using su -s /bin/bash -l backuppc I can generate ssh keys and set up passwordless logins to clients. Still the wrong ownership of /var/lib/BackupPC is an issue with the install packages. Fixed with chown -R backuppc.root /var/lib/BackupPC , problem with that is SELINUX, you will have problems with SELINUX and have to do some selinux stuff for everything to work properly, and yes SELINUX should always be enabled. For me the following worked. # /sbin/restorecon -R -v /var/lib/BackupPC # cat my-BackupPCAdmin.te module my-BackupPCAdmin 1.0; require { type httpd_t; type unlabeled_t; class file { getattr read write }; class dir read; } #============= httpd_t ============== allow httpd_t unlabeled_t:dir read; allow httpd_t unlabeled_t:file { getattr read write }; # semodule -X 300 -i my-BackupPCAdmin.pp Will look into https://kifarunix.com/how-to-install-and-configure-backuppc-as-a-backup-server-on-ubuntu-18-04/#backuplinuxwithbackuppc for configuring clients with rsync Með kveðju / Best regards, Arnar Þórarinsson ATM Kerfi | Deildarstjóri ATM Systems | Manager Sími / Tel: +354 424 4000 Beint / Direct: +354 424 5232 Farsími / Mobile: +354 861 2871 [cid:image001.png@01D6FA2E.247538F0] Isavia ANS ehf. arnar.thorarins...@isavia.is<mailto:arnar.thorarins...@isavia.is> www.isavia.is<http://www.isavia.is> From: Systems <syst...@broadband9.com> Sent: miðvikudagur, 3. febrúar 2021 07:42 To: General list for user discussion, questions and support <backuppc-users@lists.sourceforge.net> Subject: Re: [BackupPC-users] new to BackupPC Have a look at technical.network , there is a guide there that mainly uses backuppc user (not root) to backup clients via rsync. Muhammad Ibrahim Director | Broadband9 ibrahim@broadband9.com01706404099<mailto:ibrahim@broadband9.com01706404099> http://broadband9.co.uk 206a Business First, Davyfield Road, ________________________________ From: Sorin Srbu <sorin.s...@gmail.com<mailto:sorin.s...@gmail.com>> Sent: Wednesday, February 3, 2021 7:28:11 AM To: General list for user discussion, questions and support <backuppc-users@lists.sourceforge.net<mailto:backuppc-users@lists.sourceforge.net>> Subject: Re: [BackupPC-users] new to BackupPC On Tue, 2021-02-02 at 17:09 +0000, Arnar Þórarinsson wrote: > Hello all, > I'm a new user of BackupPC with some questions (moving away from Amanda). > OS: CentOS 8.3 > BackupPC version 4.4.0 > > I followed the guide on > https://kifarunix.com/install-and-configure-backuppc-on-centos-8/ > and all looks good but... > I don't like using the root user on the client side for backups, never allow > root to login via ssh. > So how do I generate ssh keys for the backuppc user on the server ? The user > backuppc does not own the /var/lib/BackupPC dir so it can't generate the keys. Hello! Something's fishy there, I followed the same guide recently (although for Ubuntu) and for me /var/lib/backuppc is owned by backuppc. Looking at the Backuppc-Ubuntu guide there is a step adding a backuppc user and setting a homedir as /var/lib/backuppc. https://kifarunix.com/install-and-setup-backuppc-server-on-ubuntu-20-04/ Maybe the guide for CentOS needs to be tweaked a bit? Otherwise, why not just chown the folder to the right permissions? -- Kind regards, Sorin Srbu Find my OpenPGP public key here: https://cloud.srbu.se/index.php/s/KeEsCCDsG7PZG7N
_______________________________________________ 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/