User avatar
greeen blobcatpresentgreen (simulacrum edition) @green@mk.absturztau.be
1mo
how do i best take a full image of my rpi and download that over ssh
1
0
0
0
User avatar
greeen blobcatpresentgreen (simulacrum edition) @green@mk.absturztau.be
1mo
like i would just tar the / filesystem, but there's not enough space on disk to have a tarball of everything else
2
0
0
0
User avatar
freya therian :4 (she/it) @freyalikesgirls@transfem.social
1mo
@green dd into compression?
1
0
0
0
User avatar
greeen blobcatpresentgreen (simulacrum edition) @green@mk.absturztau.be
1mo
@freyalikesgirls elaborate?
1
0
0
0
User avatar
minwlfNotice flori_ava_star~cursor_blinking @star@amazonawaws.com
1mo
@green @freyalikesgirls dd with if being your rootfs and you pipe that into tar
❤️1
2
0
0
1
User avatar
minwlfNotice flori_ava_star~cursor_blinking @star@amazonawaws.com
1mo
@green @freyalikesgirls And you pipe that output stream over ssh onto another device
❤️1
3
0
0
1
User avatar
greeen blobcatpresentgreen (simulacrum edition) @green@mk.absturztau.be
1mo
@star @freyalikesgirls that's gonna be a very annoying backup to later recover. i would have to somehow turn the file into a block device and then mount it
2
0
0
0
User avatar
freya therian :4 (she/it) @freyalikesgirls@transfem.social
1mo
@green @star yeah..
arent rhere ways to make it seekable
mybe something w squashfs?
2
0
0
0
User avatar
greeen blobcatpresentgreen (simulacrum edition) @green@mk.absturztau.be
1mo
@freyalikesgirls @star i think it would be easier to just do a normal tar, and pipe the output over stdout. or the normal way of rsyncing the whole filesystem and tar.gz-ing it locally
2
0
1
0
User avatar
minwlfNotice flori_ava_star~cursor_blinking @star@amazonawaws.com
1mo
@green @freyalikesgirls But if you don't want to compress it right away, don't use TAR, just pipe the raw bytes of the disk image into a .img file
:neocat_heart@transfem.social:1
2
0
0
1
User avatar
minwlfNotice flori_ava_star~cursor_blinking @star@amazonawaws.com
1mo
@green @freyalikesgirls That's the absolute closest you can get to a 1:1 copy anyway, since that is literally what it is
0
0
0
0