November 3, 2026 · Advanced · About 10 minutes

Shadowrocket Backup and Transfer Guide: iCloud Sync, Config Export, and New iPhone Setup

Learn which iCloud settings to enable, how to export a backup of your Config, and how to restore subscriptions and rules on a new iPhone.

At a glance

When moving to a new iPhone or iPad, export the current Config from your old device first, save the details needed to restore existing subscriptions separately, then verify connections and rules on the new device. This guide covers iCloud prerequisites, what a file backup includes, and the VPN authorization, Global Routing, and On Demand settings to check after restoring. For cross-platform transfers, handle files, connection details, and device settings separately.

Know what your backup includes: a Config file is not a complete app backup

A Shadowrocket transfer involves at least three types of data: Config files, connection and subscription details in Home, and device behavior settings in Settings. Saving a single Config file to iCloud Drive does not also preserve the Home list, subscription credentials, or system VPN authorization. Before you begin, make sure the app still opens and your existing data is accessible on the old device.

3 categories
Transfer checklist: Config files, Home data, Settings
2 copies
Keep a file backup from before the transfer and another copy verified on the new device
4 checks
Global Routing:Proxy、Direct、Config、Scene

This guide assumes you already have your own service provider and subscriptions. This site does not provide, sell, or recommend nodes or subscriptions. Subscription URLs may contain access credentials, and exported files may include server addresses, passwords, or keys. Store them somewhere you control, and never post them in public forums.

What to back upWhat to saveWhat to check after restoring
Config filesThe file currently in use, manually edited rules, and remote rule referencesWhether the file is selected as the current Config and whether all rules are present
Home dataExisting subscription URLs, manually added connection details, and any required authentication informationWhether subscriptions update and manually added entries are present
Settings and system settingsOn Demand conditions, update preferences, and notes on other manual changesWhether VPN authorization, automatic connection conditions, and the current network are all as expected

Bottom line: export a file backup before syncing

While the old device is still available, keep a separate copy of your files. Do not delete the original data from the old device until the new one passes connection, subscription update, and rule checks.

iCloud sync: check system settings first, then verify the file is actually available

Syncing files with iCloud Drive and syncing app data are two different things. iCloud Drive can transfer manually exported Config files, while app data sync depends on what the app supports. Even if a file appears in the Files app, that does not mean the Home subscription list has been restored. System menu names may vary by language and OS version; use the paths below to find the corresponding settings.

  1. On the old iPhone, open Settings → Apple Account → iCloud → iCloud Drive and make sure “Sync this iPhone” is on. On iPad, check “Sync this iPad.”
  2. Open the app list under iCloud, expanding “See All” if needed. If Shadowrocket appears, allow it to use iCloud. If it does not, export the file manually; the missing app entry alone does not mean data has been lost.
  3. Check your available iCloud storage and network connection. If you are using cellular data, make sure iCloud Drive is allowed to use the current network so you do not mistake a pending upload for a completed sync.
  4. On the new device, sign in to the same Apple Account used to save the files and turn on iCloud Drive. Then open Files → Browse → iCloud Drive to find the backup folder.
  5. Open the backup file to confirm it downloads and can be read; seeing the filename is not enough. If it still shows a pending download or upload, wait for sync to finish before importing it into Shadowrocket.

Do not test sync by editing the same file on both devices at once. Sync propagates subsequent changes; it is not a substitute for an independent versioned backup. Before switching devices, give the pre-transfer copy a distinct filename and keep one copy somewhere it will not be overwritten by everyday edits.

Export from the old device: save the Config first, then record subscriptions and manual entries

Open Config on the old device and confirm which file is currently selected. Do not export another file just because its name looks similar. If you have used a remote Config, check for local changes that have not been synced. Downloading the remote file again may not restore those local rules.

  1. In Config, find the current file, open its action menu, and choose the export or Share option to bring up the system share sheet. The entry point may vary; use the options available in the file’s action menu.
  2. Choose “Save to Files” in the share sheet and save the file in a backup folder you control. Keep the original file extension. Do not just copy the filename, and do not treat a screenshot as a restorable Config file.
  3. Return to the Files app and open the saved copy. Confirm that it is readable and contains the expected Config sections and manual rules. If needed, compare it item by item with the original file on the old device.
  4. Return to Home and record the URLs for existing subscriptions, along with any manually added connection details. If you use a full backup feature provided by the app, check exactly what it exports; the word “backup” does not guarantee that every external dependency is included.
  5. Record the current Global Routing mode, then note whether On Demand is enabled and which network conditions are configured under Settings → On Demand. Store these notes securely with any backup files containing keys.

Shadowsocks, VMess, VLESS, Trojan, Hysteria2, and WireGuard use different parameters. For manually configured connections, a server hostname and port are not enough: the protocol may also require a password, identifier, TLS parameters, transport settings, or keys. With WireGuard, distinguish the local private key from the peer’s public key; they are not interchangeable.

Restore on the new device: restore your data before connecting

Install the app Import the Config Restore subscriptions Confirm authorization Verify routing

Choose the appropriate platform from the download page. The iPhone / iPad version costs $2.99 as a one-time App Store purchase; check the App Store listing for system requirements. The Mac (Apple Silicon / Intel), Windows, Android, and Linux versions are free. The system settings steps in this guide are for iPhone / iPad. When moving to another platform, check files and parameters individually rather than copying these permission steps.

  1. Import the file: Download the backup in the Files app, then use the file import option in Shadowrocket’s Config section. You can also open the file in the app from the system share sheet. After importing, select the file and check that its contents match the old device.
  2. Restore existing subscriptions: In Home, use the add option to restore your existing subscription. Make sure you are adding subscription details, not entering the URL in a single server’s address field. Update once and check that the returned list matches what you expect.
  3. Restore manual entries: Re-create connections not managed by a subscription, entering each parameter for the relevant protocol. Do not change ports, keys, or TLS settings arbitrarily to clear an error.
  4. Set the routing mode: To use the rules in your Config, set Global Routing to Config and make sure the correct Config file is selected. Leave On Demand off for now and test the connection manually first.
  5. Grant system permission: The first time you connect, follow the system prompts to allow adding a VPN configuration and complete device authentication. Authorization on the old device does not authorize the new one.
  6. Restore automatic behavior: After manual connection and rule checks pass, go to Settings → On Demand and restore the settings for the networks you actually use on the new device.

Verify the restore: check rule order after confirming the connection

Seeing a connection entry in Home only confirms that the data is present. A connected VPN status alone does not prove that rules have been restored. Proxy, Direct, Config, and Scene are different Global Routing modes. Config is the place to start when checking rules in the current Config; Scene requires a separate check of the selected scene. For verification, switch to Config first to avoid confusion between modes.

The snippets below are only for checking rule syntax and matching order. They are not complete working Config files, and you do not need to replace your existing policy names. During migration, compare them with the original file and make sure every referenced policy is defined on the new device.

[Rule]
DOMAIN-SUFFIX,example.com,DIRECT
IP-CIDR,192.168.0.0/16,DIRECT,no-resolve
GEOIP,CN,DIRECT
FINAL,PROXY

Finally, test an existing subscription update. Updating may recreate the connection entries under a subscription, so check the current selection and any policies referenced by name in the Config afterward. If something worked before the update but not after, check for renamed entries and broken references before rewriting the entire ruleset.

Common issues after migration: restore the missing items separately

The Config file is on the new iPhone, but why is Home still empty?

First check whether you imported a rule Config or a full backup that includes connection data. If you only have a rules file, retrieve your existing subscription URL from the old device or your personal backup, then add and update it in Home. Restore manually added connections using their original parameters. An empty list by itself does not mean iCloud sync failed.

The file is in iCloud Drive, but why won’t it open when I import it?

Open the file in the Files app first and wait for the download to finish, then try importing it again. Check that you did not save a shortcut, screenshot, or incomplete copy. If needed, export the file again from the old device under a different filename. Keep the original for comparison; do not overwrite your only backup.

The new device connects, but behaves differently from the old one. What should I check first?

First check that Global Routing is set to Config on both devices and that the same Config file is selected. Then compare the current Home connection and rule references. Next, check DNS settings, remote rule loading, and request records in Data. Rule out mode and file differences before investigating network environment differences.

The app always connects automatically after restoring. How can I stop it to troubleshoot?

First pause on-demand connections under Settings → On Demand, then disconnect and test manually. If the system still starts the connection automatically, check the on-demand connection setting in the system VPN settings as well. Before restoring automatic behavior, confirm that the Wi-Fi and other network conditions are appropriate for the new device.

Finish the transfer: keep a rollback copy before cleaning up the old device

A successful transfer means the new device can read the Config, update existing subscriptions, use complete parameters for manual entries, match rules to the expected policies, and follow the intended On Demand conditions. If only one of these checks has passed, do not erase the old device yet.

Download Shadowrocket