I reinstalled my OS and picked a different username.
When I restored my ~/Videos
snapshot, I got this:
/home/BBB/Videos/home/AAA/Videos/*
(while AAA is my old username, BBB is the present one.)
how to got this structure:
/home/BBB/Videos/*
This is my command which is used to restore:
restic -r ./backup restore xxxxxxx --target ~/Videos
Other info:
restoring <Snapshot xxxxx of [/home/AAA/Videos] at long long ago by AAA@AAA-OS> to /home/BBB/Videos