linux-mint/migrate-app-data

46 lines
1.1 KiB
Plaintext
Raw Normal View History

2022-07-08 12:40:24 +02:00
### 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
2022-07-08 12:45:19 +02:00
# Restore to
2022-07-08 12:40:24 +02:00
~/.var/app/org.signal.Signal/config/Signal
2022-07-08 12:45:19 +02:00
2022-07-08 12:40:24 +02:00
### Firefox
2022-07-08 12:45:19 +02:00
# Stop app if running
killall -9 firefox-bin
# Backup old data from Flatpak-App
~/.mozilla/firefox/*.default-esr
2022-07-08 13:02:50 +02:00
# Restore (and migrate from esr to default):
2022-07-08 13:02:29 +02:00
killall -9 firefox
rm -rf ~/.mozilla
firefox # start and stop for clean new profile
sudo su -
rsync -av --delete /media/olli/c4a672e7-86dd-4dbc-8079-6e5d2cba7394/olli/.mozilla/firefox/*.default-esr/ /home/olli/.mozilla/firefox/*.default-release/
exit
chown -R $(whoami). /home/olli/.mozilla
2022-07-08 13:11:49 +02:00
### 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/
2022-07-08 13:59:41 +02:00
### SSH
rsync -av --delete /media/olli/c4a672e7-86dd-4dbc-8079-6e5d2cba7394/olli/.ssh/ /home/olli/.ssh/
sudo chown -R olli. /home/olli/.ssh
2022-07-08 12:45:19 +02:00