Clone sd card from Neo itself

Discussion in 'UDOO NEO' started by Vinz87, Apr 3, 2017.

  1. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    Hi, I would like to be able to backup sd card without removing it from the Neo.

    I read of combining dd command with netcat, and transfering the output of dd over the network on my desktop computer.

    My question is, which would be the input file "if" of the dd command executed on the Neo to make a backup of the entire sd card?

    This is the output of the "df -h" command which lists the mounted partitions:
    Filesystem Size Used Avail Use% Mounted on
    /dev/root 7,3G 5,7G 1,3G 82% /
    devtmpfs 84M 4,0K 84M 1% /dev
    none 4,0K 0 4,0K 0% /sys/fs/cgroup
    none 49M 256K 49M 1% /run
    none 5,0M 0 5,0M 0% /run/lock
    none 244M 4,0K 244M 1% /run/shm
    none 100M 16K 100M 1% /run/user
    /dev/mmcblk0p1 32M 25M 7,3M 78% /boot
    tmpfs 20M 0 20M 0% /gpio
    tmpfs 20M 0 20M 0% /sensors
     
  2. jas-mx

    jas-mx Active Member

    Joined:
    Dec 31, 2013
    Messages:
    407
    Likes Received:
    118
    If you want to make a full image back of the SD card then the card shouldn't be mounted to run a OS, hence it needs to be removed from the NEO. There are a number of partitions on the SD card if want to back these up (not the same as creating a back image) while the OS is running then look at using the 'rsync' command.
     
  3. Vinz87

    Vinz87 UDOOer

    Joined:
    Nov 11, 2015
    Messages:
    105
    Likes Received:
    19
    I'm not interested in backing up data on the SD card, instead I want to back up system configuration, installed software which runs in background (no-ip, syncthing, python modules, etc.).

    Will rsync enable me to do this?
    Or, is there a way to achieve this result without unplugging the SD card from the Neo itself?
     

Share This Page