Re: Restoring everything with dar_manager

Denis Corbin <[email protected]> Fri, 16 Jun 2023 22:41:56 +0200
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
On 16/06/2023 21:13, John Goerzen wrote:
> Hi,
> 
> In looking through things a bit, I see that dar_manager does nothing if
> no files are passed to -r.  I tried both / and . as possibilities, and
> neither did anything.  I want to restore an entire archive using
> dar_manager; is there a way to do that that I'm missing?  (Similar to
> just dar -x without any filters.)

first, its much more efficient to restore with dar directly when it 
comes to restore an entire archive. If this just a full backup, just one 
line or command is needed. If full and differential and/or incremental, 
simply run dar with in turn the full and diff(s) and incremental(s) in 
the order the have been created (eventually adding -w option not to be 
annoyed when restoring a modified file, else dar would ask for 
confirmation for each file).

If you did decremental backup, then only the last backup needs to be 
restored... assuming you want to restore the filesystem in the latest 
state that was backed up.

Second dar_manager has been designed to restore a set of files and 
directories spawning different backups (full, differential, 
incremental). its purpose is to remove the burden of searching for each 
file which backup contains its latest version. But this burden vanishes 
when you want to restore a whole backup archive.

according to this design, dar_manager's -r option receives a list of 
file or directories. But if you know the list of top files and 
directories you could provide them to -r option, and this way restore 
all files using dar_manager, but that would need fare more memory and 
CPU cycle (and thus time) to complete, just to do the same thing dar 
alone does very well.

> 
> Thanks,
> 
> John
> 

Cheers,
Denis
OpenPGP_signature (application/pgp-signature, 840 B) - not displayed