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

2023-01-19 Thread Les Mikesell
On Thu, Jan 19, 2023 at 4:41 AM Adam Hardy wrote: > > 50% of the time, the backup works. When I run the command above as the > backuppc user, it never fails. The removable drive is always connected. > > Following advice from this mailing list in October, I searched all my logs > and found nothin

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

2022-10-20 Thread Kim Scarborough
You shouldn't need to do that if you're running systemd. Everything is written to the journal. Just do journalctl --since=today and you'll get everything since midnight. You really don't need the text logs at all. On 10/20/22 18:28, Kenneth Porter wrote: On 10/20/2022 6:52 AM, G.W. Haywood via

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] Tar causing problems with removable drive on localhost

2022-10-20 Thread backuppc
Adam Hardy wrote at about 22:25:31 +0100 on Thursday, October 20, 2022: > Looking through those logs for anything at the time of the modification > timestamp on the backuppc xferlog, I can see this one line which > appears about 25 mins after the backup fails: > >Oct 17 16:13:48 localhost

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

2022-10-20 Thread Adam Hardy
-Original Message- > Be careful with smartctl if you use it for anything other than > reading > information from the drive.  Heed the warnings in the 'man' page, and > before you do anything like setting or changing drive characteristics > search online for reports from people who've done s

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

2022-10-20 Thread G.W. Haywood via BackupPC-users
Hello again, On Thu, 20 Oct 2022, Adam Hardy wrote: I scanned the problem USB drive with smartctl and with gnome-utilities and it logged nothing.? Be careful with smartctl if you use it for anything other than reading information from the drive. Heed the warnings in the 'man' page, and befor

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

2022-10-20 Thread Adam Hardy
-Original Message- > Don't assume what the problem is and try to solve it.  First find it. > There may be something interesting in the system logs (in /var/log/). > > Your subject line says "tar causing problems" but I feel sure it > won't > be tar which is causing the problems.  I also do

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

2022-10-19 Thread G.W. Haywood via BackupPC-users
Hi there, On Wed, 19 Oct 2022, Adam Hardy wrote: I keep getting a problem from tar when backuppc goes to back up the localhost, which includes a removable drive in the backup targets: Running: /usr/bin/sudo /bin/tar -c -v -f - -C /media/adam/Videos-2TB/Videos --totals --newer=2022-10-11\ 13: