Re: [BackupPC-users] Rsyncd case sensitivity in share names

2025-08-19 Thread Kenneth Porter
Never mind, PEBCAK. I realized I'd copied the config from a similar machine which had "C" as the share name and the client alias set. So the copied config pointed BackupPC at the other PC. I'm now waiting for the backup to finish aborting so I can delete the false backup of the wrong client. I'v

[BackupPC-users] Rsyncd case sensitivity in share names

2025-08-19 Thread Kenneth Porter
Using BackupPC 4.4.0 and connecting to a Windows 10 client running rsyncd. I inadvertantly set the share name on the Windows box to "c" (lower case) but the share name in BackupPC to "C" (upper case). Yet the backup is proceeding with the uppercase character. I can see files starting to popula

Re: [BackupPC-users] BackupPC in a commercial setting / support status

2025-05-30 Thread Kenneth Porter
--On Friday, May 30, 2025 7:04 PM +0100 "G.W. Haywood" wrote: Maybe the best I could offer would be to fork the project on Github and undertake to maintain the fork. Could that help you? It might be worthwhile to bring in the people who package BackupPC for various distros to create a "pac

Re: [BackupPC-users] Host key verification failed after update to Fedora 42

2025-05-14 Thread Kenneth Porter
--On Wednesday, May 14, 2025 5:41 PM -0700 John Cusick wrote: Host key verification failed. That's an ssh error. I ran into it recently when setting up git on a new client. You need to put the host key of the target system (in your case, the BackupPC client) into backuppc's ~/.ssh/known_ho

Re: [BackupPC-users] Windows Backup Operators group can't access locked files

2025-02-01 Thread Kenneth Porter
And of course I spotted the GitHub link on that page just as I hit the Send button. https://github.com/mwstowe/BackupPC-Client/tree/master/backuppc ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourcefo

Re: [BackupPC-users] Windows Backup Operators group can't access locked files

2025-02-01 Thread Kenneth Porter
I see an installable executable here: https://www.michaelstowe.com/backuppc/ I'd love to see the component scripts themselves. *From:* backu...@kosowsky.org *Sent:* Saturday, February 1, 2025 at 3:05 PM PST *To:* General list for user discussion, questions and support *Subject:* RE: [Back

[BackupPC-users] Windows Backup Operators group can't access locked files

2025-02-01 Thread Kenneth Porter
How can we back up locked files on Windows? I'm backing up using rsyncd from Cygwin on Windows 10 x64. I've noticed that locked files are getting skipped with error 16, resource busy: T:\>c:\rsyncd\bin\rsync.exe 127.0.0.1::c/Users/ken/AppData/Local/Comms/UnistoreDB/store.vol store.vol rsync:

[BackupPC-users] Find pc files from pool file name (checksum)

2024-08-23 Thread Kenneth Porter
Is there a script that can iterate over all pc files to find the ones that match a pool file? I've found some corrupt pool files and am trying to figure out my exposure. What does BPC do when it encounters such a bad file (when its checksum doesn't match its name) during the nightly scan? Also

Re: [BackupPC-users] Backup corrupted, impossible to corect it

2024-08-20 Thread Kenneth Porter
On 8/20/2024 5:02 PM, backu...@kosowsky.org wrote: You should be monitoring for disk corruption using various versions of RAID or advanced file systems independent of backuppc. Not sure why you would be blaming backuppc for that. Is there a utility that can systematically check all the files? S

[BackupPC-users] Don't start new questions as replies (was: Progress indicator for longer backups)

2024-02-22 Thread Kenneth Porter
When posting a new question, don't use "reply list" in response to an existing question. This causes the new question to get displayed as a reply to the old one, and a threading mail client won't display it to readers who are ignoring the old question. So start a new message, not a reply, when

Re: [BackupPC-users] restoring pool

2024-01-26 Thread Kenneth Porter
In the future, I recommend putting the config on the external drive and mounting it to /etc/BackupPC. I'd also recommend copying/tarring /etc/httpd or /etc/nginx (depending on which web server you use) to the external drive. That lets you bring up BackupPC quickly on a replacement server after

Re: [BackupPC-users] BUG: When backups fail, the last successful backup number keeps incrementing

2023-09-06 Thread Kenneth Porter
--On Wednesday, September 06, 2023 3:52 PM + backu...@kosowsky.org wrote: Sometimes when backups fail, the last good (incremental) backup number gets continually incremented, so that after each failed (hourly) backup attempt, this last good (incremental) backup sees its number increased, le

Re: [BackupPC-users] A Perl error?

2023-08-13 Thread Kenneth Porter
On 8/13/2023 8:34 AM, G.W. Haywood via BackupPC-users wrote: First off I've never run BackupPC on anything except bare metal.  As far as I can remember I haven't even tried to run it in a VM let alone using Docker.  You're using somebody else's docker installation and I can imagine that things co

Re: [BackupPC-users] Why not use Backuppc to backup server systems?

2023-08-09 Thread Kenneth Porter
When backing up the backup server, either mount /etc/BackupPC from the backup media (and back that up to another place) or keep a tarball with the latest settings, so you can easily load the media on another server to recreate the backup server. _

Re: [BackupPC-users] Why not use Backuppc to backup server systems?

2023-08-09 Thread Kenneth Porter
On 8/9/2023 9:41 AM, to...@tuxteam.de wrote: With the right DBMS and a little bit of setup, rsync is a perfectly fine way of backing up your databases [1]. Even with the wrong DBMS, all it takes is an SQL dump and backing up that (might be expensive with a couple o' 100M records, though). Sub

Re: [BackupPC-users] ssh+rsync and known_hosts

2023-07-23 Thread Kenneth Porter
On 7/23/2023 11:42 AM, backu...@kosowsky.org wrote: While allowing root permissions to rsync is a pretty big security hole itself, it is a little less drastic than simply logging in as root. On my more sensitive machines, I run rsyncd in read-only mode with exclusions. I do wish rsyncd offered

Re: [BackupPC-users] ssh+rsync and known_hosts

2023-07-23 Thread Kenneth Porter
--On Saturday, July 22, 2023 1:46 PM -0400 Paul Fox wrote: You should be trying to manually ssh from the backuppc account You'd think, but that's the last thing I tried, not the first. I was trying to diagnose the problem by running BackupPC_dump (as user backuppc) and trying to debug from

[BackupPC-users] ssh+rsync and known_hosts

2023-07-22 Thread Kenneth Porter
I'm setting up some Raspberry Pis and I set up BackupPC to back them up using ssh+rsync. I installed the key in ~backuppc/.ssh/authorized_keys but the initial backup was still failing. So I tried manually ssh'ing into the Pi and discovered I was hitting the question to add the Pi to known_hosts.

Re: [BackupPC-users] After upgrade from Debian Buster to Bookworm backuppc service will not start

2023-07-08 Thread Kenneth Porter
I'm wondering if the Debian package has any patches that make sense to apply upstream. It might have corrected some coding bugs that would cause those warnings with a newer version of Perl. Someone more familiar than I with Debian packaging might want to check it out: https://packages.debian

Re: [BackupPC-users] BackupPC 4.4.0 on a RaspberryPi4 with rsync failure

2023-05-22 Thread Kenneth Porter
On 5/22/2023 7:48 AM, G.W. Haywood via BackupPC-users wrote: There have been issues with differing versions of rsync, if you search the list archives you'll find plenty of mention of that - you'll even see the exact same error message which you posted. I concur. I've seen similar issues with i

[BackupPC-users] Mailing list etiquette

2023-03-15 Thread Kenneth Porter
On 3/14/2023 3:25 PM, John wrote: That's the sort of attitude that puts genuine people off asking for help on mailing lists. Rather than posting a cutting reply, why not simply ask for a little more information if that's what's needed? Please try to remember that English is not everyone's first

Re: [BackupPC-users] Storing Identical Files?

2023-02-12 Thread Kenneth Porter
How might one identify a pool file associated with a real file? One could then verify that the same pool file represents both clients' copies of the same file. Should a simple md5sum of the files on the clients match that of the pool file? ___ Bac

Re: [BackupPC-users] Can't ping hostname from an IPv6-only backuppc instance

2023-02-08 Thread Kenneth Porter
On 2/8/2023 11:06 AM, Willy Manga wrote: $Conf{Ping6Path} = '/bin/ping6'; Can you ping from a command prompt? $ /bin/ping6 myHostname.example ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.

[BackupPC-users] New version of rsync

2023-01-31 Thread Kenneth Porter
I saw an rsync update for my CentOS 7 servers this week which inspired me to look at the upstream changes. I found that upstream's version (3.2.7) is a bit newer than the Cygwin version available on the BackupPC GitHub page (3.2.3). Has anyone tried to package up a new Cygwin version? Changelo

Re: [BackupPC-users] Backup strategy for rarely-connected clients

2023-01-31 Thread Kenneth Porter
--On Tuesday, January 31, 2023 3:47 PM -0600 Les Mikesell wrote: I think the perfect world example would be if there was a client you could run so the computer could inform the server when it's up, perhaps via a REST interface. Why can't the user log into the web interface and start the bac

[BackupPC-users] Backup strategy for rarely-connected clients

2023-01-31 Thread Kenneth Porter
My company has a laptop that spends most of its time on a shelf, not in use. So I'm constantly seeing a daily BackupPC alert in my email that the machine hasn't been backed up recently. How do others deal with this situation, with machines that are rarely connected to the LAN for backup? An

Re: [BackupPC-users] Slow web page loading of admin pages

2023-01-18 Thread Kenneth Porter
On 1/18/2023 2:09 AM, Juergen Harms via BackupPC-users wrote: My guess as to the reason for the bad performance of Firefox on an SBC is the limited size of RAM. Could that be an issue on your environment? That's quite possible. Chrome has a reputation for being a memory pig, and Edge is based

Re: [BackupPC-users] Slow web page loading of admin pages

2023-01-18 Thread Kenneth Porter
On 1/18/2023 5:41 AM, G.W. Haywood via BackupPC-users wrote: Two PCs at the office that are much newer than mine are very slow at loading the web pages. ... My first thought is name resolution. That should affect the whole page equally. But the navigation pane at top left loads fast and the

[BackupPC-users] Slow web page loading of admin pages

2023-01-17 Thread Kenneth Porter
I've never had a problem loading the website before to administer my three BPC 4 servers. It's been reasonably fast, even with a slower server. This week I set up access for a user with a failed computer so that he can retrieve files while his PC is being repaired. Two PCs at the office that

Re: [BackupPC-users] Help with unraid install..

2022-12-02 Thread Kenneth Porter
What's the line with backuppc in /etc/passwd say? (If it's missing, that's also a clue.) ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:https://githu

Re: [BackupPC-users] Tar causing problems with removable drive on localhost

2022-10-20 Thread Kenneth Porter
I haven't found a good explanation of how the /media mount system works. It seems that mechanism changes frequently. For my CentOS 7 system with a USB external drive for backups, I use systemd mount units to mount the drive when anything tries to touch /var/lib/BackupPC. I'd suggest doing some

Re: [BackupPC-users] Tar causing problems with removable drive on localhost

2022-10-20 Thread Kenneth Porter
On 10/20/2022 6:52 AM, G.W. Haywood via BackupPC-users wrote: I checked in the syslog and I can't see any other log files that it might be using. You can spend hours trawling through logs, but mostly I'd search in /var/log/(daemon.log|debug|kern.log|messages|syslog) - not necessarily in that or

Re: [BackupPC-users] When does compression and de-duplication happen?

2022-09-19 Thread Kenneth Porter
--On Tuesday, September 20, 2022 12:30 AM +1000 Adam Goryachev via BackupPC-users wrote: It depends on the version of backuppc either v3 or v4 as to the exact sequence of events, but in either case, the files are processed one at a time as they are received, so if there is an existing file fro

[BackupPC-users] When does compression and de-duplication happen?

2022-09-19 Thread Kenneth Porter
When backing up a new system that's similar to an existing system, do I need enough space on the backup media for the entire new system, or just what's different? Will the entire client be pulled over and then de-duped, or does that happen as each file is pulled, comparing it to what's already

[BackupPC-users] What happens at shutdown?

2022-04-01 Thread Kenneth Porter
When I stop the service (say, for a reboot) and restart it, what happens to backups, refcounts, and nightlies in progress? Do they just cleanly resume when the service restarts? What happens to the queues? ___ BackupPC-users mailing list BackupPC-us

Re: [BackupPC-users] Rotating multiple drives on one mount point

2022-03-26 Thread Kenneth Porter
On 3/26/2022 6:28 AM, G.W. Haywood via BackupPC-users wrote: Without looking into it carefully I couldn't be sure that swapping the storage device from under BackupPC wouldn't actually cause more issues than the one which you're trying to address.  At the very least I think you'd want to look at

Re: [BackupPC-users] Rotating multiple drives on one mount point

2022-03-26 Thread Kenneth Porter
On 3/26/2022 6:23 AM, jbk wrote: I use a common drive label for the four disks I rotate. I recommend auto mount so that if your machine should restart for any reason the disk will remount protecting the local drive from running out of space. I manually stop and start the backuppc.service and th

[BackupPC-users] Rotating multiple drives on one mount point

2022-03-26 Thread Kenneth Porter
I'm adding a second external drive to my rotation so I can keep one off-site in case of disaster. How do people handle this? What do your systemd mount/automount unit files look like? Do you use a single drive label so a single systemd unit works to mount any backup drive to the same mount poi

Re: [BackupPC-users] Real Time View of What Is Being Copied

2022-03-04 Thread Kenneth Porter
On 3/4/2022 7:21 AM, Les Mikesell wrote: Unix/Linux has something calle 'sparse' files used by some types of databases where you can seek far into a file and write without using/allocating any space up to that point. The file as stored may not be large but most tools to copy it will act as thoug

Re: [BackupPC-users] How to check total disk usage of backups for each client PC

2022-02-27 Thread Kenneth Porter
--On Sunday, February 27, 2022 12:20 AM + Chris Wu wrote: Is there one way to know how much disk space has been used for backups of each client PC? No, because of de-duplication. Why do you want to know? For me, the question is how to effectively free up space, which is a hard problem

[BackupPC-users] rsync open-noatime option

2022-02-10 Thread Kenneth Porter
Is anyone using the rsync/rsyncd method with the open-noatime option to avoid unnecessary metadata writes when comparing files? I'm disabling atime on all my Linux partitions and wondering if that option has any effect on Cygwin rsyncd running on my Windows 10 clients. It does look like NTFS

Re: [BackupPC-users] BackupPC timesout backing up (old) Android phone (but equivalent standalone rsync command works fine)

2022-01-23 Thread Kenneth Porter
On 1/23/2022 6:52 AM, backu...@kosowsky.org wrote: BTW thanks for the help so far... it seems like you really understand the rsync code...:) Not really. I've just written some network code and lots of multi-threaded code (which rsync isn't) for embedded systems so can make educated guesses ab

Re: [BackupPC-users] BackupPC timesout backing up (old) Android phone (but equivalent standalone rsync command works fine)

2022-01-23 Thread Kenneth Porter
On 1/22/2022 11:45 PM, backu...@kosowsky.org wrote: #1 0x5543fc43 in perform_io (needed=2, flags=2) at io.c:742 This smells like a deadlock. This code is waiting for 2 bytes in the socket output buffer so it can write the file's next block checksum. Perhaps the other side is failing

Re: [BackupPC-users] BackupPC timesout backing up (old) Android phone (but equivalent standalone rsync command works fine)

2022-01-22 Thread Kenneth Porter
On 1/22/2022 6:28 PM, backu...@kosowsky.org wrote: write(2, "IOrename: 27 .smart_stay_hash.dm"..., 60) = 60 Does it really use handle 2 (stderr) for writing a log of files it's processed? I haven't looked at the sources but I wonder if that's an unrelated bug. _

Re: [BackupPC-users] BackupPC timesout backing up (old) Android phone (but equivalent standalone rsync command works fine)

2022-01-22 Thread Kenneth Porter
--On Saturday, January 22, 2022 8:55 PM -0500 backu...@kosowsky.org wrote: It gets "stuck" at varying places... as IO slows to a complete halt (based on iftop) until rsync timesout. Similarly, 'strace' stalls. This happens even if I run rsync_bpc from the command line directly, but it does *not

Re: [BackupPC-users] transferring backups

2021-11-26 Thread Kenneth Porter
--On Friday, November 26, 2021 1:37 PM +0100 Johnny PINSON wrote: Through the files in /etc/BackupPC and in /var/lib/BackupPC I was able to get backups and configs. Last thing I'd like, if possible, would be having history on backups transfered. The history is part of /var/lib/BackupPC so yo

Re: [BackupPC-users] transferring backups

2021-11-25 Thread Kenneth Porter
--On Thursday, November 25, 2021 6:09 PM +0100 Johnny PINSON wrote: I'd like to transfer backups done on a server A to a server B, including configuration done for backups to be done. Is it possible please and, if so, how? Transfer /etc/BackupPC, /var/lib/BackupPC, and your web server confi

[BackupPC-users] Validating pool file checksums

2021-11-10 Thread Kenneth Porter
Does a script exist to run the whole pool to validate checksums? It's my understanding that the filename is the file's checksum, so in principle a simple utility could be used to look for potential disk problems. I'm rsync'ing my external drive to a new one after running out of space, and this

Re: [BackupPC-users] Recommend an external drive

2021-10-18 Thread Kenneth Porter
On 10/18/2021 6:23 PM, backu...@kosowsky.org wrote: What is a "Windows-only" drive? I'm a bit worried that some NAS RAID boxes might be SMB-only. But I suspect a USB drive is going to have better performance for this than a NAS box, anyway. ___

[BackupPC-users] Recommend an external drive

2021-10-18 Thread Kenneth Porter
My Western Digital MyPassport 4TB external drive has filled up so it's time to buy something bigger. I'm thinking an 8 or 10, possibly a Western Digital, as I've had fairly good experience with them over the years. Any suggestions on which to look at? I want something easy to format to ext3 or

Re: [BackupPC-users] V4 Infinite Incrementals

2021-09-24 Thread Kenneth Porter
On 9/24/2021 8:25 AM, Stan Larson wrote: BTW, I'm also running weekly air-gap backups to external media that is stored offsite.  Having critical data backed up both locally and offsite is reassuring, but no guarantee against an organized ransom-ware attack. The incremental nature of BackupPC sh

Re: [BackupPC-users] BackupPC V4 Permission Denied on Client

2021-09-12 Thread Kenneth Porter
On 9/12/2021 1:15 PM, jbk wrote: By the time the digest came out I had figured out the issue. But to followup on loose ends I can recap my findings. First, the client command variable quoted below found in V3 is deprecated in V4. Mea culpa. This time I saw the bold text, so this list DOES show

Re: [BackupPC-users] BackupPC V4 Permission Denied on Client

2021-09-11 Thread Kenneth Porter
--On Thursday, September 09, 2021 4:29 PM -0400 jbk wrote: The portion in bold below was not executed. Like most mailing lists, this one is plain text only and stripped out the HTML part with the bolding. So it's not clear what part of the command wasn't executed. __

Re: [BackupPC-users] Move current data dir to another location and start from scratch.

2021-08-13 Thread Kenneth Porter
On 8/13/2021 9:18 AM, G.W. Haywood via BackupPC-users wrote: I'm a big fan of having more than one backup Keep one copy off-site, in case of natural disaster, such as fire, earthquake, flood, power company zaps your facility. I'm not happy with my data in less than three places.

[BackupPC-users] RFE: Report backup job runtmie and retry count

2021-08-01 Thread Kenneth Porter
I'm trying to look for problems in my large backup list, like a job that runs too long and times out, or prevents other jobs from running soon enough. I'd then know to break that job up into smaller jobs. It would be useful to know the runtime of currently-running backup jobs. Additionally, if

[BackupPC-users] Reason for new RPM 4.4.0-5 available

2021-08-01 Thread Kenneth Porter
I saw a new release in my daily yum update check on CentOS 7 and wondered what changed. It turns out to be a change to the systemd invocations in the RPM package scripts that start and stop the service. So nothing in the actual BackupPC code changed. It's just packaging cleanup. No need to rush

Re: [BackupPC-users] Lost config.pl file during full backup

2021-08-01 Thread Kenneth Porter
I highly recommend installing etckeeper. It puts all of /etc under revision control. I use CentOS which is based on yum/dnf/rpm and it will perform an auto-commit of changed files before updating. I disable that feature so that yum won't update until I manually commit any outstanding configurat

Re: [BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-24 Thread Kenneth Porter
On 7/24/2021 6:36 PM, backu...@kosowsky.org wrote: I do the same with soft links rather than bind mounts so that I don't have to mess with my fstab. I think I initially tried that and rpm/yum did something wierd at the next upgrade, like converting the links to the directory in the package. O

Re: [BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-24 Thread Kenneth Porter
On 7/24/2021 1:34 PM, Gavin Henry wrote: Remind me, where is it inheriting the perms from? The folders under the mount are all correct. ext4 stores owner and group id numbers, so you need to do a "chown -R backuppc.backuppc /var/lib/BackupPC" when it's mounted to set the uid and gid. Alas, it

Re: [BackupPC-users] Rsync and swapping the hard drive mounted at /var/lib/BackupPC - backups vanish

2021-07-24 Thread Kenneth Porter
On 7/24/2021 11:43 AM, Gavin Henry wrote: On my home desktop my backups are going to a 2TB usb drive. All good. It's filling up, so I bought a 4TB usb one and have rsynced all data on the same type of filesystem too (rsync -av --delete) but when I mount it and restart BackupPC, nothing shows. P

[BackupPC-users] job queue order

2021-07-12 Thread Kenneth Porter
How can I change the order in the queue? I just added 18 new "hosts" (actually 6, but with 3 backup jobs per host). How can I push them to the front of the queue to initialize their first backup? Is there some UI to rearrange the queue order? I don't want to force a new job to start running im

[BackupPC-users] idle versus done state and host summary

2021-07-12 Thread Kenneth Porter
Using v4.4.0. I was comparing the Host Summary page for two servers with just a few clients and one with a lot of clients. The one with lots of clients has nice color bands in the table indicating success with light green. (There are also yellow and red rows for problems and grey for disabled c

Re: [BackupPC-users] Disk space used by single host

2021-05-10 Thread Kenneth Porter
--On Monday, May 10, 2021 5:25 PM -0400 backu...@kosowsky.org wrote: Even if you were content with seeing a standalone heat map for one backup (as unhelpful as it may be), creating it would be quite slow since you would need to access, unpack/uncompress, and read each attrib file to calculate th

Re: [BackupPC-users] Disk space used by single host

2021-05-10 Thread Kenneth Porter
--On Monday, May 10, 2021 1:16 PM -0500 Gerald Brandt wrote: I'm looking for actual physical disk usage of the backup. My disk is 96% full and I want to know which host is using most of the space. Coincidentally, I was recently thinking that it would be nifty to replace the current tree dis

Re: [BackupPC-users] Disk space used by single host

2021-05-10 Thread Kenneth Porter
--On Monday, May 10, 2021 1:16 PM -0500 Gerald Brandt wrote: I'm looking for actual physical disk usage of the backup. My disk is 96% full and I want to know which host is using most of the space. That's only useful if that host is mostly unique files not present on other hosts. Perhaps tha

Re: [BackupPC-users] Renaming clients from IPs?

2021-04-14 Thread Kenneth Porter
--On Tuesday, April 13, 2021 12:16 PM -0400 Joseph Bishay wrote: Our host names are not completely set up correctly. The servers are most reliably accessed via their IP addresses rather than their hostnames so using the hostnames may not always work. Is that the best option? Regarding mDNS,

Re: [BackupPC-users] Renaming clients from IPs?

2021-04-13 Thread Kenneth Porter
--On Tuesday, April 13, 2021 1:26 AM -0400 backu...@kosowsky.org wrote: Why don't you just use the host names rather than the IP address? The hostname should then resolve to the write IP address assuming you have that set up write on your system. If the hosts support mDNS (and Windows does), u

[BackupPC-users] systemd mount point dependencies

2021-03-18 Thread Kenneth Porter
I'm rigging up a new BackupPC server to use an external USB drive and I wanted to get systemd to automount the drive when the service is started. I just found this nice article on how to do that: My use case is slight

Re: [BackupPC-users] OT: To top-post or not?

2021-02-04 Thread Kenneth Porter
--On Thursday, February 04, 2021 11:24 AM +0100 Sorin Srbu wrote: I'll continue to end-post as before. :-) Not end/bottom post! That's really no better than top-posting, because we still have to scroll down through the massive post you're quoting. Brutally trim the post you're replying to

Re: [BackupPC-users] Which filesystem for external backup drive?

2021-02-04 Thread Kenneth Porter
--On Thursday, February 04, 2021 5:13 PM +0100 Alexander Kobel wrote: Distro support is a serious thing to consider. In general, backuppc will happily work with whatever is the default file system of your distribution. For CentOS and RedHat, XFS is the obvious choice, and BTRFS will not give y

Re: [BackupPC-users] Which filesystem for external backup drive?

2021-02-03 Thread Kenneth Porter
On 2/3/2021 6:54 PM, backu...@kosowsky.org wrote: I just built backuppc for my Raspberry PI and ordered an external SSD drive that I plan to format in btrfs. I'm using CentOS, and it looks like Red Hat is dropping btrfs in favor of other filesystems: https://access.redhat.com/discussions/313

Re: [BackupPC-users] OT: To top-post or not?

2021-02-03 Thread Kenneth Porter
Top-posting is for email systems where people continually join a thread and there's no central archive to consult to see what has gone on before. It's suitable for business correspondence. Mailing lists and newsgroups are different: They have archives where new list members can look to see the

[BackupPC-users] Which filesystem for external backup drive?

2021-02-03 Thread Kenneth Porter
I'm deploying a system with an external (USB) 1.5 TB drive. How should I format it? (Ie. which filesystem is best for this?) I expect to mount it to /mnt/BackupPC and then loopback mount a subdirectory to /var/lib/BackupPC. (Another subdirectory will get a copy of /etc/BackupPC.) ___

Re: [BackupPC-users] Turn-key backup solution for all-Windows network

2020-11-18 Thread Kenneth Porter
Thanks, that's all quite useful information. Interesting that the Pi 4B isn't reliable. It looked promising as a possible edge router using two gigabit NICs. Do you install to your Pi using just a tarball, or is there some packaging as there is for RPM? (I'm sure I can adapt the extra RPM res

[BackupPC-users] Turn-key backup solution for all-Windows network

2020-11-17 Thread Kenneth Porter
I'm advising a friend on what to use to back up his networked Windows PCs (including one Windows Server) in a machine shop. I deploy BackupPC at home and at my own office on CentOS servers, but this shop has no technical people and no Linux machines. I'm wondering if anyone has bundled BackupPC

Re: [BackupPC-users] Symlink for /var/lib/BackupPC

2020-10-28 Thread Kenneth Porter
On 10/28/2020 1:53 PM, Greg Harris wrote: cp -R /var/lib/BackupPC /BackupDriveLoc I like to use rsync for that kind of thing. If anything goes wrong, I can resume the copy in the middle. Something like: rsync -av /var/lib/BackupPC/ /BackupDriveLoc/ (The trailing slashes are important, to en

Re: [BackupPC-users] Thank you far an easier installation

2020-06-02 Thread Kenneth Porter
--On Tuesday, June 02, 2020 4:21 PM -0500 Richard Shaw wrote: The decision to not update EL 7 was intentional as there were some non-backward compatible changes that necessitate manual involvement. I didn't want to auto update the 10s of thousands of systems and deal will the fall out. I do ho

Re: [BackupPC-users] BackupPC rsync skipping a directory

2020-04-16 Thread Kenneth Porter
--On Thursday, April 16, 2020 1:38 PM -0700 Robert Mares wrote: Actually, a co-worker just pointed that out to me, so I removed the --one-file-system argument and that fixed the problem. I had been banging my head against the wall on that for a couple of hours and just needed a fresh set of ey

Re: [BackupPC-users] Q: Issues w/network account for backuppc?

2019-12-04 Thread Kenneth Porter
On 12/4/2019 7:07 AM, G.W. Haywood via BackupPC-users wrote: Why does this scenario give me a churning feeling in my stomach? Why should it? Centralized management of credentials is a reasonable thing to do. My suspicion is that the BackupPC service is trying to start before the credentia

Re: [BackupPC-users] Q: Issues w/network account for backuppc?

2019-12-03 Thread Kenneth Porter
--On Wednesday, December 04, 2019 12:04 AM + "Gardner, Kevin" wrote: Long-time satisfied user of BackupPC, Fedora server w/Fedora, MacOS, and Windows clients. My IT group is asking me if we can migrate this a new Linux-based server where the account running Backuppc would be networked rat

Re: [BackupPC-users] Backup Server Hardware

2019-11-01 Thread Kenneth Porter
Lots of memory if you use rsync(d) for backup. Especially if you preserve hard links. Enough memory to hold the whole metadata tree. ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/lis

[BackupPC-users] Running BackupPC with NGINX on CentOS 7

2019-08-12 Thread Kenneth Porter
New wiki page: This should also work with other Red Hat variants that use systemd, including Fedora and RHEL 7/8. Feedback welcome. ___ BackupPC-users mailing lis

Re: [BackupPC-users] Why ping before backup?

2019-08-10 Thread Kenneth Porter
On 8/10/2019 9:50 AM, Alexander Kobel wrote: IMHO the only reason why one might want to replace the ping command is hosts that don't reply to pings for security reasons I'm thinking that "rsync $host::" would be a good substitute for an rsyncd backup because it preloads the executable on the c

[BackupPC-users] Why ping before backup?

2019-08-08 Thread Kenneth Porter
Why does BackupPC ping the host to be backed up before starting its backup. (I'm using rsyncd.) I'm thinking of replacing the ping command with "rsync $host::". Is there any downside to that? ___ BackupPC-users mailing list BackupPC-users@lists.sour

Re: [BackupPC-users] I'd like to make a suggestion to the BPC devs

2017-07-21 Thread Kenneth Porter
--On Thursday, July 20, 2017 3:54 AM +0200 B wrote: An addition to BPC could do the trick, preferably saving the result in another directory than the main one, by checking which files have been touched the present day and save them automatically; it may be triggered from a crontab. And befo

Re: [BackupPC-users] Backing up the server computer

2017-07-15 Thread Kenneth Porter
On 7/14/2017 7:45 AM, Bob Katz wrote: But is there a point to running sudo rsync if the object is to use systemctl to run the daemon? Is that for a test or permanent? Yes, I'm confused :-) And systemctl has already been initiated. According to the man page, --foreground should be --no

Re: [BackupPC-users] Backing up the server computer

2017-07-15 Thread Kenneth Porter
On 7/14/2017 11:20 PM, Adam Goryachev wrote: Actually, I think you will find that /proc, /dev, /sys, etc are actually different filesystems, and so will automatically be excluded by --one-file-system. Does --one-file-system work with rsyncd (daemonized rsync)? I thought it only applied when u

Re: [BackupPC-users] Backing up the server computer

2017-07-14 Thread Kenneth Porter
--On Thursday, July 13, 2017 12:03 PM -0400 Bob Katz wrote: There must be a foolproof way of displaying running daemons, finding out the PID and killing it. The PS command that everyone is fond of does not show the daemon is runnning, I don't believe. If ps doesn't see it, then it's not the

Re: [BackupPC-users] Backing up the server computer

2017-07-14 Thread Kenneth Porter
--On Thursday, July 13, 2017 4:37 PM + Michael Stowe wrote: At this point, I'd recommend sudo rsync --daemon --foreground --verbose So you can actually tell what's happening. According to the man page, --foreground should be --no-detach. That keeps the daemon from disappearing and cau

Re: [BackupPC-users] Backing up the server computer

2017-07-12 Thread Kenneth Porter
--On Wednesday, July 12, 2017 10:57 AM -0400 Bob Katz wrote: I manually run sudo rsync --daemon and there is no "response" in terminal. I take it to mean the daemon launched with no problem. On Fedora and CentOS 7, you should be starting the daemon with systemd, like this: systemctl start

Re: [BackupPC-users] Backing up the server computer

2017-07-05 Thread Kenneth Porter
--On Wednesday, July 05, 2017 12:26 PM -0400 Bob Katz wrote: rsync: failed to connect to localhost.localdomain (::1): Connection refused (111) Is rsyncd listening on the IPv6 interface? Or only the IPv4 interface? The error message says that rsync is attempting to connect to the IPv6 loopb

Re: [BackupPC-users] Backing up the server computer

2017-07-03 Thread Kenneth Porter
On 7/3/2017 1:16 PM, Bob Katz wrote: But I get this error. I suppose I'm doing something fundamentally not permitted (can't use rsync daemon to connect to the same computer???): rsync_bpc: failed to connect to localhost.localdomain (::1): Connection refused (111) rsync_bpc: failed to connect to

Re: [BackupPC-users] Using SMBv2/Disabled SMBv1 on Windows Hosts, Not Backing Up

2017-06-12 Thread Kenneth Porter
On 6/12/2017 1:39 AM, James Arnold wrote: As per title really, following current affairs I've disabled SMBv1 on about everything running Windows. After that, none of my Windows servers back up any more. I've updated Linux itself, added 'min protocol = SMB2' into smb.conf, even tried putting '-m

[BackupPC-users] Web access restrictions and IPv6

2017-05-25 Thread Kenneth Porter
In case anyone else has this problem I suspect a Win10 update changed the way my web client (Chrome) accesses my Linux Apache server, favoring IPv6 over IPv4. I'd originally configured it to allow connections from my LAN's IPv4 prefix and all worked fine. This week (after a couple weeks of

[BackupPC-users] rsyncd and selinux

2017-05-25 Thread Kenneth Porter
I just fought through dealing with errors in my backup due to attempting to back up sockets and wanted to share my solution. Here's an example of the error message: rsync: readlink_stat("/var/spool/postfix/private/tlsmgr" (in root)) failed: Permission denied (13) (Postfix creates a directory

Re: [BackupPC-users] Problem Backing up RHEL7

2017-05-19 Thread Kenneth Porter
On 5/19/2017 5:47 PM, Dayne Ellanna wrote: > You mean start backup from command line? Like this: su -s /bin/bash backuppc /usr/share/BackupPC/bin/BackupPC_dump -v myserver That will switch to the backuppc user and run the backup on the command line in verbose mode for the client "myserver".

Re: [BackupPC-users] Problem Backing up RHEL7

2017-05-19 Thread Kenneth Porter
--On Friday, May 19, 2017 2:05 PM -0800 Dayne Ellanna wrote: > This is all I get. > > 2017-05-19 09:02:56 Backup failed on myserver (aborted by signal=ALRM) > 2017-05-19 09:02:57 Started full backup on myserver (pid=30014, share=/) > > But then it just restarts for a long time, days, then does t

Re: [BackupPC-users] Recommend add to manual

2017-05-14 Thread Kenneth Porter
On 5/14/2017 6:55 AM, Les Mikesell wrote: > I always thought the best approach was to mount your media in the > place where backuppc expects it_before_ installing the package so > that ownership and selinux contexts are set correctly during the > package install. Does that work through symlinks?

Re: [BackupPC-users] SELinux for v4.1.1

2017-05-03 Thread Kenneth Porter
After relabeling the external drive with restorecon (it ran overnight to label two million files), the web interface can now access the logs. I haven't been able to use the mount options context= or defcontext=, as mount attempts with those set in fstab result in the drive not mounting. I've no

Re: [BackupPC-users] SELinux for v4.1.1

2017-05-02 Thread Kenneth Porter
tl;dr: BackupPC users who want to enable SELinux should mount their backup media with either the context or defcontext options. (See links below for syntax.) --On Tuesday, May 02, 2017 5:29 PM -0700 Kenneth Porter wrote: > I found through audit2why that the files in /var/lib/Backu

  1   2   >