Dietpi backup: how to exclude folders/files


am pretty new to DietPi, but like it very much!!!

But I struggle to exclude folders from dietpi backup. I learned, that “.dietpi-backup_excludes” has to be changed, but I cant find an example for the file format, how to set a directory within “.dietpi-backup_excludes”.
Can someone help me please?



Please refer to online documentation:

eg: to exclude /root and /lib/firmware and /test/myfile, you could use the following in /DietPi/dietpi/.dietpi-backup_exclude

1 Like

Thanks very much!