Open billouetaudrey opened 2 years ago
Thanks for sharing. Little hint:
sudo apt update && sudo apt upgrade -y && /boot/dietpi/dietpi-update
As you anyway need to run the whole script with root privileges, the sudo
here is not required. Also you can skip the DietPi-Backup menu when it is already configured to use /mnt/backup
:
/boot/dietpi/dietpi-backup 1
Same with DietPi-Update:
/boot/dietpi/dietpi-update 1
Oh thanks, lemme edit :)
For Sudo I forgot to delete it lol
On my own server, will not use dietpi-update 1 because I like to see if backup is successfully mount and detected ;)
Hey, this is my small script for Update all package then mount the good backup partion then Launch dietpi-backup
Sorry if it's bad place :(