Re: [BackupPC-users] Backup problems with /home directory

2024-04-16 Thread Jamie Burchell via BackupPC-users
In BackupPC > Edit Config > Rsync Paths/Commands/Args do you have “sudo /usr/bin/rsync” for RsyncClientPath? Kind regards, *Jamie* -- *From:* John Cusick *Sent:* Tuesday, April 16, 2024 8:09 AM *To:* General list for user discussion, questions and support <

Re: [BackupPC-users] Backing up the BackupPC server using rsync

2023-12-21 Thread Jamie Burchell via BackupPC-users
Try SSHing to phoenix under the user BackupPC runs at from your BackupPC instance first, accepting the key fingerprint etc. *From:* Tom Moore *Sent:* Thursday, December 21, 2023 4:15 PM *To:* backuppc-users@lists.sourceforge.net *Subject:* [BackupPC-users] Backing up the BackupPC server

Re: [BackupPC-users] Backups failing, file contents printed to screen

2023-07-20 Thread Jamie Burchell
Could it be an issue with running out of memory? Do the system logs have anything interesting in them around the time it goes haywire? *From:* David Raison *Sent:* Thursday, July 20, 2023 9:05 AM *To:* backuppc-users@lists.sourceforge.net *Subject:* Re: [BackupPC-users] Backups failing, file

Re: [BackupPC-users] Incorrect number of hosts "skipped"?

2023-07-03 Thread Jamie Burchell
pts for the same host. On 7/3/23 10:34, Jamie Burchell wrote: I received an email this morning to tell me: “Yesterday 111 hosts were skipped because the file system containing /var/lib/BackupPC/ was too full.” Aside from the obvious issue, it says 111 hosts when I only have 37? “There are 37

[BackupPC-users] Incorrect number of hosts "skipped"?

2023-07-03 Thread Jamie Burchell
I received an email this morning to tell me: “Yesterday 111 hosts were skipped because the file system containing /var/lib/BackupPC/ was too full.” Aside from the obvious issue, it says 111 hosts when I only have 37? “There are 37 hosts that have been backed up, for a total of:” Is

[BackupPC-users] Preserving SELinux contexts on backup/restore

2020-03-20 Thread Jamie Burchell
Hi I recently restored a directory in BackupPC (rsync) and was surprised to find it had not restored the SELinux file contexts. It wasn’t a big issue, as I was able to just restorecon -R over the restored directory, but I’m not sure why this isn’t working? Both my rsync backup and restore

Re: [BackupPC-users] Backup Server Hardware

2019-11-01 Thread Jamie Burchell
I’m using a low spec DigitalOcean droplet. You get a certain amount of redundancy out of the box using virtualized servers in a datacentre rather than a dusty old PC in a corner somewhere. It’s backed by SSD RAID and a large block storage volume. *From:* Greg Harris

Re: [BackupPC-users] CentOS 8 client failing with sudo user

2019-11-01 Thread Jamie Burchell
Do you have sudo in $Conf{RsyncClientPath} ? $Conf{RsyncClientPath} = 'sudo /usr/bin/rsync'; -Original Message- From: Mark Maciolek [mailto:m...@sr.unh.edu] Sent: 01 November 2019 15:06 To: backuppc-users@lists.sourceforge.net Subject: [BackupPC-users] CentOS 8 client failing with sudo

Re: [BackupPC-users] home directory empty

2019-09-30 Thread Jamie Burchell
, questions and support < backuppc-users@lists.sourceforge.net> *Subject:* Re: [BackupPC-users] home directory empty The answer has already been provided. If you're still unclear maybe try googling 'rsync one-file-system' or running lsblk on an affected system. On Sep 30, 2019 03:51, Jamie Bu

Re: [BackupPC-users] home directory empty

2019-09-30 Thread Jamie Burchell
I too am using CentOS 7 and that repo. The only thing I can think is that defaults on CentOS 7 at least are that home directories are owned by their respective user and nobody else can access them. BackupPC would need to run as a privileged user for it to be able to access those directories. I’d

[BackupPC-users] Gateway timeout when trying to browse backups?

2019-09-12 Thread Jamie Burchell
Hi Just ran into a situation where I’m getting a 504 Gateway timeout when clicking “Browse backups” or an individual backup: 68.183.x.x 127.0.0.1 - admin [12/Sep/2019:14:34:38 +0100] "GET /BackupPC?action=browse=myhost.co.uk=153 HTTP/1.1" 504 247 "

Re: [BackupPC-users] BackupPC_Admin cannot write to LOCK

2019-08-29 Thread Jamie Burchell
On Aug 28, 2019, at 14:12, Jamie Burchell wrote: Ah, perhaps its due to which package I have. I’m on CentOS 7 with the package from hobbes1069-BackupPC which appears to be from the Fedora project. Kind regards, *Jamie* ___ BackupPC-users mailin

Re: [BackupPC-users] UmaskMode change in config.pl.rpmnew

2019-08-29 Thread Jamie Burchell
-users] UmaskMode change in config.pl.rpmnew Jamie, That should be same thing in perl: 23 (decimal) is the same as 027 (octal). Craig On Wed, Aug 28, 2019 at 1:11 PM Jamie Burchell wrote: Hi I’ve been merging in updates to the config.pl file from config.pl.rpmnew and n

Re: [BackupPC-users] BackupPC_Admin cannot write to LOCK

2019-08-28 Thread Jamie Burchell
ontent in /usr/share/selinux/packages/, which is why I wrote my own. On Aug 28, 2019, at 13:23, Jamie Burchell wrote: Thanks for those details. There does appear to be a policy in place already (/usr/share/selinux/packages/BackupPC/BackupPC.pp) # semanage fcontext -l | grep BackupPC

[BackupPC-users] UmaskMode change in config.pl.rpmnew

2019-08-28 Thread Jamie Burchell
Hi I’ve been merging in updates to the config.pl file from config.pl.rpmnew and noticed that the UmaskMode has changed from 23 to 027. Does anybody know exactly which files and folders this relates to and what if anything I need to chmod after the change? >From what I can see, the data dirs

Re: [BackupPC-users] BackupPC_Admin cannot write to LOCK

2019-08-28 Thread Jamie Burchell
low httpd_sys_script_t user_tmp_t:dir { write search read open getattr > add_name remove_name }; > allow httpd_sys_script_t user_tmp_t:file { write rename create unlink }; > > > > On Aug 28, 2019, at 09:45, Jamie Burchell wrote: > > Hi > > > I’m having trouble with SELinu

[BackupPC-users] BackupPC_Admin cannot write to LOCK

2019-08-28 Thread Jamie Burchell
Hi I’m having trouble with SELinux reporting: avc: denied { write } for pid=15496 comm="BackupPC_Admin" name="LOCK" dev="sda1" ino=201443561 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:var_lib_t:s0 tclass=file permissive=0 The issue (and supposed answer) is

Re: [BackupPC-users] BackupPC administrative attention needed email incorrect?

2018-10-30 Thread Jamie Burchell
; skipped YY hosts Based on the email message, you should see several of those messages (likely 4 as Holger suggests with 39 hosts each) over the last 24 hours. Craig On Tue, Oct 30, 2018 at 10:42 AM Jamie Burchell wrote: Hi Thanks for the quick reply. I see, yes that does seem like the most

Re: [BackupPC-users] BackupPC administrative attention needed email incorrect?

2018-10-30 Thread Jamie Burchell
[mailto:wb...@parplies.de] Sent: 30 October 2018 15:24 To: Jamie Burchell Cc: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] BackupPC administrative attention needed email incorrect? Hi, Jamie Burchell wrote on 2018-10-30 09:31:13 - [[BackupPC-users] BackupPC administrative

[BackupPC-users] BackupPC administrative attention needed email incorrect?

2018-10-30 Thread Jamie Burchell
Hi there Yesterday, I received the following email from the BackupPC process: > Subject: BackupPC administrative attention needed > > Yesterday 156 hosts were skipped because the file system containing > /var/lib/BackupPC/ was too full. The threshold in the configuration > file is 95%,

Re: [BackupPC-users] BackupPC 4.1.5 released (plus new versions of backuppc-xs and rsync-bpc)

2017-12-14 Thread Jamie Burchell
Hi, https://copr.fedorainfracloud.org/coprs/hobbes1069/BackupPC/ Kind regards, *Jamie* *From:* Sorin Srbu [mailto:sorin.s...@orgfarm.uu.se] *Sent:* 14 December 2017 07:03 *To:* General list for user discussion, questions and support < backuppc-users@lists.sourceforge.net> *Subject:* Re:

[BackupPC-users] Where's the full backup the incrementals need?

2017-12-13 Thread Jamie Burchell
Hey Am I dreaming or did I read in the documentation that an incremental relies on a full backup staying around to support it? I’ve let BackupPC run for a month or so and logged in to the web interface today expecting to see one more full backup than I have configured, but that doesn’t seem

Re: [BackupPC-users] Error: Wrong user: my userid is 48, instead of 955(backuppc)

2017-12-12 Thread Jamie Burchell
apache 7128 Aug 2 18:51 /usr/libexec/BackupPC/BackupPC_Admin in /etc/httpd/conf/httpd.conf User backuppc Group apache On Tue, Dec 12, 2017 at 11:46 AM, Jamie Burchell <ja...@ib3.co.uk> wrote: Hi! You need to configure Apache (/etc/httpd/conf/httpd.conf on CentOS 7) to run under us

Re: [BackupPC-users] Error: Wrong user: my userid is 48, instead of 955(backuppc)

2017-12-12 Thread Jamie Burchell
Hi! You need to configure Apache (/etc/httpd/conf/httpd.conf on CentOS 7) to run under user “backuppc”: # User/Group: The name (or #number) of the user/group to run httpd as. User backuppc # User/Group: The name (or #number) of the user/group to run httpd as. Group apache Kind

Re: [BackupPC-users] Unable to read config.pl after BackupPC update

2017-11-27 Thread Jamie Burchell
Gah. Found it. Monday morning vs SELinux. -rw-r-. backuppc apache unconfined_u:object_r:user_home_t:s0 config.pl -rw-r--r--. backuppc apache system_u:object_r:httpd_sys_rw_content_t:s0 config.pl.rpmnew Thanks. Kind regards, *Jamie*

Re: [BackupPC-users] Unable to read config.pl after BackupPC update

2017-11-27 Thread Jamie Burchell
So config.pl.rpmnew works too (i.e. the stock config supplied with this version). Not sure what’s wrong with mine then. Kind regards, *Jamie* -- Check out the vibrant tech community on one of the world's most engaging

Re: [BackupPC-users] Unable to read config.pl after BackupPC update

2017-11-27 Thread Jamie Burchell
Hey Very strange and explains why I can’t find a problem with the syntax. BackupPC works if I swap back to my old config. BackupPC was upgraded to 4.1.4 from 4.1.3: Updating: BackupPC x86_64 4.1.4-1.el7.centos hobbes1069-BackupPC 461 k Kind regards, *Jamie*

[BackupPC-users] Don't expand first backed up directory by default?

2017-11-24 Thread Jamie Burchell
Hey Is it possible to configure BackupPC 4 not to expand the first directory when viewing a backup? I'm currently backing up 3 directories from Linux webservers: /etc /var/lib/mysqlbackup /var/www Unfortunately, as the first directory contains many files, it's not immediately obvious that

Re: [BackupPC-users] Documentation version discrepancies

2017-11-22 Thread Jamie Burchell
sions: filling will be delegated to the display and extraction of backup data." That's where I got "filled backups are more of a legacy thing from. i.e. the documentation. Hi, Jamie Burchell wrote on 2017-11-18 16:23:41 + [[BackupPC-users] Documentation version discrepancies]:

Re: [BackupPC-users] error in rsync protocol data stream (code 12) (Restoring)

2017-11-16 Thread Jamie Burchell
them is disabled, only certain users can SSH with their key pairs. Kind regards, Jamie ------ Jamie Burchell Senior Web Developer 01732 449974 ja...@ib3.uk -- ib3 Limited 2 Lyons Wharf, Lyons Crescent, Tonbridge TN9 1EX 0

Re: [BackupPC-users] error in rsync protocol data stream (code 12) (Restoring)

2017-11-16 Thread Jamie Burchell
Running as a restricted user is actually part of the BackupPC documentation. It just neglects to mention that doing so as described means restores are blocked. Having a non root user with sudo permissions to just rsync with the "--server" param works fine for backup and restore.

Re: [BackupPC-users] Help with monthly schedule configuration

2017-11-16 Thread Jamie Burchell
Thanks Ray I’ll be honest, I still don’t understand those settings after re-reading several times. What should the incremental period be here 0.97 I’m also only interested in one month’s worth, so can that schedule be simplified? Jamie

Re: [BackupPC-users] error in rsync protocol data stream (code 12) (Restoring)

2017-11-15 Thread Jamie Burchell
Because you'll seldom find any good advice that advocates doing anything as root. -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot

[BackupPC-users] error in rsync protocol data stream (code 12) (Restoring)

2017-11-15 Thread Jamie Burchell
Hi! I followed the instructions to make a restricted backuppc user on client machines with limited sudo permission thus: backuppc ALL=NOPASSWD: /usr/bin/rsync --server --sender * This works fine for backing up, but I just discovered I can no longer restore directly, as I’m getting the

Re: [BackupPC-users] Help with monthly schedule configuration

2017-11-15 Thread Jamie Burchell
Thanks for the info. I can assure you I've read the docs, many times :) I'm clearly just a bit of a slow learner... I've gone with the schedule that looks correct for now and will see what happens! -- Check out the

[BackupPC-users] Help with monthly schedule configuration

2017-11-15 Thread Jamie Burchell
Hi! Hoping someone can give me that “ah ha!” moment that I’m so desperately craving after pouring over the documentation, mailing lists and various forum posts. I want to move from BackupPC’s default schedule to keeping ~1 month’s worth of backups, but I cannot fathom if I should: -