repository 9a03e76e opened (version 2, compression level auto)
[0:00] 100.00% 2 / 2 index files loaded
restoring snapshot da5a4d3e of [/] at 2024-11-21 11:15:24.329740814 -0500 EST by root@site.com to /home/joe/t
Why the path is shown as [/] instead of [/home/joe/bin/mem] and the command will restore the whole repository instead of the requested file “mem” ?
I think I misunderstood the --path option when used with the “restore” command. It cannot be a single filename, but rather a directory name unless the snapshot is just a single file.
There was also some other problems with the parameters but when I replaced the repository and password parameters to environment variables the thing started to work.
--path is used to select snapshots when using latest as snapshot name. However, as da5a4d3e is already a specific snapshot, the --path option has no effect.