linux-mint/migrate-app-data

45 lines
1.1 KiB
Plaintext

### Signal
# Stop app if running
killall -9 signal-desktop
# Backup old data from Flatpak-App
~/.var/app/org.signal.Signal/config/Signal
# or from native installed App
~/.config/Signal
# Restore to
~/.var/app/org.signal.Signal/config/Signal
### Firefox
# Stop app if running
killall -9 firefox-bin
# Backup old data from Flatpak-App
~/.mozilla/firefox/*.default-esr
# Restore (and migrate from esr to default):
firefox # start and stop for clean new profile
sudo su -
rsync -av --delete /media/olli/c4a672e7-86dd-4dbc-8079-6e5d2cba7394/olli/.mozilla/ /home/olli/.mozilla/
exit
firefox about:profiles # Altes Profil (ESR) als Standard setzen und "Profil zusätzlich ausführen"
chown -R $(whoami). /home/olli/.mozilla
### Nextcloud
rsync -av --delete /media/olli/c4a672e7-86dd-4dbc-8079-6e5d2cba7394/olli/.config/Nextcloud/ /home/olli/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud/
sudo chown -R olli. /home/olli/.var/app/com.nextcloud.desktopclient.nextcloud/config/Nextcloud/
### SSH
rsync -av --delete /media/olli/c4a672e7-86dd-4dbc-8079-6e5d2cba7394/olli/.ssh/ /home/olli/.ssh/
sudo chown -R olli. /home/olli/.ssh