How to transfer data partition to usb

Have been trying via ssh but not getting there. Can somebody point me to the right instruction how to move the data partition to an usb flash drive?

The new 6.5 version together with the newest core have a menu option for this. I have not tried it myself, but it looks to be an easy job now.

ah that would be perfect! upgrading OS now but is taking really long already, but as always patience patience patience :slight_smile: thanks!

so was able to find the option in the menu, has been done. But how to check if this was successful? should I make a Samba connection and see?

You can use ha os info command in the ssh terminal to see the current disk in use

You could also check the supervisor > system > host card and hover your mouse over the Used Space bar and assuming you know the size of your drive, see if it matches what you expect to see.


Or…you could go to Configuration > Info and scroll down to the “Supervisor” section to see the same disk usage info

wow thanks for the clear instruction!
sadly the card shows the size of the SD card. When selecting move datadisk I get the following option. Should I be able to see more to select from? And would it mean that the USB flash (exfat formatted and called CONFIG) is not recognized correctly?

Screenshot 2021-10-12 182107

A USB stick labeled CONFIG is only for importing settings to the host, and a flash drive is not going to be the best choice for this. But even if you clear that, and remove the CONFIG label, a flash drive is going to be slow. You can try it, but I have played with it myself and it doesn’t perform well.

It would be better to connect a USB connected SSD drive. It shouldn’t matter how you format it, because it is going to end up formatted as EXT

Ok sounds like a better plan (felt the usb flash getting rather warm already). Any suggestion for the usb ssd? What should i look for when buying?

Already read i don’t need an expensive one. So ordered one already and will move the core tomorrow. Thanks for now

Yeah, I forgot to add, with my flash drive test it got surprisingly hot, too. :fire:

I’ve tested with an Inland 512GB SSD nvme and this enclosure

I’ve also used a 2.5" SSD with a Sabrent EC-UASP enclosure

Received a Philips SSD, but when trying the datamove I get a Timeout. How do I verify if SSD is being recognized by the pi/hassio?? Repeating but thanks and really appreciating all the help!!!

I am also testing the new Move datadisk function from UI. For this I have connected a usb hard disk (hdd) that I can see connected in the hardware list as sdb and sdb1. When I click on Move datadisk, Home Assistant returns the message: No suitable attached devices found
Do you know if the external drive must have any special characteristics to be compatible with this function?