Re: Couple of questions regarding dar

Mihai Moldovan <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.support
Message-ID <[email protected]>
* On 4/28/20 12:31 AM, Nils Privat wrote:
> Can I use mbuffer for it? Is anything bad with this command?
> 
> dar --create - <..other options..> --fs-root /home/user1 | mbuffer -P 80 -m 2G
> -R 140M | dar_split split_output /dev/nst0

Nothing obviously wrong. One issue might be that pipes itself are already
buffered, but that probably won't cause trouble.


> 3) To encrypt my tape backups I currently use:
> --key aes256:PasswordInPainText
> I don't like writing the password in plain text. To automate the backup a manual
> input is not an option.
> Can 'dar' read the password from file?

This is mostly a non-issue. Since dar will take a password via stdin if not
provided on the command line, automation can be achieved by pairing it with
expect(1).



Mihai

_______________________________________________
Dar-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dar-support
signature.asc (application/pgp-signature, 899 B)
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCgAdFiEEbhHQj3UzgcdE8cg8H9Yu2W4lOocFAl6nY9YACgkQH9Yu2W4l
Ood8IQ/8DuljzDhfOV5eMyVgcQJtP9kuamayqnBIuHsn/FdJ9FZF3pCD/keCOowr
BVmPJ0aURJGBE6F9TWkfQmKtL7wGRMVDWBw2xpbAtpg/RbxKbMvdsUxToTfOktnY
sxgbZAFk0C97FjtfrBJjyhqHMKL2WSPqA4jugDzGTemEXZUknNWatTjEuPeVnQu5
bKflMMFaEAYmcWYGHednAio7/VCZG+8nf9Nd+T37iQnYcsj9Hq6EUGuiWURRlljx
YwuYuJhIRfZvp/jhQTbi5fb7jhxO3eVV41dakAktiYwGXT7oJykL/O1Pc7tTnmoR
sDDG/SgUQraTlW2h0hVmc88fRJ0p1BcN4yS87KIHSxzsoX1kt/ZxXJMLp1DHrBCv
UyjWSaU1daDYki5lgVgAncAa42bqrUkEH0mhj+RcIxVuZGGShaStJkTrlKTl8eVc
c+i9T7JLfv7wYzumpxQjylwA8TMIqa73pGHbj+gA9bZgfwq3ZUjoF3WEY9qZ7B9e
LkyaKl+Ko4QONZbGAkSDBlvLRDYBdxNdFzyjxC5pA9PPybJGVYspNTZn8Q4YMDal
jeG7Csiv0F8Chl6oQAPZwhajCPeCu8XZvrh+IxgIlvs6R87I+FByqCLyXx5SUptg
PaEqdddtbOLhNpGK6p/RpZDcbrEF/Z9hv06BV6lqCRohNa58+rM=
=+0TK
-----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.