piclone / rpi-clone

Hello y’all,

I am on V6.1 (OdroidC2) of DietPi. I really like it.

Unfortunetely i can not install rpi-clone or piclone on V6.1. rpi-clone is missing /usr/local/sbin and piclone is missing macro’s in the library. (from what i understand anyway)

I just want to make a backup of my sd-card (without having to down the server all the time).

Anyone having idea’s about this?

You can use dietpi-backup.

John

Hello John,

I think i messed up my path enviroment. (if i type “dietpi-backup” it is not found).

What are the bare minimum path-statements DietPi needs?

(i had “PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin” in my crontab)

ps: i know that i can find the dietpi-scripts in /DietPi/dietpi

I did:

unset PATH

export PATH=$PATH:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/DietPi/dietpi
ldconfig

(i removed /usr/local/sbin because it doesn’t exsist)

In the end i did:

(edit .bashrc just before the last line: “/DietPi/dietpi/login”)

PATH=${PATH}:/DietPi/dietpi
export PATH