adultsitespeed.blogg.se

Dropbox backup for mac
Dropbox backup for mac










dropbox backup for mac
  1. #DROPBOX BACKUP FOR MAC HOW TO#
  2. #DROPBOX BACKUP FOR MAC FOR MAC#
  3. #DROPBOX BACKUP FOR MAC UPDATE#
  4. #DROPBOX BACKUP FOR MAC ARCHIVE#
  5. #DROPBOX BACKUP FOR MAC CODE#

Here I’ve excluded the most common macOS resource files and, obviously, the Dropbox folder, but you can customize it as you like. This is the list of files and folder we want to exclude from our backup, starting from the home directory.

#DROPBOX BACKUP FOR MAC CODE#

Then copy the code below and paste it inside the file called exclude.txt. Well done, copy the code below and paste it inside the same file with a text editor - even TextEdit will do the job #!/bin/bash COMPUTER_NAME=$(hostname -s) USER_NAME=$(whoami) SOURCE_PATH=~/ DESTINATION_PATH=”dropbox:Backups/$_archive” rclone sync $SOURCE_PATH $DESTINATION_PATH \ - backup-dir $ARCHIVE_DESTINATION_PATH \ - exclude-from exclude.txt \ - delete-excluded

  • Navigate to Applications/Utilities, then select All Applications from the Enable dropdown.
  • Expand the Open with section and select Other from the dropdown menu.
  • Right click backup.sh and choose Get Info from the menu.
  • Inside there will be two files, including backup.sh we need to make this one open with a double click. You should now have a new folder on your desktop called backup. Open a terminal and type the following commands, pressing Enter after each one: cd ~/Desktop mkdir backup cd backup touch backup.sh chmod +x backup.sh touch exclude.txt

    #DROPBOX BACKUP FOR MAC UPDATE#

  • Uncheck the Backups folder and click Update, then click again Update to confirm when the Dropbox app asks for a confirmation.
  • Click the Account tab, the click Change Settings near Selective Sync.
  • Click the Dropbox icon on the menu bar, then click the Cog icon (top right) and select Preferences.
  • We don’t want the Backups folder to be synced back to our computer, so we need to use Dropbox’s Selective sync feature to disable syncing just for this folder:

    #DROPBOX BACKUP FOR MAC ARCHIVE#

    In my case, the full path on Dropbox would be /Backups/macbook-pro-di-alan/tegola.Īs a bonus point, if you delete a file or folder locally and then launch a backup, that file/folder will be moved in the Archive folder - located, in my case, at /Backups/macbook-pro-di-alan/tegola_archive - so you can find accidentally deleted items there, or clean it up if you want. When rclone will run, it’ll store data two folders down, the first will have your computer’s name, and the second one will have your user name. We need to pick a destination folder for storing our backup, so open your Dropbox folder and create a new sub-folder called Backups. Rclone’s configuration screen Step 2: Setup your Dropbox account

  • Press y to save the remote’s configuration, then q to quit the configuration utility.
  • Paste that code in the terminal, where rclone should be asking for it.
  • dropbox backup for mac

  • When asked to visit a Dropbox url, like, do it, click `Allow` to allow rclone to access your Dropbox account, then copy the resulting code.
  • When asked for Dropbox App Key and Dropbox App Secret, just leave blank and press Enter.
  • dropbox backup for mac

  • Press 4 to select Dropbox from the list of supported cloud storage services.
  • Type the remote name, like dropbox (avoiding uppercases and spaces for the sake of simplicity), then press Enter.
  • Open a terminal and type rclone config.
  • Here’s the example configuration for Dropbox: Depending on the service you’re going to use, this step may be a little different for you. Once installed, we need to add a cloud storage service to rclone’s configuration. I know I said “install and configure”, but since it’s very straightforward I will actually skip the installation guide and suggest you to read the rclone installation guide and come back here when you’re done. This is working for me but might not work at all for you. Please note that this is not meant to replace an incremental backup system (even if it does offer some kind of fallback for deleted files) if you need that functionality, I suggest you to use a specific solution like Arq.ĭisclaimer: I take no responsibility for lost files or unwanted behavior.

    #DROPBOX BACKUP FOR MAC FOR MAC#

    This guide is for Mac users, but can be easily adapted for Windows or Linux with little tinkering.

    #DROPBOX BACKUP FOR MAC HOW TO#

    In this tutorial I’ll show you how to setup an system to backup your home directory to Dropbox - which is my cloud storage service of choice, but you can use pretty much every other major cloud storage service - using rclone, a command line utility to sync files and folders between your computer and cloud storage services, or between different cloud storage services.Įven if you’re not a command line us er, at the end of this tutorial you will have a executable app that will back up your home directory to Dropbox, and move locally deleted files in an archive folder at each subsequent run.












    Dropbox backup for mac