Hi list,
I'm using a Raspi2 for vdr and attached a HDD over USB for storage.
I'm also backuping the rootfs (SD-card) onto the HDD on a regular basis.
Checking the logs for another problem it turns out the it enters my backup-dir and tries to delete empty-directories.
I read in the ML-archive that this is normal behavior. Is there anything I can do to prevent this? Telling vdr to ignore it.
best regards, -- Patrick.
The easiest way to fix this would be to separate backup and video dir. Why don't you create two directories on your USB HDD and link them into different locations? E.g. Mount the HDD as /mnt/usbdisk and then create a symbolic link /video that points to /mnt/usbdisk/video and one symbolic link /backup that points to /mnt/usbdisk/backup. Or just create two partitions on the external disk and mount them directly to the right places?
Best regards, Reiner
Am 17.02.2016 08:16, schrieb Patrick Boettcher:
Hi list,
I'm using a Raspi2 for vdr and attached a HDD over USB for storage.
I'm also backuping the rootfs (SD-card) onto the HDD on a regular basis.
Checking the logs for another problem it turns out the it enters my backup-dir and tries to delete empty-directories.
I read in the ML-archive that this is normal behavior. Is there anything I can do to prevent this? Telling vdr to ignore it.
best regards,
Patrick.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
On Wed, 17 Feb 2016 08:29:10 +0100 Reiner Bühl reiner@buehl.net wrote:
The easiest way to fix this would be to separate backup and video dir. Why don't you create two directories on your USB HDD and link them into different locations? E.g. Mount the HDD as /mnt/usbdisk and then create a symbolic link /video that points to /mnt/usbdisk/video and one symbolic link /backup that points to /mnt/usbdisk/backup. Or just create two partitions on the external disk and mount them directly to the right places?
To be totally honest, that's what I did just now.
I was just surprised seeing in the logs that VDR actually was "cleaning" my backup.
Thinking about it, the video-dir is VDR's file-system, it can do what it wants.
-- Patrick.