Re: Dar and anacron
Trevisi Roberto <[email protected]> Tue, 1 Apr 2025 18:52:57 +0200
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <CAGBoE9S0HD5dnLBTkYdrgVZ926JQDZp8xQaMoCY68Nfccvi2RA@mail.gmail.com> |
--===============3301864237383139579== Content-Type: multipart/alternative; boundary="000000000000a3df810631ba603d" --000000000000a3df810631ba603d Content-Type: text/plain; charset="UTF-8" Hi Denis, anacron keeps sending the email with the message the dar command in the script is: /usr/bin/env dar_static -vm -vf -Q -z -D -R / -c "$file" \ par2 compress-exclusion --cache-directory-tagging -P boot/efi -P dev -P proc -P run \ -P sys -P tmp -P var/tmp -P var/cache -P root/.cache \ -P home/user/.cache -P home/user/snap/firefox/common/.cache \ -P media -P cdrom -P mnt -P lost+found &>> "$logfile" && I tried to put the "-Q" option immediately after "dar_static" and, as above, after the verbose options, but in both cases anacron sends the email Roberto Il giorno sab 29 mar 2025 alle ore 16:58 Trevisi Roberto <[email protected]> ha scritto: > Hi Denis, ok > > thnks > > Il giorno ven 28 mar 2025 alle ore 21:52 Denis Corbin <[email protected]> > ha scritto: > >> >> On 28/03/2025 12:42, Trevisi Roberto wrote: >> > Hi, >> >> Hi, >> >> > >> > I configured anacron to run a script with dar for full and diff backups >> > Everytime it runs, anacron sends me an email with: >> > >> > "No terminal found for user interaction. All questions will be assumed >> a >> > negative answer (less destructive choice), which most of the time will >> > abort the program " >> > >> > Is there a way to silence this message ? >> >> try adding -Q option >> >> see also http://dar.linux.free.fr/doc/usage_notes.html#background but I >> thing this is no more needed as -Q option is available. >> >> > >> > Regards >> > Roberto >> > >> >> Regards, >> Denis >> > --000000000000a3df810631ba603d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi Denis,<div><br></div><div>anacron keeps sending the ema= il with=C2=A0the message</div><div><br></div><div>the dar command in the sc= ript is:</div><div><br></div><div>/usr/bin/env dar_static -vm -vf -Q -z -D = -R / -c "$file" \<br>=C2=A0 =C2=A0par2 compress-exclusion --cache= -directory-tagging -P boot/efi -P dev -P proc -P run \<br>=C2=A0 =C2=A0-P s= ys -P tmp -P var/tmp -P var/cache -P root/.cache \<br>=C2=A0 =C2=A0-P home/= user/.cache -P home/user/snap/firefox/common/.cache \<br>=C2=A0 =C2=A0-P me= dia -P cdrom -P mnt -P lost+found &>> "$logfile" &&= amp;<br></div><div><br></div><div>I tried to put the "-Q" option = immediately after "dar_static" and, as above,</div><div>after the= verbose options, but in both cases anacron sends the email</div><div><br><= /div><div><br></div><div>Roberto</div></div><br><div class=3D"gmail_quote g= mail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">Il giorno sab 2= 9 mar 2025 alle ore 16:58 Trevisi Roberto <<a href=3D"mailto:jcclww2@gma= il.com">[email protected]</a>> ha scritto:<br></div><blockquote class=3D= "gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(2= 04,204,204);padding-left:1ex"><div dir=3D"ltr">Hi Denis, ok<div><br></div><= div>thnks</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class= =3D"gmail_attr">Il giorno ven 28 mar 2025 alle ore 21:52 Denis Corbin <<= a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>= > ha scritto:<br></div><blockquote class=3D"gmail_quote" style=3D"margin= :0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"= ><br> On 28/03/2025 12:42, Trevisi Roberto wrote:<br> > Hi,<br> <br> Hi,<br> <br> > <br> > I configured anacron to run a script=C2=A0with dar for full and diff b= ackups<br> > Everytime=C2=A0it runs, anacron sends me an email with:<br> > <br> > "No terminal found for user interaction. All questions will be as= sumed a <br> > negative answer (less destructive choice), which most of the time will= <br> > abort the program "<br> > <br> > Is there a way to silence this message ?<br> <br> try adding -Q option<br> <br> see also <a href=3D"http://dar.linux.free.fr/doc/usage_notes.html#backgroun= d" rel=3D"noreferrer" target=3D"_blank">http://dar.linux.free.fr/doc/usage_= notes.html#background</a> but I <br> thing this is no more needed as -Q option is available.<br> <br> > <br> > Regards<br> > Roberto<br> > <br> <br> Regards,<br> Denis<br> </blockquote></div> </blockquote></div> --000000000000a3df810631ba603d-- --===============3301864237383139579== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============3301864237383139579==--