[Resolved] [rpi4 v8 7.6] dietpi-backup not excluding /mnt/ Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
elevader
Posts: 31
Joined: Thu Dec 06, 2018 6:44 pm

[Resolved] [rpi4 v8 7.6] dietpi-backup not excluding /mnt/

Post by elevader »

dietpi-backup wants to include the mounted drive.

Fixing was quick, modify /boot/dietpi/.dietpi-backup_inc_exc or select Filters in dietpi-backup menu and remove the asterisk.

Code: Select all

+ /mnt/dietpi_userdata/
- /mnt/
- /media/
User avatar
trendy
Posts: 368
Joined: Tue Feb 25, 2020 2:54 pm

Re: [Resolved] [rpi4 v8 7.6] dietpi-backup not excluding /mnt/

Post by trendy »

This should not be the issue. I have the original setting and only backs up the dietpi_userdata/ from all mounted drives in /mnt
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: [Resolved] [rpi4 v8 7.6] dietpi-backup not excluding /mnt/

Post by MichaIng »

With the asterisk, the /mnt directory itself is copied, but no content, aside of userdata. Without the asterisk, the directory itself is not synced either and also not traversed, so that userdata is skipped as well and the first include hence rendered ineffective. At least this is how it worked when I tested it the last time.
Post Reply