-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbackup.sh
37 lines (34 loc) · 1.57 KB
/
backup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
# Manual Configuration Required:
#
# - Alfred Configuration Backup. Sync to cloud storage.
# - Google Chrome. Sync to user profile.
# - 1Password. Support was never merged, sensitive application to muck with permissions. https://github.com/lra/mackup/pull/1080
# - Dash. Save preferences and snippets in-app.
# - SSH and GPG
# - Enable location services, useful for night shift
# - Add '~/Projects' to Spotlight exclusion to avoid matching against node_modules
# - Slack setup. Login under various emails.
# - Discord
# - Some zoom configuration doesn't copy over:
# * General > use dual monitors
# * General > Show meeting duration
# * Video > Hide Self View
# * Video > Always show participant name on the video
# * Audio > Mute my mic when joining a meeting
# * Show meeting duration
# TODO explode out videos from the primary area
# - Copy `jack` (texts) and raycast keychain items over to the new machine
# - Install texts application
# - Enter GPG passphase. This should be prompted automatically when making a commit
# - Todoist hotkey.
# - ActivityWatch
# * If the host names do not match between machines, you'll need to manually edit the SQL
# * Manually import category mapping
# - Network Preferences
# * Safari > preferences > privacy > hide ip address: disable
# * Sys Preferences > network > limit ip address tracking: disable
mackup backup
# manually copy files to the new machine
pg_dumpall >~/Desktop/postgres_backup
mysqldump -u root -p --all-databases >~/Desktop/mysql_backup.sql