I recently found out, that my main ssd has a bad sector, so I am planning to refund it, but prior to that, I want to backup my data on an ssd. The main ssd is 2TB, but is far from full, I want to downsize my /home partition to less or equal to 512 GB.
68.5GiB (btrfs snapshots,and all the boot partitions)+ 22% of 1.75TiB (let’s say 23 for headroom) = 471 GiB < 476.83 GiB
I did it with gparted before on other distros, is it reasonable with opensuse too?
A backup, only backups data, not empty space. So it is absolutely no problem to fit your ~250G data into a 500G drive. No resizing of partitions needed.
Cloning a drive is a different topic. There you usually need the same source and target SSD size (depending on technique and tools used)
The shrinking of the home partition should work in theory. Backup your home partition as there is never a guaranty that you won’t lose data. Use a tool which can shrink the size whilst keeping the data, e.g. gparted.
The home partition shouldn’t be in use whilst the operation is ongoing. So use a live OS at best.
In the worst case that something goes wrong whilst shrinking, you can copy the data from your backup to the shrinked home partition.