dietpi-backup via crontab?

is it possible to auto backup via crontab?
dietpi-backup only opens the dialog,
is there a command where the backup starts directly to default location?
that would be great

Hi,

yes

:~# /DietPi/dietpi/dietpi-backup  1

But there are some more option. please have a look:

# Usage:
	# - /DietPi/dietpi/dietpi-backup -1 = Restore
	# - /DietPi/dietpi/dietpi-backup    = Menu
	# - /DietPi/dietpi/dietpi-backup  1 = Backup
	#
	# $2 = optional directory location to use with backup/restore input:
	# - /DietPi/dietpi/dietpi-backup -1 /mnt/MyDirectoryTarget = Restore
	# - /DietPi/dietpi/dietpi-backup  1 /mnt/MyDirectoryTarget = Backup

and custom Include and Exclude patterns:

cu
k-plan

exactly what i was looking for

thx