RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Script to Mirror SD Card to USB Stick?

    Scheduled Pinned Locked Moved Help and Support
    scriptretropieusb stick
    2 Posts 2 Posters 376 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • George SpiggottG
      George Spiggott
      last edited by

      Currently RetroPie automatically copies files (roms and configs) from a USB stick to the Pi. Is it possible to disable this process so that it happens on command rather than automatically?

      Also is it possible to reverse the process so that the USB stick can be used to mirror the contents of the Pi, or at least select folders from it, either automatically or ideally on command?

      Currently running:
      Retropie 4.8.9 on a Pi Zero 2W (Overclock Settings: CPU 1400Mhz)
      ES-DE on a GMKtec K6 (Windows 11, 32GB RAM)

      mituM 1 Reply Last reply Reply Quote 1
      • mituM
        mitu Global Moderator @George Spiggott
        last edited by

        @George-Spiggott said in Script to Mirror SD Card to USB Stick?:

        Currently RetroPie automatically copies files (roms and configs) from a USB stick to the Pi. Is it possible to disable this process so that it happens on command rather than automatically?

        Yes, disable the usbmount service and the synchronization will not happen automatically.

        Also is it possible to reverse the process so that the USB stick can be used to mirror the contents of the Pi, or at least select folders from it, either automatically or ideally on command?

        Yes, it's possible, but there's no provision in the RetroPie scripts for this kind of scenario.

        When you want to keep your ROMs on an external drive, you create a retropie-mount folder on it and RetroPie would sync the ROMs from the SDCard to the disc, then it will mount the disc so you can use it.

        If dont' want to use the external disc for the ROMs, but just synch to it, then you'll have to create a script to do it. Both synchronization methods (USB to card and vice-versa) use the rsync command, you can easily create 2 scripts to do this synchronization and add them under the retropiemenu system so you can call them directly from Emulationstation.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.