![]() |
Abakt Manual |
Two simple scripts that perform a backup and transfer the backups to an ftp server. This is a simple example that shows you how to use the FTP command provided by Windows.
Create the following two files and modify the example values that are used in the files. You can run backupdata.bat manually or add it to the Windows Task Scheduler.
backupdata.bat
"C:\Program Files\Abakt\Abakt.exe" -b -x -m MyBackups.abg
FTP -i -s:ftpscript.txt
ftpscript.txt
open ftp.remoteserver.com
username
password
cd RemoteBackupDir
lcd "D:\LocalBackupDir"
mput *.*
bye
For more advanced file transfer options (like SFTP) you can use one of Putty's command line tools. See http://www.chiark.greenend.org.uk/~sgtatham/putty/.
The scripts above are provided by Bas.