|
From: | Saptarshi Guha |
Subject: | [rdiff-backup-users] Updating just subfolder in a backup tree |
Date: | Fri, 30 May 2008 23:38:09 -0400 |
Hello, Not sure if the title is misleading but here is my explanation. I started my regular backups like this (0) rdiff-backup -v2 --exclude-fifos --exclude-sockets --print-statistics --exclude ~/.Trash ~/Library/Caches ~/address@hidden::/ln/afterlife/home (many more excludes) This is run everyday and only 5 recent backups are kept. So /ln/afterlife/home is a mirror(almost) of my home folder. Now, say I made 2 modifications in my home folder 1)made a folder X in ~/tmp/, where tmp already exists in the backup(made ages ago) 2)Updated things in ~/Y, where Y has been made before the most recent backup(so Y exists in the mirror) How do i update **just this new information**, without running (0). I tried A)rdiff-backup -v2 --exclude-fifos --exclude-sockets --print-statistics --exclude ~/.Trash ~/Library/Caches --include ~/tmp/X ~/ address@hidden::/ln/afterlife/home/ and B) rdiff-backup -v2 --exclude-fifos --exclude-sockets --print-statistics --exclude ~/.Trash ~/Library/Caches --include ~/tmp/Y ~/ address@hidden::/ln/afterlife/home/ But i get "Fatal Error: Last selection _expression_: Command-line include glob: /Users/yanger/mystuff/tmpproj/fixme only specifies that files be included. Because the default is to include all files, the _expression_ is redundant. Exiting because this probably isn't what you meant." I also tried (C) --exclude '**' --include ~/tmp/X --include ~/tmp/Y ~/ address@hidden::/ln/afterlife/home/ But this messed up my entire repository...! Q: So how can i can just update a single folder in my backup tree? Many thanks Saptarshi |
smime.p7s
Description: S/MIME cryptographic signature
[Prev in Thread] | Current Thread | [Next in Thread] |