Backup to Mac (Linux, Windows, or Network drive)

Backup Shortcuts to your Mac, Windows, Linux, or Network Drive


Description

Zip all your shortcuts up and airdrop them to your Mac. Then, ssh to your Mac, move the zip to a set location, and open the folder to confirm it made it.

New💥 now you can save the backup to a local drive, Mac or device with Files.

  1. In Files set up the device connection.
  2. Then run this Shortcut and choose, "Copy archive".
  3. Choose the server you set up previously.
  4. Navigate to the directory and save where you like.

This is handy when you can’t or don’t want to AirDrop files.

Note after you airdrop, just tap on your iOS device screen the next step (SSH to your Mac) will commence.

No third party Updater Shortcut required.

This shortcut has an integrated update mechanism called Embed-a-Update. Thanks to the embedded updater, it does not require any external updater shortcut. The shortcut checks for updates itself, so you'll never miss an update and it is super fast.

If this Shortcut doesn’t work as expected, you have suggestions, or an idea to improve it, let me know!

Updates

  1. Added check to see if you are on a default wifi network before backing up (this is to ensure you aren't looking to connect to a Mac or Linux box that isn't there.)

    If you are not on the specified wifi, option added to switch networks.

    You can simply leave the wifi black if you want to bypass this check, but doing this may mean your iOS/iPad device can't find the device you are looking to backup to.

  2. Added attempt to wake the device you are trying to back up to in case it is asleep. (Note, only supports Macs.)

  3. Made "todoist" optional. The idea of this is to open an existing recurring todoist item that reminds you to backup your shortcuts. You have to set the value to true and update the taskid from todoist.

Instructions

In the dictionary in the shortcut, set the following:

  1. To set hostname, use IP address of Mac if it is a fixed address (see Settings> Networks) or go to Settings > Sharing on your Mac MacBook-Pro.local in the example below if you use DHCP.

  2. You must also set the username you use to login to the Mac with. If you don’t know what that is, go to terminal and look at the prompt. It usually will before the "%".

  3. Set the password of the Mac you want to login to.

If you don’t configure these things, the shortcut can’t login to your Mac.

Related Shortcuts

See also:

  • Shortcut Info which can give you a report about all your shortcuts.

  • Routinehub Dashboard See Reddit for instructions.

  • (Backup a Shortcut)[https://routinehub.co/shortcut/1048] save a shortcut to your iOS device

  • (Import Shortcut)[https://routinehub.co/shortcut/6340] restore a shortcut to your iOS device that you saved locally.


Latest Release Notes

2.8.0 - April 29, 2021, 5:02 p.m.

Added ability to save archive via Files to any Mac, network drive, Windows, or Linux box.


Version history