many thanks for your message. You could perform a dry-run using run-parts --test /etc/cron.daily/. This should display all scripts that’s going to be executed on daily basis.
you can have a look to journalctl -u cron.service and check for the time frame the daily jobs should be executed. Maybe there are messages related to your script.
If you want to keep cron running through DietPi updates/installs/backups and such, hence exclude it from DietPi control, enable it to be started by systemd instead: systemctl enable --now cron
But while there are cases where servers/services need to run while you still want to install something, cron is really the last thing I’d consider important enough, while it’s important to be generally running as used by many 3rd party software to do their maintenance jobs.
You can add services to the dietpi-services control via its GUI.
Btw in your rotate script, move your last directory (4) to the initial place instead of removing it. This will reduce the execution time and writes as only changes are synced while identical files are left unchanged .
My external hdd1 is formatted in ext4. How can i copy the files to a ntfs formatted Computer or hdd? I tried it but there were symlink/permission errors or to many files to copy or the Filesystem does Not Support something.
Another question: on raspbian it was possible to backup my whole sd card to an Image. Is this also possible on dietpi?
Jep dietpi-imager is an idea, although its purpose is to create a fresh DietPi image and for this it minimises the file system and partition size.
Was this possible on Raspbian from the running system itself? I mean in theory /dev/mmcblk0 can be read to an image file via dd, but I would never assume that there will be a reliable result as long as any of the file systems is still writable. And remounting the root file system read-only is not reliably possible as there are usually still parts write-opened by some system process, as Joulinar might remember, the failing and hard to investigate mount -o remount,ro / . So if there is any tool on Raspbian that manages this, I would be happy to check out the method and implement something similar into dietpi-backup .