-
Notifications
You must be signed in to change notification settings - Fork 936
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Copy configuration files #613
Comments
For MAS apps, it’ll likely also need to |
You are right, I think this can come as a later feature, once this one is in: #615 |
we may add StickiesDatabase back with this feature. #412 |
When I tried mackup, I thought it will copy the config files. Now all my config files LOST!!! Why not you guys write this behavior to README? 😭 |
If your files were synced up with dropbox, you may recover them with it. |
@martin-liu it's explained: https://github.com/lra/mackup#bullsht-what-does-it-really-do-to-my-files |
@lra To be fair, it doesn’t really explain it. It says The only time |
@zanderzhng @lra , thanks for reply. |
👍 Totally agree with this topic, it would be awesome to have an copy/link choice. |
I use this tool across almost 3 machines. A feature like this would be awesome. |
The copy feature has been requested numerous times over the years, and as I was looking at it, it seemed an easy task to leverage the .cfg files to create a simple rsync-based copy feature with a lite bash script. Thus, Rackup was born. https://github.com/mattmc3/rackup. Rackup leverages Mackup's configs to do an rsync based file copy backup instead of symlinking. Not trying to advertise per-se - it would be great to have this feature in Mackup itself, but for those who can't wait any longer, here's an alternative approach. |
@mattmc3 Copying alone isn’t enough for Mac App Store apps. They cache their settings. |
@vitorgalvao - Maybe I'm missing what you're really saying, but I'm not sure how cached settings is that big of a deal. Time machine backups only work against the files written to disk as well. When the file is written, an rsync backup can get it. If it stays cached in memory, then nothing was going to pick it up anyway. Like I said, maybe I'm missing what you're getting at, but from my vantage point, it's not a big enough issue to architect something grandiose to cover it. |
@mattmc3 Due to the way settings are cached, if you copy the settings over in MAS (Mac App Store) apps, they aren’t read. So copying alone is ineffective. You need to at least do a I do that in my own settings-saving script and it mostly works, but that means mackup’s |
@vitorgalvao - Good call out. Seems like we can solve this with a simple pre-backup script, which I'm going to need anyway to add other plugin scripts to settings that aren't in files like the list of Atom packages, a Brewfile, etc. To account for the issue you mention, before I make a Brewfile, I can |
just to be clear tunnelblick is one of the applications that needs this to function properly. |
Linking file does not work for all applications, and some users would prefer to actually "backup" their config files, instead of linking them.
Finally, the app store applications live in a container that's not working for application linking, a copy mode would allow us to support those apps.
We should be able to specify if the mode (
link
vscopy
) in each application INI.As it's gonna be complex to understand what's going on if mackup supports both linking and copying, this feature depends on
mackup status
#603Finally, mackup should say goodbye to
mackup backup
andmackup restore
and use more explicit actions, e.g.mackup link
,mackup copy
, ...PR welcomed
The text was updated successfully, but these errors were encountered: