Samsung Galaxy Blog

Samsung Phone Backup Linux Guide

The Complete Guide to Backing Up Your Samsung Phone on Linux: Secure, Open-Source Solutions

As Linux users, we pride ourselves on controlling our own data. Yet when it comes to backing up our Samsung phones, many of us still rely on Google's cloud services or proprietary Windows software. Does this situation feel contradictory to you too? We believe your phone's data deserves the same privacy and control as your Linux desktop.

In this comprehensive guide, we'll explore how you can create complete, encrypted backups of your Samsung or Android device directly to your Linux machine. We've tested these methods on recent Android versions (up to Android 14 and 15) and verified they work without requiring root access or sending your personal data to third-party servers.

Whether you're running Ubuntu, Fedora, Debian, or any other major distribution, we'll walk you through the most reliable solutions available today. By the end of this article, you'll have a backup system that you fully control, with options for both one-time backups and automated, scheduled protection.


Understanding the Problem: Why Android Backups on Linux Are Challenging

A User's Real Question

In late 2024, a Linux Mint user posed this exact question on community forums, perfectly capturing the frustration many of us feel:

"I have seen on internet some old tutorials using adb to backup and restore Android phones. Is adb still working for recent smartphones (Android 14)? Are there other backup and restore tools?"

This question resonates with anyone who's tried to follow outdated tutorials only to find the commands no longer work. The short answer is that the traditional adb backup command has indeed been deprecated by Google for security reasons. Starting with Android 4, this command worked reliably without rooting, but Google has since removed this functionality because it presented security concerns—each Android app runs under its own user ID, and allowing external tools to bypass this isolation created vulnerabilities.

What Changed and Why

To understand our current options, we need to recognize what's happening under the hood. When you try to use the old adb backup method on recent Samsung phones, you'll likely encounter errors or empty backup files. This isn't a bug—it's intentional. Google deprecated this approach to align with the modern Android security model where applications can "opt-out" of backups entirely through their manifest settings.

However, this doesn't mean we're limited to Google's cloud or Samsung's proprietary solutions. The open-source community has developed elegant alternatives that work with modern Android's security model while giving us complete control over our data.


Solution 1: Open Android Backup (Formerly Linux Android Backup)

The most promising tool we've discovered is Open Android Backup, an open-source project that addresses precisely the challenges we face. Originally called Linux Android Backup, this tool has evolved into a cross-platform solution that works seamlessly on Linux, macOS, and even Windows through WSL.

How Open Android Backup Works

Unlike the deprecated adb backup command, Open Android Backup takes a smarter approach. It uses Android Debug Bridge (ADB) but doesn't rely on the broken backup command. Instead, it:

  1. Backs up app APK files (though not app data due to system limitations)
  2. Copies your entire internal storage including photos, downloads, videos, and even Signal backups if you've enabled them
  3. Exports contacts in universal vCard format
  4. Saves SMS messages and call logs in readable CSV format (view-only, cannot be restored yet)

The tool wraps these capabilities in a user-friendly shell script with a terminal-based interface, making it accessible even if you're not comfortable with raw ADB commands.

Installing Open Android Backup on Linux

We've tested this installation process on multiple distributions, and here's what works:

For Debian/Ubuntu and derivatives:

sudo apt update
sudo apt install p7zip-full adb curl whiptail pv bc secure-delete zenity

For Fedora (enable RPM Sphere repo first):

sudo dnf install p7zip p7zip-plugins adb curl newt pv secure-delete

After installing dependencies, download the latest release from the project's GitHub page, extract it, and run:

./backup.sh

The script will guide you through enabling USB debugging on your phone and walk you through the entire backup process.

Key Features We Appreciate

  • Encryption built-in: Your backups are automatically encrypted, and you set the password
  • Compression: 7-Zip compression saves space with configurable levels
  • Wireless backups: You can start the backup and continue using your phone normally
  • No proprietary formats: Even without the script, you can open archives with 7-Zip
  • Automation support: Environment variables allow for unattended backups (though contact export still requires some interaction)

Solution 2: Syncthing for Continuous File Synchronization

For users who primarily need to back up photos, videos, and documents rather than system data, Syncthing offers an elegant solution. Several users in our research communities mentioned this as their preferred method.

Setting Up Syncthing

Syncthing creates direct, encrypted connections between your devices without any cloud intermediary. Here's how we set it up:

  1. Install Syncthing on your Linux server or desktop
  2. Install the Syncthing app on your Samsung phone from F-Droid or the Google Play Store
  3. Configure folders to sync (typically DCIM/Camera, Downloads, etc.)
  4. Connect the devices by scanning a QR code or entering device IDs

One limitation we discovered: Syncthing won't let you select the root of internal storage or an SD card, showing the message "Can't use this folder: To protect your privacy, choose another folder." This is an Android security restriction, not a Syncthing limitation. You'll need to select specific subfolders instead.

Running Syncthing on a Headless Server

If your Linux machine runs headless (without a monitor), you might wonder how to manage Syncthing. The answer is simple: access the web interface through your browser on port 8384. This works perfectly even on servers without a GUI.


Solution 3: FolderSync Pro for Scheduled Backups

Another approach recommended by experienced users involves FolderSync Pro, a paid Android app that's worth every penny for serious backup needs.

Why FolderSync Pro Stands Out

FolderSync Pro connects to virtually any protocol you might use on Linux:

  • SMB/CIFS for Windows/Samba shares
  • SFTP/SSH for secure Linux connections
  • WebDAV
  • FTP/FTPS

The killer feature is scheduling. You can set it to backup nightly, weekly, or whenever your phone connects to WiFi. It handles both internal storage and SD cards, and you can create multiple backup profiles for different types of data.

Integration with Tasker for Advanced Automation

For power users, FolderSync Pro integrates with Tasker, allowing you to trigger backups based on virtually any condition—when connected to your home WiFi, when battery is above 50%, or when new photos are detected.


Solution 4: The Traditional ADB Approach (For Specific Data Types)

While the full adb backup command is deprecated, ADB itself remains useful for pulling specific files and folders. We still use this method for quick, targeted backups.

Manual ADB File Transfer

After enabling Developer Options and USB Debugging on your Samsung phone, you can:

# List connected devices
adb devices

# Pull entire folders
adb pull /sdcard/DCIM/ ~/phone-backups/photos/

# Pull specific file types
adb pull /sdcard/Download/ ~/phone-backups/downloads/

This method works reliably for any files in shared storage, though it won't capture app data or system settings. It's our go-to for quick photo backups.


Solution 5: Samsung Smart Switch for PC (Windows Only, But with a Workaround)

Samsung provides Smart Switch for Windows and Mac, but not for Linux. However, if you have a Windows machine available or run Windows in a virtual machine, this remains a viable official option.

Smart Switch offers:

  • Full device backups including settings, messages, and call logs
  • Restore capability to any Samsung device
  • Encrypted backup files

For Linux users who occasionally need a complete backup, running Smart Switch in a Windows VM or using Wine might be worth considering, though we haven't tested Wine compatibility extensively.


Building Your Complete Backup Strategy

After researching multiple approaches and community experiences, we recommend a layered backup strategy:

Layer 1: Continuous Photo/File Backup with Syncthing

Set up Syncthing to automatically sync your camera folder and critical documents. This ensures your newest memories are always safe.

Layer 2: Weekly Complete Backups with Open Android Backup

Schedule a weekly full backup using Open Android Backup's automation features. Include encryption and store these archives on your Linux server.

Layer 3: Quarterly Offline Archives

Every few months, create an extra backup and store it on external media. This protects against ransomware or catastrophic server failure.

Layer 4: Critical Data Redundancy

For absolutely irreplaceable data (family photos, important documents), consider adding a cloud backup of your encrypted archives to services like Backblaze B2 or Wasabi.


Automation: Making Backups "Set and Forget"

Several tools we've discussed support automation. Here's how we set up hands-free backups:

Open Android Backup Automation

Open Android Backup supports environment variables for unattended operation. Create a script:

#!/bin/bash
export unattended_mode="yes"
export selected_action="Backup"
export mode="Wireless"
export archive_path="/home/username/samsung-backups/"
export archive_password="your-secure-password"
export backup_apps="yes"
export backup_storage="yes"
export backup_contacts="yes"
export compression_level="5"

./backup.sh

Add this to your crontab for weekly execution.

FolderSync Pro Scheduling

In the app, create backup pairs with schedules. We use "Every 2 days" for photos and "Weekly" for complete internal storage.


Frequently Asked Questions

Can I backup my Samsung phone to Linux without rooting?

Yes, absolutely. All solutions we've discussed—Open Android Backup, Syncthing, FolderSync Pro, and manual ADB—work perfectly on unrooted devices. Root access would give you deeper system backup capabilities, but it's not necessary for protecting your personal data.

Does Open Android Backup work with Samsung's latest Android versions?

Yes. The tool has been actively maintained and tested on recent Android versions. As of early 2026, it supports Android 14 and 15. The companion app handles newer Android security requirements while maintaining compatibility.

Can I restore apps with their data using these methods?

This is a limitation we need to be honest about. Due to Android's security model, restoring complete app data with settings is difficult without root. Open Android Backup can restore the apps themselves (APK files) but not their internal data. For apps that support it, use their built-in backup features (like Signal's local backup) alongside our methods.

How do I handle large video files during backup?

Open Android Backup handles large files efficiently with its compression settings. For videos (which are already compressed), use a lower compression level (0-3) to save time without sacrificing much space. Syncthing handles large files well through its sync protocol.

Is it safe to use USB debugging for backups?

Yes, with precautions. Enable USB debugging only when actively backing up, and disable it afterward. Use a trusted USB cable, and consider using wireless ADB over your local network for convenience.

What about Samsung's built-in backup to Google?

We prefer local backups for privacy reasons, but Samsung's Google integration works for basic data. Our concern is vendor lock-in—if you ever leave the Samsung/Google ecosystem, retrieving that data becomes complicated. Local backups in open formats ensure your data remains yours forever.


Conclusion: Take Control of Your Data Today

After thoroughly researching the landscape of Android backup solutions for Linux, we're confident that robust, secure options exist for every user. Whether you choose Open Android Backup for comprehensive protection, Syncthing for continuous sync, or FolderSync Pro for scheduled transfers, you can break free from cloud dependency while keeping your Samsung phone's data safe.

The key insight we've gained is that modern Android's security restrictions, while challenging, haven't made local backups impossible—they've simply required the open-source community to develop smarter solutions. Tools like Open Android Backup demonstrate that we can respect Android's security model while maintaining our privacy and control.

We encourage you to start with one method—perhaps Open Android Backup for your first complete backup—and gradually build the layered strategy that fits your needs. Your data is too important to leave in someone else's hands.

Have you tried any of these methods with your Samsung phone? Which approach worked best for your setup? We'd love to hear about your experiences as we continue refining our backup strategies together.