On Thu, Jan 19, 2023 at 4:41 AM Adam Hardy <adam.ha...@cyberspaceroad.com> 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 nothing related. > > I also added this to ArchivePreUserCmd: ls -la /media/adam/Videos-2TB/Videos > > However the error has not been solved. >
As a wild guess, I'd say the USB drive is going to sleep and takes more time to spin up. Your PreUserCmd is probably the right idea but also failing and continuing too quickly. 'fdisk -l' might be better but needs to run as root, or maybe just adding ";sleep 2' after your ls command would work. -- Les Mikesell lesmikes...@gmail.com _______________________________________________ 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/