mackup icon indicating copy to clipboard operation
mackup copied to clipboard

Google Drive Replaced

Open DonRichards opened this issue 7 years ago • 10 comments

Google recently replaced Google Drive with Google Drive File Stream. This is causing the following (obvious) error

$ mackup list
Error: Unable to find your Google Drive install =(

I tried a system link with no luck.

DonRichards avatar Oct 25 '17 16:10 DonRichards

Similar issue on my end except Mackup is looking for Dropbox: Error: Unable to find your Dropbox install =(.

My .mackup.cfg looks like this:

[storage]
engine = google_drive

[configuration_files]
.gitignore_global
.git-prompt.sh
.git-completion.bash

This appears to be a similar issue as #581.

Running ls -l "$HOME/Library/Application Support/Google/Drive/sync_config.db" "$HOME/Library/Application Support/Google/Drive/user_default/sync_config.db" returns

ls: /Users/admin/Library/Application Support/Google/Drive/sync_config.db: No such file or directory
-rw-r--r--  1 admin  staff  20480 Dec 13 08:10 /Users/admin/Library/Application Support/Google/Drive/user_default/sync_config.db

Tempted to copy ~/Library/Application Support/Google/Drive/user_default/sync_config.db to ~/Library/Application Support/Google/Drive/.

Recommendations?

pythoninthegrass avatar Dec 13 '17 17:12 pythoninthegrass

... And no change after copying ~/Library/Application Support/Google/Drive/user_default/sync_config.db to ~/Library/Application Support/Google/Drive/, then running mackup restore.

EDIT: Forgot to mention that on both Macs, running Mackup 0.8.16.

pythoninthegrass avatar Dec 13 '17 17:12 pythoninthegrass

Same Issue. It's because Google Drive has been replaced by the new File Stream system which has a different location and folder structure.

Should add a google_filestream option in order to keep backwards compatibility.

jwmann avatar Feb 15 '18 22:02 jwmann

I temporarily got around this by copying my Mackup folder into Dropbox and changing my .mackup.cfg setting to use dropbox and restoring there but obviously I'd prefer to use Google in the future.

jwmann avatar Feb 15 '18 23:02 jwmann

I've found

[storage]
engine = file_system
path = Google Drive File Stream/My Drive

works for now. Working on a PR to add a google_filestream option that defaults to that. I haven't yet found a way to configure where File Stream puts your files.

MikaelSmith avatar Apr 21 '18 17:04 MikaelSmith

As a new comer to mackup that wanted to use Google Drive, it's quite confusing but I think I worked it out.

Now you download from Google Backup and Sync or InstallBackupAndSync.dmg. Once you install this, it actually installs 2 separate Google Drive applications: Backup and Sync.app, Google Drive File Stream.app. You need to open both, complete the initial setup process and sign-in. Then mackup works without setting path in the config file.

FutureSharks avatar Jan 22 '21 14:01 FutureSharks

Not working anymore. Backup and Sync cannot be installed.

Stooovie avatar Oct 10 '21 09:10 Stooovie

Unfortunately still an issue with mackup version 0.8.33 and Google Drive version 52.0.6.0 (installed via homebrew) on MacOS Monterey 12.2.1. Also the proposed solution from @MikaelSmith is not working for me.

The get_google_drive_folder_location() function is looking for a file named sync_config.db in /Users/username/Library/Application Support/Google/Drive/ but with the mentioned versions there is no Google Drive directory in Application support and no sync_config.db on my system.

Cuzart avatar Feb 28 '22 17:02 Cuzart

I do not see google_filestream as a replacement for google_drive. I do see there is a branch open here https://github.com/MikaelSmith/mackup/tree/add-google-filestream which has not been merged yet. Is there any update on this @MikaelSmith?

jenildesai25 avatar Apr 17 '22 20:04 jenildesai25

I'm no longer using Google Drive desktop tools, so didn't follow up on it.

MikaelSmith avatar Apr 19 '22 16:04 MikaelSmith