Re: Can I interrupt an rdiff-backup backup?

EricZolf <[email protected]> Sun, 22 Jan 2023 08:07:07 +0100
Newsgroups gmane.comp.sysutils.backup.rdiff-backup.general
Organization rdiff-backup.net
Message-ID <[email protected]>
Hi,

On 22/01/2023 05:52, Robert Nichols wrote:
> On 1/21/23 12:14 PM, Mike Hart wrote:
>> Hi Robert
>>
>> Many thanks for the reply.  Your answer explains why there's no 
>> activity on the local drive but steady activity on the remote drive 
>> (as well as what rdiff-backup is doing, of course).
>>
>> I'm going to delete the lot and start again, but I have a problem 
>> deleting the rdiff-backup-data directory
>>
>> below is what happens.  I'd be grateful for any solutions.  This is 
>> Ubuntu 22.04 in case it's not obvious.
>>
>> mike@TV-PC:/media/primary/backups/Mike-PC/Projects$ rm -rfv 
>> rdiff-backup-data
>> removed 'rdiff-backup-data/.fuse_hidden0014522e000000c4'
>> removed 'rdiff-backup-data/.fuse_hidden0014522f000000c1'
>> removed 'rdiff-backup-data/.fuse_hidden00145a71000000c2'
>> removed 'rdiff-backup-data/.fuse_hidden00145fa2000000c3'
>> rm: cannot remove 'rdiff-backup-data': Directory not empty
>> mike@TV-PC:/media/primary/backups/Mike-PC/Projects$ ls rdiff-backup-data
>> mike@TV-PC:/media/primary/backups/Mike-PC/Projects$ ls -la 
>> rdiff-backup-data
>> total 804
>> drwxrwxrwx 1 root root   4096 Jan 21 12:47 .
>> drwxrwxrwx 1 root root    464 Jan 21 04:40 ..
>> -rwxrwxrwx 1 root root      0 Jan 21 04:00 .fuse_hidden0014522e000000c5
>> -rwxrwxrwx 1 root root 220862 Jan 21 07:11 .fuse_hidden0014522f000000c6
>> -rwxrwxrwx 1 root root 572052 Jan 21 08:31 .fuse_hidden00145a71000000c7
>> -rwxrwxrwx 1 root root  23842 Jan 21 04:13 .fuse_hidden00145fa2000000c8
> 
> How are you accessing this server? What OSs are involved. FUSE mounts 
> can present some tricky problems. Personally, I'd be deleting the entire 
> Projects directory, but I suspect that with everything else gone from 
> the rdiff-backup-data directory, rdiff-backup won't find anything to 
> revert and will run normally.

I agree with Robert, this is strange, please provide more information.
(on the other hand, if you removed only the `rdiff-backup-data` 
directory, rdiff-backup will rather complain that the directory isn't a 
backup repository)

cf. 
https://askubuntu.com/questions/493198/what-is-a-fuse-hidden-file-and-why-do-they-exist 
and 
https://serverfault.com/questions/478558/how-to-delete-fuse-hidden-files 
(somehow related to Samba?).

KR, Eric