Setting up a Backup filter

Nothing major, but I noticed when setting up my dietpi-backup, it’s including a lot of files not mentioned in my filter. Stuff from /etc/, /boot/, /usr/bin/ etc. which I personally don’t need backing up (I can recreate these if needed).

I’m looking to include literally nothing except my dietpi_userdata (installed on an external drive), so my current filter is:

+ /mnt/*drive_name*/dietpi_userdata/
- /mnt/*
- /media/

Purpose of dietpi-backup is to create a full system backup and not just to backup single folder. By default external HDD are explicitly excluded. Maybe better option would be to look into dietpi-sync instead.

1 Like

Will investigate that, thank you :slight_smile: