Documentation/Allspark2-Orin NX WikiEnglish · NX
Browse documentation
8 Image Backup and Restore

8 Image Backup and Restore

+ Tip This Ubuntu system image backup and restore method is provided for reference only.

3 min read · English documentation

Disk-Copy Backup and Restore

Backup and Restore Using Clonezilla

  • Tip

    This Ubuntu system image backup and restore method is provided for reference only.

Back Up and Restore According to the Following Documents

Creating Clonezilla Media

See the instructions in Creating a Clonezilla Boot Drive.docx.

Backing Up an Image

See the instructions in Clonezilla System Image Backup.doc.

Restoring an Image

See the instructions in Clonezilla System Image Restore.doc.

Note

During restoration, the destination disk must have a capacity greater than or equal to that of the backed-up disk.

Backup and Restore Using an SDK Image

Confirming the Jetson Version

Start the onboard computer and install jtop to check its version. Open a command line and run:

sudo apt install python3-pip
sudo -H pip3 install -U jetson-stats
sudo reboot

After the restart, run:

jtop

图片.png

Downloading the Jetson Environment and Setting Up the Environment

Use a computer running Ubuntu as the host and download the following packages.

35.2.1:

Jetson Environment — Jetson Linux 35.2.1, Root File System, and NVMe Backup and Restore Files

35.5.0:

Jetson Environment — Jetson Linux 35.5.5 and Root File System.

35.6.0:

Jetson Environment — Jetson Linux 35.5.6, Root File System

Extract the Jetson environment.

tar xf ${L4T_RELEASE_PACKAGE}

Extract the root file system.

sudo tar xpf ${SAMPLE_FS_PACKAGE} -C Linux_for_Tegra/rootfs/

Extract the AMOV backup and restore scripts. (This step is not required for 35.5.0.)

sudo tar xpf backup_restore.tar.gz 

Replace the NVIDIA backup and restore scripts. (This step is not required for 35.5.0.)

cp backup_restore/* Linux_for_Tegra/tools/backup_restore/ 

Configure the environment scripts.

cd Linux_for_Tegra/
sudo ./apply_binaries.sh
sudo ./tools/l4t_flash_prerequisites.sh

Note

Be sure to download the matching Jetson version.

Backing Up the Image

Put the onboard computer into REC mode:

Enter REC mode.

  1. Turn off power to the system.

  2. Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.

  3. Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.

  4. Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

Run the following on the host:

cd Linux_for_Tegra/

Version 35.2.1:

sudo ./tools/backup_restore/l4t_backup_restore.sh -b -c p3509-a02+p3767-0000

Version 35.5.5:

sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b jetson-orin-nano-devkit

Version 35.6.0:

sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b jetson-orin-nano-devkit

Backup successful.

图片.png

Restoring the Image

Put the onboard computer into REC mode:

Enter REC mode.

  1. Turn off power to the system.

  2. Use a USB cable to connect the ORIN OTG-USB port to a USB port on the Ubuntu development host.

  3. Press and hold the REC button, power on the system, keep holding the button for at least 3 seconds, and then release the REC button.

  4. Enter lsusb in the host terminal. If an NVIDIA device is displayed, the device has successfully entered Recovery mode and subsequent operations such as flashing and backup can be performed. If no NVIDIA device is displayed, check the cable and the procedure for entering the mode, and then try again.

Run the following on the host:

cd Linux_for_Tegra/

Version 35.2.1:

sudo ./tools/backup_restore/l4t_backup_restore.sh -r -c p3509-a02+p3767-0000

Version 35.5.5:

sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -r jetson-orin-nano-devkit

Version 35.5.6:

sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -r jetson-orin-nano-devkit

Restore successful.

图片.png