Skip to content

Backup a list of things on your computer to Dropbox

Notifications You must be signed in to change notification settings

urre/system-backup-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 

Repository files navigation

Backup a list of things on your computer to Dropbox

Just a simple way to backup a list of apps, fonts and packages you have installed on your Mac -> Dropbox. Run manually or schedule. Simple and for everyone.

The script will backup this to your Dropbox

  • Mac Apps (A list of the installed apps)
  • Homebrew (A list of the installed packages)
  • NPM (A list of the globally installed packages)
  • Fonts (A list of the installed fonts)
  • Bash profile (The current bash profile)
  • Aliases
  • SSH config
  • Hosts (The hosts file)
  • Apache (macOS built in)
  • Gitconfig
  • VSCode (Lists of the current Settings, Keybindings and Extensions)
  • Crontab (A list of the crontab)
  • Sequel Pro (A lit of the Favorites)

Note:

  • Quit Sequel Pro if it’s running.
  • Replace ~/Library/Application Support/Sequel Pro/Data/+ Favourites.plist with your backed up copy.
  • Replace ~/Library/Preferences/com.sequelpro.SequelPro.plist with + your backed up copy.
  • Fire up Sequel Pro and you should be back in business.

Notes

Of course, change all this to your taste/needs. I'm using the full paths to some of the binaries here. You can also just use brew or npm, but that might not work correctly when you use it in Automator or with Alfred.

Cron

Run backup every day at 09.00

  1. Open up crontab env EDITOR=nano crontab -e
  2. Schedule the bash script. Ex. Run 09.00 am monday-friday
0 09 * * 1-5 /mypath/system-list-backup.sh

Automator

Run backup every time you login to your computer

  1. Start Automator.app
  2. Select "Application"
  3. Click "Show library"
  4. Add "Run Shell script"
  5. Copy & paste the scripts above
  6. Test it
  7. Save it somewhere, ex to your Applications folder
  8. Add this app to System Preferences -> Account -> Login items
  9. Done!

Alfred

Use the system-list-backup.alfredworkflow file in this repo.

alfred-1

alfred-2

Start typing the keyword "backup" + enter

About

Backup a list of things on your computer to Dropbox

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages