Your Search Bar For Shrewd Tips

How To Backup Batocera


How To Backup Batocera

If you're a passionate gamer using Batocera to enjoy your favorite retro games, ensuring your data is safe is essential. Backing up your Batocera system allows you to preserve your game library, settings, saves, and configurations, so you can restore everything easily if something goes wrong or when upgrading to a new device. In this guide, we'll walk you through the step-by-step process of how to backup Batocera effectively, covering different methods suitable for various user preferences and technical expertise.

Understanding the Importance of Backing Up Batocera

Before diving into the backup procedures, it's crucial to understand why backing up Batocera is vital:

  • Protects your game library, including ROMs and BIOS files, from accidental deletion or corruption.
  • Saves your custom configurations, emulator settings, and themes.
  • Prevents data loss caused by hardware failures or software errors.
  • Makes upgrading or migrating to new hardware seamless.

With a reliable backup, you can restore your setup quickly and avoid the frustration of losing your hard-earned progress and customization.

Preparation Before Backing Up

Before starting the backup process, ensure you have the necessary tools and access:

  • A computer with an SD card reader or USB port, depending on your Batocera device.
  • An SD card or USB drive with sufficient storage space to save the backup.
  • Properly eject and safely remove storage devices to prevent data corruption.
  • Latest version of Batocera installed on your device for compatibility.

Method 1: Using the Built-in Backup Feature in Batocera

Batocera includes a straightforward way to create backups directly from its interface, making it accessible even for users with minimal technical experience.

Step 1: Access the Batocera Main Menu

Start your Batocera system and navigate to the main menu by pressing the Start button on your controller or keyboard.

Step 2: Open the System Settings

Within the main menu, select System Settings to access system-related options.

Step 3: Select the 'Backup' Option

Scroll through the menu until you find the Backup option. Click on it to initiate the backup process.

Step 4: Choose Backup Destination

Batocera will prompt you to select where to save your backup. Choose an external USB drive or SD card connected to your system to ensure your backup is stored safely.

Step 5: Confirm and Start Backup

Confirm your selection and proceed. The system will create a backup file containing your game data, ROMs, configurations, and more. Wait for the process to complete — it may take several minutes depending on the size of your setup.

Method 2: Manual Backup via SSH or Samba Share

If you prefer more control or need to back up specific files, manual methods like SSH (Secure Shell) or Samba file sharing are effective options.

Using SSH to Backup Batocera

SSH allows you to connect to your Batocera device remotely from a computer, enabling direct access to the file system.

Step 1: Enable SSH on Batocera

Navigate to System Settings in the main menu, select Network Settings, and enable SSH Server.

Step 2: Find Your Batocera IP Address

Go to Information > Network to note down the IP address assigned to your device.

Step 3: Connect via SSH from Your Computer

Using an SSH client (like PuTTY on Windows or Terminal on macOS/Linux), connect using the command:

ssh root@your_batocera_ip

Default username is typically root, and the password is either linux or the one you set during setup.

Step 4: Copy Important Files

Once connected, you can copy your data with commands like:

scp -r /userdata/ /path/to/your/backup/location

This command copies your userdata directory, which contains your ROMs, saves, and configurations.

Using Samba Share for Backup

Batocera supports Samba (Windows File Sharing), making it easy to transfer files using your file explorer.

Step 1: Enable Samba Share

In the Batocera menu, go to Network Settings and ensure Samba Server is enabled.

Step 2: Access Batocera Share on Your Computer

On Windows, open File Explorer and enter \\your_batocera_ip in the address bar. On macOS, connect via Finder > Go > Connect to Server and enter smb://your_batocera_ip.

Step 3: Copy Files to Your Computer

Navigate to the share folder, typically containing userdata and other data. Copy these folders to your local storage for backup.

Method 3: Creating an Image Backup of the SD Card or Storage Device

This method involves creating an exact clone of your SD card or storage device, capturing everything on the device, including the system, ROMs, and settings. It’s ideal for complete restoration.

Tools Needed for Disk Imaging

  • Imaging software like Win32 Disk Imager (Windows), balenaEtcher, or Raspberry Pi Imager.
  • A computer with a compatible SD card reader or USB drive reader.
  • Additional storage device with enough capacity to hold the image file.

Creating an Image Backup

Follow these general steps:

  • Insert your SD card or storage device into your computer.
  • Launch the disk imaging software.
  • Select the device corresponding to your SD card.
  • Choose a destination folder and filename for the image.
  • Start the imaging process and wait until it completes.

This image can be stored safely and restored later if needed.

Restoring a Backup to Batocera

Restoring your backup is just as important as creating it. Depending on your backup method, here’s how to proceed:

Restoring via Built-in Backup Feature

Access the Restore option in the Batocera main menu, select your backup file from an external drive, and confirm. Wait for the system to complete the restoration process.

Restoring Files via SSH or Samba

Use SCP commands or drag-and-drop in your file explorer to copy your saved data back into the appropriate directories on Batocera.

Restoring from Disk Image

Use the imaging software to write the saved image back onto your SD card or storage device. Insert the SD card into your device, select the restore option in your imaging tool, and follow the prompts. Once restored, reboot Batocera, and your system should be exactly as it was when the backup was made.

Additional Tips for Effective Backup Management

  • Regularly update your backups, especially after adding new games or making settings changes.
  • Keep multiple backup copies in different locations to prevent data loss due to hardware failure or theft.
  • Label your backup files with date and version information for easy identification.
  • Test your backups periodically by restoring them to ensure they work correctly.

Conclusion

Backing up your Batocera system is an essential part of maintaining a safe and enjoyable retro gaming experience. Whether you prefer using the built-in backup feature, manual file transfer methods, or creating full disk images, each approach offers its advantages. Regular backups protect your game library, custom settings, and progress from unforeseen issues, saving you time and frustration in the long run. By following the steps outlined in this guide, you can confidently safeguard your Batocera setup and ensure your retro gaming adventures continue uninterrupted for years to come.


Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.

Shrewdnia

Shrewdnia

Shrewdnia is a destination for curious minds seeking clarity, knowledge, and informed perspectives. Through insightful articles and practical guides our passionate team explores a wide range of topics designed to help readers understand the world around them, make smarter decisions, and stay informed in an ever-changing landscape.


💡 Every question sparks discovery, and every perspective enriches the conversation. Share your thoughts and insights in the comments 👇

Back to blog

Leave a comment

JOIN THE SHREWDNIA COMMUNITY FORUM

What do you think?

Have an opinion, experience, or question about this topic? Join the Shrewdnia Forum and share your thoughts with other readers.

Join the Forum →