Backup iOS device on Linux easily

Even though officially iTunes isn’t available on Linux to help with iOS devices, it’s actually pretty simple to backup.
All you need is libimobiledevice.

Install it with: sudo apt install usbmuxd libimobiledevice6 libimobiledevice-utils

First we need to configure encryption. iOS won’t let you backup everything without encrypting the backup.
Type idevicebackup2 encryption on, and then authorize it with your phone’s password.

Once that’s done, we can backup. It’s as simple as running idevicebackup2 backup /path/to/backup

I made a tiny helper script to help you automate that, with a clear year/month/day path and provides a simple gui way (click the script file from file manager)


read more

Simple MongoDB backup script

Backups are very important. It’s very easy to mess up your server.
Here’s how to set up automatic backups for MongoDB

1. Get MongoDB tools

  • Go to, pick your distro (in this guide I use Ubuntu), select the deb format, and click copy link
  • SSH into your server and type these commands:

wget -O mongotools.deb
read more