Alex's Weblog

Weblog di Ermanno Goletto (Codename Alex - A Learning EXperience)
posts - 438, comments - 4214, trackbacks - 294

My Links

News

Il blog è stato
trasferito al
 seguente link:


DevAdmin Blog

Add my blog to Live

Foto

Curriculum Vitae


Il contenuto di questo blog e di ciascun post viene fornito “così come é”, senza garanzie, e non conferisce alcun diritto. Questo blog riporta il mio personale pensiero che non riflette necessariamente il pensiero del mio datore di lavoro.

Logo Creative Commons Deed


Logo MCTS

Logo MCSA

Logo MCP

Logo Microsoft Certified Business Management Solutions Professional

Microsoft Certified Business Management Solutions Specialist


Logo UGIdotNET UGIdotNET Contributor


Logo UGISS UGISS Contributor


Logo SysAdmin.it SysAdmin.it Staff


Article Categories

Archives

Post Categories

Blogs

Database

Development

Friends

IT

Knowledge Base

Links

MBS

MCP

MVP Sites

User Groups

Virtualization

Invio log NTBACKUP tramite mail

Il seguente batch propone una soluzione per eseguire il backup tramite l'utility NTBACKUP e inviare il log generato tramite mail usando lo script sendmail.vbs.

SETLOCAL
SET user=%UserProfile%
SET folder=%USERPROFILE%\Impostazioni locali\Dati applicazioni\Microsoft\Windows NT\NTBackup\data

REM Eliminazioe log precedenti
DEL /Q "%folder%\backup*.log"

REM Avvio Backup
ntbackup backup C:\Test /m normal /f "F:\backup.bkf" /V:yes /L:f

REM Invio log file Backup
FOR /f "Tokens=*" %%a IN ('dir "%folder%\backup*.log" /b /O-D') DO sendmail.vbs -smtp smtpserver -t BackupOperator@domain.it -f ntbackup@domain.it -s "Backup" -b "See Attach for backup log." -a "%folder%\%%a"

Print | posted on martedì 16 maggio 2006 14:13 | Filed Under [ IT ]

Feedback

Gravatar

# re: Invio log NTBACKUP tramite mail

ntbackup
30/05/2006 20:04 | renato
Gravatar

# re: Invio log NTBACKUP tramite mail

jordan concord xi http://www.jordans11concord.com/ of free cash flow jordan xi concord If http://www.jordans11concord.com/ Steve Jobs jordan 11 were jordan xi still around http://www.jordans11concord.com/
01/06/2012 09:46 | jordans xi
Comments have been closed on this topic.

Powered by:
Powered By Subtext Powered By ASP.NET