Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord
    1. Home
    2. mentalo
    3. Best
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 20
    • Best 3
    • Controversial 0
    • Groups 0

    Best posts made by mentalo

    • RE: Impossible de faire/lire une sauvegarde

      @zing Bonjour, j'ai fait une réinstallation complète (sur la même carte), et j'ai pu sauvegarder 🙂 Le problème est résolu, merci pour l'aide.

      posted in Recalbox Général
      mentalo
      mentalo
    • RE: Where to put public keys?

      Hello
      Thanks @poppadum it's clearer. It's seems to work 🙂
      Now I'm gonna try to connect through a script, to automatize backups of saves files.

      posted in Recalbox General
      mentalo
      mentalo
    • RE: Where to put public keys?

      @poppadum Yes it's working, my bash script is on:
      /home/mentalo/Documents/Scripts/recalbox/backup_saves.sh

      #!/bin/bash
      
      ssh_key_abs_path="/home/mentalo/.ssh/"
      ssh_key_file_name="id_ed25519" # be sure to generate private / public keys before to run the script
      ssh_connection_user="root"
      ssh_host_name="recalbox" # be sure to add in /etc/hosts the hostname "recalbox" with the IP (generally 192.168.X.XX)
      
      src_recalbox_saves_dir="/recalbox/share/saves/"
      dst_recalbox_saves_dir="/path/to/local/backups/directory/"
      
      rsync -rltvh --modify-window=1 -e "ssh -i ${ssh_key_abs_path}${ssh_key_file_name}" ${ssh_connection_user}@${ssh_host_name}:${src_recalbox_saves_dir} ${dst_recalbox_saves_dir}
      

      Small but super-efficient 🙂
      Now I'm going to add a file to put variables, check directories before to run rsync, add the script in crontab, etc.

      Maybe it could be added in the Recalbox documentation?

      posted in Recalbox General
      mentalo
      mentalo