Community discussions

MikroTik App
 
imrankosi
Member Candidate
Member Candidate
Topic Author
Posts: 153
Joined: Wed Oct 15, 2008 4:51 pm

usermanager database backup

Mon Jul 04, 2011 4:02 pm

hi everbody,
i am using usermanager 5.4 please tell me the steps to take the back up of usermanager. so that
if i have to change the router simpley i have to restore the backup.


thanks and regards
 
Draadloos
just joined
Posts: 16
Joined: Sat Jul 02, 2011 11:32 pm

Re: usermanager database backup

Wed Jul 06, 2011 1:34 am

Hi. I use two scripts that I schedule to run every day.

First save the db with:
/tool user-manager database save name=umbackup

Then copy the file to another RB with:
/tool fetch address=xxx.xxx.xxx.xxx src-path=umbackup.umb \
user=admin mode=ftp password=drowssapdd dst-path=umbackup.umb upload=yes
/tool fetch address=yyy.yyy.yyy.yyy src-path=umbackup.umb \
user=admin mode=ftp password=drowssapdd dst-path=umbackup.umb upload=yes

Just change the xxx's to userman RB ip and yyy's to backup RB ip

I never had to restore a database so I hope it will work. If you search this forum you will find a script that can add the date to the file name, my way replaces the backup file.

Hopes it help

Who is online

Users browsing this forum: No registered users and 60 guests