Community discussions

MikroTik App
 
gregsowell
Member Candidate
Member Candidate
Topic Author
Posts: 128
Joined: Tue Aug 28, 2007 1:24 am
Contact:

Automated Mikrotik Backups From Windows Securely

Mon Dec 21, 2009 7:06 pm

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

Image
 
QpoX
Member
Member
Posts: 385
Joined: Mon Mar 24, 2008 7:42 pm
Location: Lemvig, Denmark

Re: Automated Mikrotik Backups From Windows Securely

Tue Dec 22, 2009 1:21 am

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.
Last edited by QpoX on Tue Dec 22, 2009 1:29 am, edited 1 time in total.
 
gregsowell
Member Candidate
Member Candidate
Topic Author
Posts: 128
Joined: Tue Aug 28, 2007 1:24 am
Contact:

Re: Automated Mikrotik Backups From Windows Securely

Tue Dec 22, 2009 1:23 am

Nice work...
Thanks :)
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8709
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Automated Mikrotik Backups From Windows Securely

Tue Dec 22, 2009 11:49 pm

in sources, there are direct paths to 'C:\Documents and Settings\Greg\...' - can't it be the reason? =)
 
gregsowell
Member Candidate
Member Candidate
Topic Author
Posts: 128
Joined: Tue Aug 28, 2007 1:24 am
Contact:

Re: Automated Mikrotik Backups From Windows Securely

Wed Dec 23, 2009 12:03 am

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. :) 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

Who is online

Users browsing this forum: benbgg, Bing [Bot], codi639, glushkoo, homerouter, lurker888, nagylzs, patrikg, pe1chl, sebi099, Valerio5000 and 137 guests