I am trying to make a Docker image which would make backups of the host system.
For that purpose, I mount into a Docker container two volumes:
And then I run:
rdiff-backup --include-globbing-filelist list /source /backup
My issue is that with this approach "source" directory is put into
/backup, and all paths in "list" have to start with /source as well.
Is there a way to tell rdiff-backup that the /source should be used as
root and that prefix should be removed when making a backup, and also
for include-globbing-filelist? So that everything behaves like:
rdiff-backup --include-globbing-filelist list / /backup