piclone / rpi-clone

Suggestions for features and software you would like to see in DietPi, goes here.
Post Reply
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

piclone / rpi-clone

Post by pakikje »

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?
User avatar
johnvick
Legend
Posts: 693
Joined: Wed Jun 08, 2016 11:53 am
Location: New Zealand

Re: piclone / rpi-clone

Post by johnvick »

You can use dietpi-backup.

John
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

Re: piclone / rpi-clone

Post by pakikje »

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
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

Re: piclone / rpi-clone

Post by pakikje »

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)
pakikje
Posts: 124
Joined: Fri Nov 11, 2016 3:04 pm

Re: piclone / rpi-clone

Post by pakikje »

In the end i did:

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

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