35

Is there a way to do a bulk copy or export of all my Remmina connections? I have the option to export one by one, but with 50 connections this seems ridiculous. I tried looking for a connections file, or conf file, or something similar but cannot find anything.

sudo find / -name 'remmina' only returns four results:

/usr/share/menu/remmina
/usr/share/doc/remmina
/usr/bin/remmina
/usr/lib/remmina

...but none of them contain any connection files/entries :(

Wilf
  • 30,732
00fruX
  • 1,271
  • 1
  • 17
  • 32

7 Answers7

45

The files you need should be either in ~/.remmina (the hidden .remmina folder in your home directory) or in ~/.local/share/remmina (for newer versions).

For SSH, the known hosts are stored in ~/.ssh/known_hosts..

All your user settings, preferences, etc for your user are stored in your home directory, as that is the only folder you by default have permissions to access.

Wilf
  • 30,732
11

For users of the Flatpak build of Remmina, you can find the connection settings at:

~/.var/app/org.remmina.Remmina/data/remmina/
Pablo Bianchi
  • 17,371
8

Installed Remmina on Ubuntu 16.04 and had to reinstall Ubuntu after a while because it wasn't running the best. On my first install, the location of all the Remmina connection files was /home/$USER/.local/share/remmina/ folder ($USER is the current user).

After I reinstalled my new setup of Ubuntu put all the connection files in the same location /home/$USER/.local/share/remmina/ and started up Remmina I had no connection. After reading this post, I created a new connection and seen a new folder created under /home/$USER/.remmina/ with that connection, so I copied all my connections into that folder /home/$USER/.remmina/.

sudo cp -r /home/$USER/.local/share/remmina/* /home/$USER/.remmina/

I am just backing up @Wilf.

Pablo Bianchi
  • 17,371
Gman
  • 491
5

For Remmina 1.4.8 on Ubuntu 20.04 LTS the location of Remmina configuration was (for me):

~/snap/remmina/4460/.local/share/remmina

Today, I converted from a PPA install (which is no longer supported after 1.4.8) to a snap install. I copied all files from the old to new location. Other than passwords, it worked well after:

sudo apt remove remmina # uninstalls program, leaves config information files
sudo snap install remmina --edge # install the snap remmina
sudo snap connect remmina:avahi-observe :avahi-observe # servers discovery
sudo snap connect remmina:cups-control :cups-control # printing
sudo snap connect remmina:mount-observe :mount-observe # mount management
sudo snap connect remmina:password-manager-service :password-manager-service # password manager

cp ~/.remmina/* ~/snap/remmina/4460/.local/share/remmina # copy profiles to new location for snap install

asavage
  • 71
2

Backup

tar -czf ~/remmina_backup.tgz ~/.local/share/remmina/ ~/.config/remmina/ ~/.local/share/keyrings ~/.ssh/

Restore

cd
tar -xf ~/remmina_backup.tgz

Snap users Backup

tar -czf ~/remmina_backup.tgz ~/snap/remmina/<version>/.local/share/remmina/ ~/snap/remmina/<version>/.config/remmina/ ~/.local/share/keyrings ~/.ssh/
Pablo Bianchi
  • 17,371
Scott P.
  • 193
1

Remmina connection files are usually stored in one of these folders:

  • ~/.local/share/remmina
  • ~/.config/remmina
  • ~/.remmina/ (old versions)

The file names are your_connection_name.remmina. After you find right folder (e.g. ~/.local/share/remmina) the backup & restore procedure is:

Backup and transfer example (PC1)

Example: connection files were found in ~/.local/share/remmina

cd ~/.local/share/remmina
tar -cvzf all_my_connections.tgz *
scp all_my_connections.tgz my_user@my_new_linux_PC:/home/my_user/.

Remmina installation and connection restore (PC2)

User is logged-in as a my_user

sudo apt-get update
sudo apt-get install remmina

cd ~ ls -l .config/remmina mv all_my_connections.tgz ~/.config/remmina cd .config/remmina tar -xvzf all_my_connections.tgz

Important steps must be done after file restore:

  • Open Remmina application window, press Ctrl+P (or right click to Remmina main menu button, i.e. three dashes below each other, and go to Remmina Preferences).
  • Set Remmina data folder to my_user/.config/remmina
  • Close preferences, close Remmina window.
  • Open Remmina window again. The connections shoud be restored and visible.
netbat
  • 1,221
0

For Remmina 1.2 on Ubuntu 16.10 LTS the location of Remmina configuration is:

~/snap/remmina/