Backup Link2sd ext4 partition, resize it and restore I have messed the ext4 partition resizing it with Gparted, it still works but shows the old size and Link2sd doesn't seem to be able to link all the pieces.

I was wondering if I could backup the content with Titanium or other, format the partition at the correct size with Gparted and then restore the content to the new larger partition.

I know the ext4 cannot be resize but I guess that it can be deleted and created again, what I am not sure if there is something in the current ext data that is dependent on the size of it. I think that is why I should not be doing a backup image directly but instead backup the files individually.
Speaking of GParted, I assume you have a Linux computer available. So steps to be performed are quite simple -- speaking of an external SDCard:


Unmount the card from your Android device, and take it out
Put it into a card reader, attach it to your Linux computer. Mount it there.
Copy all contents into an empty directory on your Linux machine. From the command line, you can use the cp command for that to ensure everything is copied: cp -a &lt;/path/to/source&gt; &lt;/path/to/target&gt; (replace &lt;/path/to/source&gt; with where you've mounted the card, and &lt;/path/to/target&gt; with your empty directory's path; for details on the cp command, run man cp or see its man-page on the net)
Optional: check that everything was copied fine. If there were no errors displayed in the previous step, it should have worked fine.
If your card has multiple partitions containing data, repeat the previous two steps for each of them.
Use GParted (or whatever tool of your preference) to drop and re-create partitions as needed, and re-create the file systems
Repeat steps 3-5, reverting source and target (to get your data back on the SDCard)
Unmount your SDCard, safely remove it from the computer, put it back into your Android device, and enjoy!
If everything went fine, and all data is available on your device as hoped, optionally remove the "backup directories" created in step 3.


Job done :)