Since RouterOS v6.44 it is possible to store MikroTik device's backup on MikroTik's Cloud server. The backup service allows you to upload an encrypted backup file, download it and apply the backup file to your device as long as your device is able to reach MikroTik's Cloud server. Below we can find operation details that are relevant to the IP/Cloud's backup service:
* Free backup slot for each device
* Allowed backup size: 15MB
* Sends encrypted packets to cloud2.mikrotik.com using UDP/15252 and TCP/15252 port
In previous the process was fully CLI based but in recent stable release 6.48.4 it gets GUI support in Winbox. It is now available in Winbox Files>Cloud Backup
The process is very simple...
Go to Files>Cloud Backup>Upload Backup
1. Choose 'Action' "create and upload"
2. 'Name' "Any Suitable Name" [A better choice for name could be device Identity]
3. 'Password' "A Strong Password"
and finally press Start.
After the process start it will take a very short time to create Backup File and Upload, if no error happened. "Status" will inform the Success or Error report.
Now, let's look at the new cloud file. Remember that, yes we are watching the file but that file is not in this device. It is located on MikroTik Cloud.
So, here is the details of that file. We can 'Download' this file in this device and 'Remove' also. But, still downloading process in another device is based in CLI (I hope MikroTik Team, will work on it in next update). Download file will be available in file menu.
As only 1 slot available for each device, to create a new/updated file old one need to 'Remove/Replace' at first.
Replace could be possible to do also in the process of creating a new one.
Now look at the the file. The significant change is done in the "Secret Download Key". Each time it will be change in the process.
But, knowing this ''Secret Download Key" is essential to download the Backup File in another device. Let's see it.
So, we are moving to another Router and open a Terminal and put following command.
/system backup cloud download-file secret-download-key=GTsWB1h7URm5VfJmiLyzwkK action=download
Thus, the file from the cloud will be download in another device.
So, it is very essential to know the "Secret Download key".
Notes:
1. As it is not .rsc Backup. Mikrotik recommend to restore the backup in same model device.
2. By scripting and scheduling the process could be fully automated and regular basis.
3. As knowing the "Secret Download Key" is important. To do,
Print the information of file on a text file in MikroTik and sending in Email is essential. The command to Print the file is simple.
/system backup cloud print file="File Name"
By scripting and scheduling the whole process can also be automated.
4. The information is also could be shared through API of Bot messenger of Telegram, Whatsapp and so on...
Thanks for Reading and have a nice day!!!
Thanks for Reading and have a nice day!!!
BR,
Shuvodip
No comments:
Post a Comment