MKTMPSNAP (Mikrotik Temporary Snapshot) is a small system for performing temporary and anonymous backups of Mikrotik configurations without worrying about losing previous settings. It uses the Mikrotik API and cronjobs to automatically perform backups.
Note
The project is not complete yet.
This project was created from the frustrations during practical work at school, where time was often limited. MKTMPSNAP allows users to quickly download and restore Mikrotik backup files at any time (before 15 days).
To use it, you can first run this project by typing:
bun run startOr by running it via a docker image in the registry, or you can create your own docker image.
docker run --name mktmpsnap \
--volume ./data:/app/data \
-p 3500:3500 \
ernestoyoofi/mktmpsnap:v0.1.0Make sure the
./datafolder exists on your host.
Once running, open your browser on the exposed port. Fill in the Mikrotik connection form:
- Hostname / IP of your Mikrotik
- Mikrotik username
- Mikrotik password (leave blank if none)
- Port (default or custom)
Next, set the last time for the backup. Backed-up data will be stored for 15 days unless deleted by cronjobs.
Additional Information
If you want to keep your connection to this system secure, please use Tailscale or Twingate to monitor/access the web safely!
This is a small, non-commercial project. Contributions are welcome, and you are free to fork it to create your own version. Please credit the creator @ernestoyoofi in your forked version or any derivative work.