rpi-clone to img file #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is it possible to use rip-clone to write not to an sd-card but to a img file (perhaps created with dd)? If so, how to?
hi. also a feature-request:
maybe you change your scprit to rsync backups over the net/lan to a central rasperry-backupserver?
i find your script juseful. thanx a lot..
For exporting to img, dd can do the stuff :
+1 for this feature request.
+1
I worked on a litte script and I used loopback devices.
It would be very nice, because you can deal with image files with all advantages... and if you need a "real" clone you dd the file to a sd-card.
+1 for ability to write to an image file while ignoring open/temp files and also truncating to a small file.
+1 for image file support.
+1 for image file support!
Hi all,
I believe this could be possible with small changes to rpi-clone, but I do not have enough knowledge, I'd probably mung it.
What I've done so far:
/media
./media/rpibup.img
, a tad larger than the sum of the boot partition and main partition's used space.-Pf
params.sudo rpi-clone loop0 --exclude=/media/*
.Here's the output:
Script's trying to operate on partitions
/dev/loop0[12]
, while loopback calls them this way (a "p" between device's name and partition no.):I can guess two solutions: having loopback not to insert that letter, or make rpi-clone loopback aware. Is any viable?
TIA, cheers!