On Sat, 29 Oct 2016 11:48:55 -0400, Lidia Toscano
<
lidia....@gmail.com> declaimed the
following:
>Yes but it is not just the image I originally burned onto the SD card,
My question was "what did you use to create the original SD card".
I then went on to explain that the software /I/ used can create an
image file FROM and SD card, which could then be used to write a copy to a
different SD card. (I just got done doing that yesterday, for my RPI3 --
I'd made a backup a few weeks ago since I was running a benchmark suite
that required a swap file on the card, and thrashed it heavily... when I
booted the RPI3 yesterday, fsck found a massively trashed disk structure --
I think it was reading the former swap file as directory entries: multiply
claimed inodes, for everything on the disk -- I finally pulled the plug,
verified my backup would boot [it did], shutdown, made an image from that
card, formatted the original card, and wrote the image to it)
Of course, if all your personally created files are in /home/debian (or
somewhere under /home) you could use "tar" to collect the /home directory
into one file, use sftp to copy that file to your main computer. Create a
fresh SD card with a plain OS image, boot from that, do the usual apt-get
update/apt-get upgrade, use sftp to put the tar archive to the new card,
then use tar to extract the home directory contents.
tar -cvzf /backup.tar.gz /home
tar -xvzf /backup.tar.gz /home