Re: dar_manager: dar process fails

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512



On 18/07/2020 19:23, Volker Wysk wrote:
> Am Samstag, den 18.07.2020, 15:21 +0200 schrieb Denis Corbin:
>> On 18/07/2020 07:57, Volker Wysk wrote:

>>
>> then you should rather use -e option than -o option. See
>> dar_manager man page for details :)
>
> The documentation of -o doesn't mention that the arguments will be
> stored in the database. I also couldn't find it mentioned
> somewhere else in the dar_manager man page. I also don't know for
> sure what those stored arguments will do, and what they are for.

in a way you are right, this is not explicitly said for -o option.
Though you have a list of available *actions* on a database as showed
at the top of the man page (-A, -l, -D, -b, -o, ...) what would -o do el
se
than modifying a database as dar_manager reason of existence is to
build, use and manages databases... ;)

You have also the -r option to restore files, having dar_manager
invoking dar with the correct archive name and path and filters for
the specified requested files. This is a short cut to easy the work.

If you look carefully the -r description you will see that it has -e
as sub-option which description explains the difference with -o option:

"-e: pass some more options to dar. While the -o options takes all
that follows on the command line as argument to pass to dar and
                   *write these in the database*, the -e option does
not alter the database and has only one argument. In other words, if
you need to pass several options to dar through the use of the -e
option, you need to use quotes (simple quotes ' or double quotes ") to
enclose these options"

>
>> From the documentation of -e, I should have looked more closely,
>> but I
> thought that the (only) difference was that -e takes one argument
> (containing several arguments for dar), whereas -o takes a list of
> arguments.
>
> Could you please add information, what those stored dar options
> are about?

sure, I will enhance the man page. For your information, options for
dar stored in the database are passed systematically to dar when it is
run from dar_manager by mean of -r option.

I my own databases, I usually set '-R /' using -o option. This way
when I want to restore a particular file in a particular version it
goes directly to the correct place without having to specify anything
else.

But sometimes I want to restore a file in the current directory to see
its content not touching the running system, so when invoking -r
option with dar_manager I also add -N option for the option to dar
stored in the database be ignored. Usually I also add -e "--flat" with
- -r option of dar_manager, for dar does not restore directory tree and
I get just the files I asked for restoration from a particular
version/date in the current directory.

I hope this use case will help you see which way to have these options
useful for you too.


>
> Cheers, Volker
>
>

Cheers,
Denis
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOzEprx3d76WjfYGPCDGwvQPYsYIFAl8TVIYACgkQCDGwvQPY
sYIM4g//WeefV+01e4q3G/yMfFN4XEcGZKxBQu1pcaHAaMZQdRVRTjJ+Pnx+Ongp
OSCXKhU1ZLbdSKKopa0uP9AbA+A/QfJeZoWbUgDF+M5SKg9rXubz8dOoQTGi+NPY
uBczUg0MWQ7Lvey34gdzE7y6hLWSJb0hKAKDkL8D1ZE2eg3Q3RZKgyMbvGXswzdp
ZiHCxeOS3h/zAYBrVvCmYf58wB3kbKIHWFreo2G/Il3pUGRwVYUSwp3t++uX3GfS
Axi3CNjNbv31vsiBGIzfFDpiCmPeXEJmzKEK3OM49v9apyU9TiQCVYk5ZB2Go0kW
7cmtB9ybGnjXY3AhEFVrmT0MiMCuM6KIqh1BNHiET/lvJnVlTH4KIJn4Xs606GW4
vtoOIljSPvFa4GtY2cYpdc89VhtlcL53OGWtYuZi3yYdTjUlmTjhQa2WFQd4h//K
/mEFwj838JMv2YMSFNGoXYrZxztYS0zuhbUnItaLubV6JmQTtCsKc6lgbirgFy70
GVAXv+g1wZm/04KG3zXyLduoEZfKaunHIOXuM89meaEJMdTZgl+bQ0i1rsRKYPnp
M1GJHt7byXa84/FeBGeFZQ+ksUs4PhG7Hcr67KyPUQtGfqEl9l3u/jPS1/nBg7Rk
FO1rp+4D02K00FB1Y7mEn64K/S6z9Qv7+tU9FHaL3IoAvo6KWg0=
=6B/e
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.