Read the statement by Michael Teeuw here.
Script pishrink reduces the size of backup-images to restore on smaller SD-cards
-
It’s a little bit off-topic to MM2, but don’t you juggle with your Raspis, SD-cards and images you made for backup? And sometimes, you want to restore a backup on a smaller SD-Card? I found a solution in the Internet, the script Pishrink reduces the size of images by deleting unused space and that within minutes. After the procedure, a (for example) previous 64GB image will be much smaller and can be copied to a much smaller SD-card (which is done by windiskimager faster than the original size, of course). Pishrink adds a parameter which expands the file-system automatically to the whole space on the SD during restoring.
You need Linux if you want to give it a try. If you use VirtualBox, please keep in mind that you can’t run Pishrink at the shared-folder, please copy the image into the VM first .
For LibreELEC and OpenELEC you need to use the switch -s…please use Google for more information.
You can find it here: https://github.com/Drewsif/PiShrink…I’m not the developer!
-
@thgmirror and i made this to crontab : https://github.com/The-Exterminator/PiShrink-to-Crontab
And you Can backup the usb disc to.
-
@assassins Did you include a zip-process? If the backup is zipped, you can save additionally a lot of space.
Thomas -
@thgmirror said in Script pishrink reduces the size of backup-images to restore on smaller SD-cards:
@assassins Did you include a zip-process? If the backup is zipped, you can save additionally a lot of space.
ThomasYou can read on pishrink, how to set this to .zip, the script i made is to .img
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login