V
V
VN2021-06-04 15:01:06
Backup
VN, 2021-06-04 15:01:06

How to extract files from borgbackup archive to specified directory?

Actually there is a backup, when you try to extract it, the files get into the home directory of the user from under which this procedure is performed. In this case, I extract the etc/apt directory from the archive.

borg extract RepoName::HostNameBackup-2021-06-04_14:28:19 etc/apt

How to specify the path to extract
borg extract RepoName::HostNameBackup-2021-06-04_14:28:19 etc/apt  /path/to/source/dir

So it doesn't work. I didn't find anything in the docs on this issue.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question