Automated Mikrotik Backups From Windows Securely

Hey guys,

I wrote a backup program for Mikrotiks. It isn’t the prettiest thing I’ve ever done, but it does seem to work for me.

I’ve got the compiled exe and the code available. I wrote and tested it on WinXP. I’ve had reports of problems from Win 7, and I haven’t yet tested it on anything other than XP. I’m going to test it on Vista tonight and hopefully I’ll get hold of a Win7 machine to test on.

You can run the backups from the GUI, or schedule a windows task and throw any command line parameter at it and it will do a silent backup of everything.

Anyway, have a go at it and let me know.

http://gregsowell.com/?p=1264

Nice work…

Did just try it and it does not work for me (Windows XP Pro SP3).
It creates empty files and let’s cmd.exe and plink.exe run in the background.

Thanks :slight_smile:

in sources, there are direct paths to ‘C:\Documents and Settings\Greg...’ - can’t it be the reason? =)

Chupaka,

That’s hard coded in the source because I’m packing in the plink.exe program. The only way to tell the program where the plink file is, is to manually specify it in the fileinstall command. :slight_smile: If you comment that line out, or redirect it to your own directory, it will work just fine.

Also, I tested with 64 bit vista last night, and it worked great.

Greg