this post was submitted on 23 Dec 2023
1 points (100.0% liked)

Raspberry Pi

1 readers
1 users here now

A space to discuss and share thoughts, projects and all things related to Raspberry Pi boards.

founded 1 year ago
 

I have a headless 3B+ and want to connect a USB drive to it to periodically backup some data. I don't want the drive to draw power all the time.

My plan is to use this in a script
https://github.com/mvp/uhubctl#raspberry-pi-3b
to power up the USB port, mount the drive, write the data, unmount and power USB off again.

My assumptions are that a USB drive will draw power even when idle. Is this correct? Does it depend on the USB adapter in the drive? Is there a better way to do this, cause my plan seems pretty hacky.

#RaspberryPi

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here