Page 1 of 1

Dietpi backup: how to exclude folders/files

Posted: Mon Jun 11, 2018 4:08 pm
by iswego
Hi,

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?

Thx!!!!

Re: Dietpi backup: how to exclude folders/files

Posted: Tue Jun 12, 2018 5:16 am
by Fourdee
Hi,

Please refer to online documentation:
viewtopic.php?f=8&t=5&start=30#p255

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

Code: Select all

/root/*
/lib/firmware/*
/test/myfile

Re: Dietpi backup: how to exclude folders/files

Posted: Wed Jun 13, 2018 12:50 pm
by iswego
Thanks very much!