I would like to backup the entire system drive/partition to a USB hard/flash drive. I have a 128gb usb flash drive and a 2tb usb hard drive. I am borrowing a friends macbook air for learning swift/ios programming for a few months.
I figured that I can back it up and restore it later for minimal inconvenience for him. I would prefer to not have to log in or install anything on it. I currently don't have his account password but can get it if needed.
BTW the mac is el capitan I think. It is a different looking disk utility than I have seen in some online screenshots elsewhere.
What I have tried:
Booting to the recovery mode using command +r.
Then I erased the usb drive (name 06192017, format osx extended journaled, GUID partition map).
Then I selected the 06192017 and selected edit>restore.
"Restore from:" I selected "macintosh HD" and clicked restore.
It takes a little while and then fails. It says "io error" in the details.
I have also tried to select the "macintosh HD" and select file> new image>Image from "macintosh hd" save as: "macintosh hd" tags: (none) Where: 06192017 (my usb drive) Format: compressed encryption: none This also seems to work for a few minutes and then fails. A box says: com.apple.diskutility error 3
First I tried the 2tb USB hard drive and then I figured there may be a problem with that so I tried the 128gb USB flash drive. Same results.
I am new to mac OSX. Am I going about this all wrong?