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. 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?
-
@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.)
-
@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 tozip
them before backing them up. -
@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.
-
@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.
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.