How to upsize and migrate sdcard

Any suggestions of how to upsize and migrate sdcard contents?

I would ssh into it. Copy the content from the old card to the PC. Then swap the SD card and copy stuff back after setting it up.

There are other ways.

For you it depends on your knowledge.

1 Like

I would use tar or rsync to copy the contents.

If the filesystem supports owners and permissions (i.e. it is not FAT), make sure you keep user and ownership information when copying.

For tar this can be done with the -p option when extracting. With rsync I believe -a should do it, but check the documentation.

3 Likes

I would do this what @filip.k suggested, @crun .