I have a remote server that I can connect to via ssh, I need to restore files from there to my computer (preferably with folder structure or just filenames), ext4magic says that I cant restore it because of same partition or something (when I ssh into it), so I need to restore it to my pc. Now I used sshfs to mount remote /dev/vda1 to /mnt/vda1 on my pc, I did a command and it gave me an error. sudo ext4magic /mnt/vda1 -f / -a $(date -d -30days +%s) -r -d ../../home/felix/Documents/rc/ ./ Error 21 while opening filesystem ext4magic : EXIT_SUCCESS
I can't do it like that so I probably need to create an image from it, and restore from that img, can I do that? how can it be done? Is there a way to create iso file that I can try to restore files from? how can I do that? Thank you.