Removing prefix when making a backup

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Removing prefix when making a backup


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



rdiff-backup-users mailing list at [hidden email]
Wiki URL: