I am now monitoring the restore and can see from the logs of all the failed restores that it is having problems with the same file every time.
It appears that backuppc is just preparing the restore - it hasn't actually started rsync to the client yet. What is the most civilised way to stop the restore? Til now I have just restarted backuppc. -----Original Message----- From: Adam Goryachev <mailingli...@websitemanagers.com.au> To: Adam Hardy <adam.ha...@cyberspaceroad.com>, "General list for user discussion, questions and support" < backuppc-users@lists.sourceforge.net> Subject: Re: [BackupPC-users] What to do with a restore that's going on far too long? Date: Wed, 18 Nov 2020 00:15:04 +1100 On 17/11/20 23:47, Adam Hardy wrote: > Which strace output do you monitor to see the process is hung up? > Sorry, I've only little experience with low level stuff. > I usually start with the general strace <pid>, if I see the process doing "things" then I know it's not truly stuck. Sometimes I will limit it to only showing file open, so I can see as it progresses through a backup (or restore in your case), or I might use ls -l /proc/<pid>/fd to see which files are currently open/in use, if I see the files changing, then I know it's not stuck, and I can get some idea on the progress. Regards, Adam > -----Original Message----- > From: Adam Goryachev via BackupPC-users < > backuppc-users@lists.sourceforge.net> > Reply-To: "General list for user discussion, questions and support" < > backuppc-users@lists.sourceforge.net> > To: backuppc-users@lists.sourceforge.net > CC: Adam Goryachev <mailingli...@websitemanagers.com.au> > Subject: Re: [BackupPC-users] What to do with a restore that's going > on > far too long? > Date: Tue, 17 Nov 2020 22:53:02 +1100 > > On 17/11/20 22:39, Adam Hardy wrote: > > OK, I just saw Raoul's message. > > > > Backuppc_zcat is the tool I need. > > > > Thanks Raoul > > > Personally, I prefer strace. > > Regards, > Adam > > > -----Original Message----- > > From: Adam Hardy <adam.ha...@cyberspaceroad.com> > > Reply-To: "General list for user discussion, questions and support" > > < > > backuppc-users@lists.sourceforge.net> > > To: backuppc-users@lists.sourceforge.net > > Subject: Re: [BackupPC-users] What to do with a restore that's > > going > > on > > far too long? > > Date: Tue, 17 Nov 2020 10:50:26 +0000 > > > > Thanks Brad but linux complains it's zlib and can't handle it. > > > > adam@gondolin:~$ sudo zcat > > /media/backuppc/usbbackup/backuppc/pc/erebor/RestoreLOG.26.z > > > > gzip: /media/backuppc/usbbackup/backuppc/pc/erebor/RestoreLOG.26.z: > > not > > in gzip format > > adam@gondolin:~$ sudo file > > /media/backuppc/usbbackup/backuppc/pc/erebor/RestoreLOG.26.z > > /media/backuppc/usbbackup/backuppc/pc/erebor/RestoreLOG.26.z: zlib > > compressed data > > adam@gondolin:~$ > > > > I can't find a command line tool package with cat or less either :( > > > > What do you do then? Just WTF & kill it? > > > > Cheers > > Adam > > > > -----Original Message----- > > From: Brad Alexander <stor...@gmail.com> > > Reply-To: "General list for user discussion, questions and support" > > < > > backuppc-users@lists.sourceforge.net> > > To: "General list for user discussion, questions and support" < > > backuppc-users@lists.sourceforge.net> > > Subject: Re: [BackupPC-users] What to do with a restore that's > > going > > on > > far too long? > > Date: Mon, 16 Nov 2020 23:11:19 -0500 > > > > You could try zless or zmore, e.g. zless RestoreLOG.z > > > > --b > > > > On Mon, Nov 16, 2020 at 2:19 PM Adam Hardy < > > adam.ha...@cyberspaceroad.com> wrote: > > > Hi > > > > > > I'm using 3.3.0 on Linux Mint, to restore to a linux laptop. > > > > > > I'm trying to access the restore log for a restore that is now > > > running > > > for about 12 hours and surely should be done. I can see there's a > > > substantial RestoreLOG.z but I can't tail it because it's > > > compressed. > > > > > > Is there a way? > > > > > > I'd like to know what it's trying to do before I kill it. > > > > > > Assuming it is frozen, I'd also appreciate it if someone can tell > > > me > > > the best way to kill the job without losing the log. > > > > > > Thanks! > > > Adam > > > _______________________________________________ > > > 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/ > > _______________________________________________ > > 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/ > > > > > > > > _______________________________________________ > > 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/ > _______________________________________________ > 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/ > _______________________________________________ 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/