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

    Samba and /opt/retropie/configs

    Scheduled Pinned Locked Moved Help and Support
    samba sharebackup
    5 Posts 3 Posters 1.0k 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.
    • 1
      10vorne
      last edited by

      I regularly backup the bios, configs, roms and splashscreens directories. I sync them with my backup media via Samba.

      But I would like to include /opt/retropie/configs in the backup. How can I (shell beginners) include this directory in the Samba share so that it is also displayed in Windows Explorer?

      Are there problems with the file permissions if I save these files on a non-Linux file system (backup medium) and have to copy them back at some point?

      Are there other disadvantages that I don't consider when doing this?

      S mituM 2 Replies Last reply Reply Quote 0
      • S
        sleve_mcdichael @10vorne
        last edited by sleve_mcdichael

        @10vorne said in Samba and /opt/retropie/configs:

        I regularly backup the bios, configs, roms and splashscreens directories. I sync them with my backup media via Samba.

        But I would like to include /opt/retropie/configs in the backup.

        If you check your /etc/samba/smb.conf you'll see that that already is the location accessed by the configs share:

        (Excerpt):

        [configs]
        comment = configs
        path = "/opt/retropie/configs"
        writeable = yes
        guest ok = yes
        create mask = 0644
        directory mask = 0755
        force user = pi
        

        Are there problems with the file permissions if I save these files on a non-Linux file system (backup medium) and have to copy them back at some point?

        Sym-links won't be preserved as such. If it links to somewhere else within the network share (for example the genesis and megadrive rom folders), it will just copy over as duplicate data. If it links to outside the share, you'll be denied access (shouldn't be an issue with default settings but something to keep in mind if you do any custom work in there.)

        1 1 Reply Last reply Reply Quote 1
        • mituM
          mitu Global Moderator @10vorne
          last edited by

          @10vorne said in Samba and /opt/retropie/configs:

          Are there problems with the file permissions if I save these files on a non-Linux file system (backup medium) and have to copy them back at some point?

          Could be, since the permissions most likely are not preserved. However, if you're restore strategy is to copy back the files manually over Samba (and not rsync them), it's ok since Samba will take care of the permissions. The alternative would be to zip them before backing them up.

          1 Reply Last reply Reply Quote 0
          • 1
            10vorne @sleve_mcdichael
            last edited by

            @sleve_mcdichael Just to be sure, the config folder shared by Samba by default is the config folder under /opt/retropie/configs? Then maybe I just misunderstood. I thought the config files of the individual emus would not be stored in the standard share. But if so, then I already have them in the backup because I sync the folders mentioned.

            S 1 Reply Last reply Reply Quote 0
            • S
              sleve_mcdichael @10vorne
              last edited by

              @10vorne said in Samba and /opt/retropie/configs:

              @sleve_mcdichael Just to be sure, the config folder shared by Samba by default is the config folder under /opt/retropie/configs?

              That's correct. You can look inside it and verify.

              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.