Re: [Dar-support] Force overwrite on restore (extract) when dar is run in background
For full, incremental, compressed and encrypted backups or archives
Brought to you by:
edrusb
|
From: Denis C. <dar...@fr...> - 2017-05-13 08:48:36
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi, see -w (--no-warn) option or -/ (--overwriting-policy) option if you want to do more complex things. you might also be interested in -Q option check man page for details, also available online at http://dar.linux.free.fr/doc/man/dar.html Regards, Denis Le 13/05/2017 à 00:48, Andrew Loftus a écrit : > I have a DAR file that I want to extract using: > > /gpfs/fs0/DR/bin/dar_static --verbose --overwriting-policy Oo \ > --extract /gpfs/fs0/RESTORETEST/1491548400/HOME_1491548400_FULL_0001.d ar \ > --fs-root /gpfs/fs0/DR/RESTORETESTTGT \ > 1> /gpfs/fs0/RESTORETEST/1491548400/HOME_1491548400_FULL_0001_restore. log \ > 2> /gpfs/fs0/RESTORETEST/1491548400/HOME_1491548400_FULL_0001_restore. err > > If I run this in interactive mode (from the cmdline), it extracts all > the files, as expected. > > If I run this in a script using the "at" command, it skips most of the > directories with the message: > > <DIRNAME> not restored (user choice) > No file in this directory will be restored. > > How can I tell dar to extract everything when run in non-interactive m ode? > > > ---------------------------------------------------------------------- - -------- > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Dar-support mailing list > Dar...@li... > https://lists.sourceforge.net/lists/listinfo/dar-support > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIVAwUBWRbIWggxsL0D2LGCAQi5qw//WkRpSOwNEPw2vusj8hDseXtGq1y9x7dw vdoJVIegmX+qgBeHiChrd8VNQYc+VjGPiweO/D3YK3KULp7U12ErES8jtctHVFKb dRZe3ZHEuhQHJWRrp+YmS4LvgGGFWwty8VbAbWtXhJ+RNn/qWUrv4mPv5NkFocFv w+Vb+3ZtP9RZK/xklY+SVaNPchy8uUg8oqiaOYdnhfj3+u0cwl/OAm1OwA/rR0s4 O2tfuPjESXbaNHRVxJXyWEGcg4lYx/QDfWWq+RCvt5NPxZUlrgghF5Pp0pYNgzYx Yu3hwHDD2UrkZZJE5VZ+fDoPJn6Ua4AjZ1ZNpn5pOrJnAh+ij0iqFfdGUopbQP4s rn8SytY9yAM3O9h1wsgGZZSn3qiLEc13up8Mwqb4Uc/N2OQXtAkANkqg7YR1aZpE MGFlM4wX1OvcXOc/GoQJvrgdICPxC4VqYIu1uxO1ZK3odqcLLvG3JACXAg4QKeLL YDt/o2a4XMBY2vxl1UB+cpfu/AQzM4anUym8fxNAdLkHHTTdeTjmWLWVTwjASwzf jDd1PFTbspv68oVYY4bBqtN777WLYWVIE8UCyq5e3nreK9Er1abE/Y88C525f3LB 5ZQKoM0a/cot+gd6XYshJAJ+EgPuewYPI0CRKt4gZ9JARF9OB9qGnbkGvUsKnoxA 2VMWKWLuXdg= =guRA -----END PGP SIGNATURE----- |