Fluent-Search icon indicating copy to clipboard operation
Fluent-Search copied to clipboard

Autobackup

Open NikoMuffin opened this issue 4 years ago • 19 comments
trafficstars

Allow FS to auto-backup settings into a folder. Portable mode would obviously backup into the portable data directory in a folder called "Backup". The user should have a setting to control the # of backups and the frequency of backups (every ___ days)

6/5/21 - Adding Proposed design + settings. Feedback welcome! image

NikoMuffin avatar Jun 06 '21 01:06 NikoMuffin

I separate my Windows machine into 2 user accounts, work and personal. It would be great to have an auto backup/sync feature so I don't have to manually make changes on each account whenever I switch between user accounts!

samwzlim avatar Jun 29 '21 05:06 samwzlim

Not just Settings, but also the Machine Learning Profile. Since FS learns a lot from our usage using ML, it would be good to also backup the ML learning progress.

MakeshVineeth avatar Jul 01 '21 03:07 MakeshVineeth

@Metroid-Prime Just wondering what do you mean by "sync"? for backup I understand its option to keep additional folder of settings/ml training. Also @samwzlim I'd recommend you using the portable version since it will read settings from the directory it's already in, this will allow you to have the same settings/data for multiple accounts. You can copy your settings from %appdata%/blast to where the portable EXE is stored.

adirh3 avatar Jul 01 '21 10:07 adirh3

@adirh3 I think @samwzlim made the comment about sync. Sam - what did you mean by that?

NikoMuffin avatar Jul 01 '21 22:07 NikoMuffin

I can't say what @samwzlim meant, but personally, I could also see a lot of value in a way to optionally synchronize FS-settings via some kind of cloud service, or something like OneDrive/GDrive. Personally, I'm using FS on 3 devices now, which already makes manual synchronization a bit annoying.

A more manual way of doing that might be allowing the user to choose their settings-directory. (So they can use their own cloud backup) I suppose, this might be possible with a portable version that is completely stored on a backup, but that has downsides, especially for potentially improving the sync. Also, as a user, I'd be quite nervous updating the App in case my settings get invalidated or something like that.

hpr1999 avatar Jul 02 '21 15:07 hpr1999

Just sharing some options for cloud storage:

  • Visual Studio Code and some extensions uses GitHub to synchronize data, it can also be an option. There can be no privacy risk here as a private repository/Gist will be created in user's own GitHub account and store data in it. Example: Settings Sync extension.
  • OneDrive, default available for almost everyone who use Fluent Search, because Windows 10.
  • Google Drive with Browser Login, since most people may already have atleast one Google account logged into their browsers.

MakeshVineeth avatar Jul 02 '21 15:07 MakeshVineeth

I agree with all of those. I suppose some more privacy-centred people won't like any of those options, but then again, they will probably just not enable the feature anyway.

hpr1999 avatar Jul 02 '21 15:07 hpr1999

Agreed, people can disable the Online Sync feature if not needed 👍

MakeshVineeth avatar Jul 02 '21 15:07 MakeshVineeth

This issue has been potentially fixed in version 0.9.88.60

adirh3 avatar Jul 08 '21 23:07 adirh3

I could not get the online sync to work. Here is what happened:

  • Clicked Sync now and a Login window appeared but behind the FS because of Show at top most option.
  • Closed the Login window through Taskbar thumbnail preview, disabled that Show at top most option and tried to sync again.
  • Now the login window is no longer appearing even after restarting the FS (Probably some limits on how many times to ask for login? Not something I know).

Also it's weird that it is asking for login into windows account again. Because it displays Sign out at top already. (Logged into Microsoft TODO previously)

MakeshVineeth avatar Jul 09 '21 03:07 MakeshVineeth

Do we have to sync with OneDrive? Can we have an option to have local backup, especially for portable installs?

NikoMuffin avatar Jul 09 '21 04:07 NikoMuffin

Do we have to sync with OneDrive? Can we have an option to have local backup, especially for portable installs?

Yes, we have export settings option too in latest version.

MakeshVineeth avatar Jul 09 '21 04:07 MakeshVineeth

Do we have to sync with OneDrive? Can we have an option to have local backup, especially for portable installs?

What do you mean by local backup? All settings already in the Blast directory next to the portable exe, would you like it to export it to a secondary directory? If so I don't really understand why would you want that..

adirh3 avatar Jul 09 '21 13:07 adirh3

Do we have to sync with OneDrive? Can we have an option to have local backup, especially for portable installs?

What do you mean by local backup? All settings already in the Blast directory next to the portable exe, would you like it to export it to a secondary directory? If so I don't really understand why would you want that..

If you look at the screenshot in the opening post, that was actually taken from aText. A lot of apps have local backups so that if your settings get corrupted or if you need to potentially revert to a previous version, one is able to. Each backup specified would have folders stamped with the date.

NikoMuffin avatar Jul 09 '21 18:07 NikoMuffin

Some bugs with Online Backup feature as of 0.9.88.70:

  • Manual Sync sometimes doesn't work on first try, have to click Sync now twice.
  • ~~Status of Sync now sometimes will be Never synced even if it was able to create folder .Fluent_Search_Settings on OneDrive.~~
  • ~~Exiting from FS Tray taking bit more time than before when Sync is enabled.~~
  • ~~Sometimes, manual sync settings will disappear on continuous toggling of Sync settings as shown in below picture.~~

unknown.png

MakeshVineeth avatar Jul 12 '21 15:07 MakeshVineeth

Following has been sent to @adirh3 in PM, but again here as this needs to be tracked due to relevance of this issue.

Looks like whenever we close FS from Tray, it just hides the tray icon and syncs in the background, then closes completely. I felt this because after the tray icon disappeared, if we immediately launch the FS, Search window will get displayed right way, completes syncing and closes again by itself. I'm not sure if this is good or bad idea, FS should close immediately when we exit from Tray.

MakeshVineeth avatar Jul 17 '21 08:07 MakeshVineeth

Following has been sent to @adirh3 in PM, but again here as this needs to be tracked due to relevance of this issue.

Looks like whenever we close FS from Tray, it just hides the tray icon and syncs in the background, then closes completely. I felt this because after the tray icon disappeared, if we immediately launch the FS, Search window will get displayed right way, completes syncing and closes again by itself. I'm not sure if this is good or bad idea, FS should close immediately when we exit from Tray.

@MakeshVineeth FYI I am not able to reproduce this. I have FS to close indexer upon quitting in latest betas and it's closing pretty soon after right click> exit from tray.

NikoMuffin avatar Jan 16 '22 00:01 NikoMuffin

Following has been sent to @adirh3 in PM, but again here as this needs to be tracked due to relevance of this issue. Looks like whenever we close FS from Tray, it just hides the tray icon and syncs in the background, then closes completely. I felt this because after the tray icon disappeared, if we immediately launch the FS, Search window will get displayed right way, completes syncing and closes again by itself. I'm not sure if this is good or bad idea, FS should close immediately when we exit from Tray.

@MakeshVineeth FYI I am not able to reproduce this. I have FS to close indexer upon quitting in latest betas and it's closing pretty soon after right click> exit from tray.

Yeah, this issue got fixed in the latest updates.

MakeshVineeth avatar Jan 16 '22 04:01 MakeshVineeth

IMO this still presents immense value for the portable users of Fluent Search. I am finding myself having to make local portable backups of FS in case something goes wrong with my settings.

Retuning FS is a royal nightmare (especially web search!) for some so local backups are a good thing.

NikoMuffin avatar Feb 27 '22 22:02 NikoMuffin

The sync issues have been fixed. Back-up locally is not planned atm, feel free to create a new issue for it.

adirh3 avatar Jul 29 '23 15:07 adirh3