Flashing Xavier backup from different directory

Hi,
I used a following command to make a backup of my APP partition

sudo ./flash.sh -r -k APP -G /media/piotr/DATA/Xavier_backup/my_backup.img jetson-xavier mmcblk0p1

Now I’d like to flash it back to xavier. Is it possible to set the same path, so that flashing script use my_backup.img to update APP ? I have limited space on my host machine so cloning my_backup.img to L4T/bootloader folder isn’t possible.

is this the correct command to do it?

sudo ./flash.sh -r -k APP --image /media/piotr/DATA/Xavier_backup/my_backup.img jetson-xavier mmcblk0p1

I haven’t tried the “–image”, but it might work. As an alternative, perhaps a symbolic link pointing to the real file would work. So for example (note that sudo shell keeps you as root ID):

cd /where/ever/it/is/Linux_for_Tegra/bootloader
<b>sudo -s</b>
rm system.img
<b>ln -s /media/piotr/DATA/Xavier_backup/my_backup.img system.img</b>
cd ..
./flash.sh -r jetson-xavier mmcblk0p1

Your suggestion with symbolic link pointing worked. Thank you very much for help