[Dirvish] Subsequently expanding the tree?

Vortex vortex at versanet.de
Sat May 2 06:55:44 UTC 2015


Hello Isaac,

thank you very much, I will try that. I improvised with another vault
for anything BUT /home/user, but I would prefer a one-vault solution.

And thank you for reminding me of hardlink. I used it years ago and just
forgot about it since then. :*)

Cheers

Vortex

On 02.05.2015 00:01, Isaac W Traxler wrote:
> You could do the following:
> - make a new backup for home
> - initialize it
> - move all of your existing stuff into the directory
> - run the hardlink command: hardlink /backup/system/home  (or whatever it 
> is called)
> 
> This does mean that for a while you have duplicate files. It might work to 
> just change your config and then do an init and then the hardlink (without 
> the moving...).
> 
> After my backups finish, I actually run ardlink on each of them (every 
> file system I backup goes to a unique file system on the backup server). 
> Dirvish/rsync is simply comparing the current server to yesterday. If a 
> file keeps alternating between two versions you will have lots of unique 
> copies of it. By running the hardlink command you discover the redundant 
> files and eliminate them.
> 
> --
> Isaac Traxler                             AIX,Linux Admin
> Louisiana State University, LONI          traxler at lsu.edu
> High Performance Computing                225-578-1923
> Storage & Infrastructure
> 
> On Fri, 1 May 2015, Vortex wrote:
> 
>> Date: Fri, 1 May 2015 10:31:22
>> From: Vortex <vortex at versanet.de>
>> Reply-To: Dirvish user and developer mailing list <dirvish at dirvish.org>
>> To: dirvish at dirvish.org
>> Subject: [Dirvish] Subsequently expanding the tree?
>>
>> Greetings,
>>
>> how can I change the tree in the default.conf for future backups so that
>> dirvish still recognizes the existing files for hardlinks?
>>
>> Say, I have images for /home/user an now I want to save the whole /home.
>>
>> I tried to change the tree in default.conf from /home/user to /home and
>> moved the contents of the last good image in /bank/vault/tree to
>> /bank/vault/tree/home to match the new tree path. But dirvish didn't
>> recognized the data in /home/user to be the same in
>> /bank/vault/tree/home/user and copied all data anew.
>>
>> I don't want to lose the hardlinks for the already backed up data.
>>
>> Of course, I could just make another tree for /home *except* /home/user
>> but I want to keep the whole directory structure as it is in the original.
>>
>> I hope I made myself understandable. ;)
>>
>> Cheers
>>
>> Vortex
>>
>> -- 
>> "Computer games don't affect kids; I mean if Pac-Man affected us as
>> kids, we'd all be running around in darkened rooms, munching magic
>> pills and listening to repetitive electronic music."
>> -- Marcus_Brigstocke, english comedian and satirist
>>
>>
>>
> _______________________________________________
> Dirvish mailing list
> Dirvish at dirvish.org
> http://www.dirvish.org/mailman/listinfo/dirvish
> 


-- 
"Ganz er selbst sein darf jeder nur, solange er allein ist; wer
also nicht die Einsamkeit liebt, der liebt auch nicht die Freiheit:
Denn nur wenn man allein ist, ist man frei."
-- Arthur Schopenhauer, deutscher Philosoph (1788-1860)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
Url : http://www.dirvish.org/pipermail/dirvish/attachments/20150502/5645c650/attachment.bin 


More information about the Dirvish mailing list