I am using a Jetson Orin NX 8GB development kit and encountered an issue with the l4t_backup_restore.sh script when migrating from JetPack 5.1.3 to JetPack 6.0.0.
On JP5.1.3, I could export the root filesystem and create a backup image using the following command:
sudo ./tools/backup_restore/l4t_backup_restore.sh -e nvme0n1 -b -c jetson-orin-nano-devkit
This successfully exported the root filesystem, and I could create a backup image of the actual used space (~27GB) instead of the full NVMe partition (~256GB).
However, after upgrading to JP6.0.0, I encountered the following issues:
-
Script execution fails: The same command is no longer usable; the script exits with errors (specific errors can be attached).
-
Full partition cloning: When attempting to clone the NVMe storage, the script clones the entire partition size (~256GB), rather than just the used space (~27GB). This results in unnecessarily large backup images.
Expected Behavior:
-
On JP6.0.0, I would like to export the root filesystem (27GB used) without cloning the entire 256GB partition.
-
I expect the
l4t_backup_restore.shscript to behave similarly to JP5.1.3, efficiently handling only the used data.
Environment:
-
Jetson Orin NX 8GB Dev Kit
-
JetPack 6.0.0 (L4T version)
-
NVMe root filesystem (~256GB partition, ~27GB used)
Request:
Could you provide guidance on how to properly backup and restore the root filesystem on JP6.0.0 without cloning the unused partition space? Is there a recommended update to the l4t_backup_restore.sh script or an alternative procedure for JP6.x?