Hi DietPi team,
I’m trying to run dietpi-backup completely in the background, so it continues after I disconnect from the SSH session.
What I tried so far:
dietpi-backup 1 > dietpi-backup.log 2>&1 &
This seems to work, but I’m not sure if this is the correct / recommended way with DietPi, or if there are any caveats (signals, cleanup, logging, etc.).
My questions:
-
Is there a built-in DietPi mechanism (service, flag, or cron job) intended for background backups?
-
Any best practices for running backups unattended?
Thanks a lot for your help and for DietPi ![]()