Skip to content

Latest commit

 

History

History
74 lines (52 loc) · 1.47 KB

BACKUP.md

File metadata and controls

74 lines (52 loc) · 1.47 KB

Backup

Backup folders

  • ~/.config/

  • ~/.firefoo/saved-queries/

  • ~/.ssh/

  • ~/.tableplus/queries/

  • ~/.tableplus/settings/connections.json

  • ~/Downloads/

  • ~/Pictures/

  • ~/Screenshots/

  • ~/Videos/

  • ~/Workspace/ (without node_modules/: https://unix.stackexchange.com/a/345001):

    rsync -rv ~/Workspace /media/pierre/SanDisk\ 256Go/Backup \
      --exclude=node_modules \
      --exclude=env \
      --exclude=.cache \
      --exclude=dist

Export installed Fish modules

fisher ls

Export Code unsaved tab

Export Code extensions

code --list-extensions > ~/.dotfiles/config/code/extensions.txt

Export Chrome bookmarks

Export Brave bookmarks

Export Browser shortkeys

From extension shortkeys-custom-keyboard

Export OS shortkey

Export CGP Cloud config

Export NPM token

Export SSH keys

cp ~/.ssh/* /media/pierre/SanDisk\ 256Go/Backup/ssh

(Copy the passphrase)

gpg --list-secret-keys
gpg --export --armor "Pierre Flauder" > gpg.pub.asc
gpg --export-secret-keys --armor "Pierre Flauder" > gpg.priv.asc
gpg --export-secret-subkeys --armor "Pierre Flauder" > gpg.sub_priv.asc
gpg --export-ownertrust > ownertrust.txt

Export config Dconf

dconf dump / > ~/.dotfiles/config/dconf/dconf-settings.ini