Welcome! » Log In » Create A New Profile

Removing prefix when making a backup

Posted by Mitar 
Mitar
Removing prefix when making a backup
May 28, 2017 04:50PM
Hi!

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:

/source
/backup

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


Mitar

--
http://mitar.tnode.com/
https://twitter.com/mitar_m

_______________________________________________
rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
This message was imported via the External PhorumMail Module
Sorry, only registered users may post in this forum.

Click here to login