Jetson Xavier AGX Backup

Backing Up the Jetson

  1. SSH into Jetson using the command

    ssh uwrt-agx-xavier@192.168.55.1
  2. Make the file system read-only

    echo u | sudo tee /proc/sysrq-trigger
  3. Still on the jetson, through ssh, transferring an image of full internal memory hard drive over ssh to host PC:

    sudo dd if=/dev/mmcblk0p1 | ssh user@YOUR_IP 'sudo dd of=/path_to_save_folder/image.raw'

This will create on your PC a 30Gb file containing a full image of the Jetson. you can now turn of jetson.

  1. Now on you pc you can convert the .raw image to a .img image file:

Restoring the image file

Boot the Jetson on restore mode (power and middle button for 5 sec), connect it with usb to the PC.

copy in this bootloader folder your backup img file and rename it system.img

Resources:

https://forums.developer.nvidia.com/t/make-backup-and-restore-the-image-of-jetson-agx-xavier/198224

https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3275/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/flashing.html#wwpID0E0VQ0HA