Restore in-place
Tobias Specht <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <trinity-332f905e-201c-4a5d-b286-fadef5f1f1fe-1619344219226@3c-app-gmx-bap36> |
Hi Denis, I'm usually doing an "online" backup with dar. This means, I create the backup while my system is running. Example: dar -R /home/tobias/Documents -c /var/backup/documents The same does usually also apply, if I want to restore some files from the backup. Example: dar -R /home/tobias/Documents -x /var/backup/documents -g foo/file1.txt In this way, the path where I created the backup from and the path where I want to restore the file are identically. From a usability perspective, it would be great, to tell dar to extract the file foo/file1.txt from the given archive /var/backup/documents "in-place". This would require dar to save the source path in the archive when creating the backup. Is this possible with dar? As far as I can see, there is something like that in the dar_manager. Do you think, this option would be helpful to have in dar? A workaround would be to use the --user-comment option to save the source path. But I think this is not an optimal solution. Best regards, Tobias