Backup by smtp-service

S

Sebastian

Hello!

I'm short before a mental crash.

Try to get solution for backing up a directory for hours now.


My idea was, to backup the content of a directory one time a day
(possibly incremental (and perhaps also packed)) and send it to an
e-mail-address.

I use Windows XP Proffesionell and have installed the "smtp-service".


How can I manage do do that?



Hallo!

Bin gerade halb am Verzweifeln.

Versuche jetzt schon einige Stunden, zu einer Lösung für das Backup
eines Verzeichnisses zu kommen.


Meine Idee war, den Inhalt des Verzeichnisses einmal täglich
(möglicherweise als inkrementelles Backup (möglicherweise auch gepackt))
automatisch als E-Mail zu versenden.


Ich verwende Windows XP Professionell und habe den "SMTP-Dienst"
intstalliert.


Wie mache ich das?
 
A

Anteaus

The SMTP service is one half of the equation. You need a small SMTP client
to attach the file to an email, MIME encode it, and perform the handshake
with the SMTP server.

Blat.exe may be suitable, this is available from several freeware sites. We
have used this successfully to send backup logs.

http://www.blat.net

Alternatively, AutoIt has a library function called _INetSmtpMail() which
does this kind of thing:

http://www.autoitscript.com/autoit3/docs/libfunctions/_INetSmtpMail.htm

You would need to read the data and encode it into the $as_Body string.

Disadvantage in either case is that email is not an efficient way of sending
large amounts of data, an encoded attachment being far larger than the
original file. If it's more then a few MB you would be better looking at FTP.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top