-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
Keeping backup files #3
Comments
It would be nice if backup directory is organized like following because user can delete old history easily by manual operation.
|
Thanks for your feedback. Please note that also the original JFileSync got some improvements after the fork, related to WebDAV backends. But of course it still lacks the support for encryption in different ways and the compression alongside. Since JFileSync3's main goal is to synchronize I don't see a compatible way to add your suggestions while leaving the plain syncing (with optionally several using systems involved per folder) intact. So your idea might be a little bit too far away from the original focus of JFileSync(3). The problem stems from the date which needs to be ignored on comparison and storing back files to the original location. This resides quite at the core of JFileSync(3). While I'm using JFileSync3 on a daily basis as one component for my backups it's focus definitely was not in keeping a file's history. Do you have any idea on how to incorporate this extension in a compatible way? Perhaps with the option to tell how many versions of a file should be kept. Otherwise it might be a good idea to evaluate other options for you scenario provided that the add all the other features you might need like encryption, online backends, and compression. Looking forward to hear your ideas. |
Thank you for your comment. I'm assuming these folder structure. Case 1:
Case 2:
I'm sorry, I'm not very good reader of English, Perhaps I may be misunderstanding your comment. |
My point is not so much the backup, but the recovery side of the process - and how to discover the correct files and their versions. JFileSync(3) tries to keep folders in sync (while still I'm using this as a PART of my Backup scenario). In your scenario On the other hand, this still might be a valid scenario taken into account what I'm doing with JFileSync3 on a daily basis. I simplified this to one file system:
When I sync Lets take your file system layout:
Folders This is a main difference between multi-version backups and single versions syncs with multiple storage instances (which is what I feel to need to keep my files safe, but only the latest version). Does that shed any light on the problem as I see it. Any Ideas to resolve this? Or should be declare this One more point: File with versions. Ok, understood. But what about the svn/git approach take for source code repositories of keeping the right files in the right versions together in one iteration (as opposed to CVS)? This was not part of your question though... |
Thank you for you taking time to answer and I'm very sorry for late response.
I just want a feature to trash obsoleted files into a folder like recycle bin, instead of directory deleting, in order to give users a chance to salvage files deleted unexpectedly.
Thank you for your comment, there is a long story about it.
On a day, the team changed the location of master source code on windows shared folder. |
@mgoellnitz I concur with the thought that JFileSync3's focus is on syncing files, not backing up. I don't think adding backup/history support makes sense. However I think I have a possible answer to your question, "how to incorporate this extension in a compatible way?". How about adding JSR 223 support (or some other scripting option) and then fire callbacks. That way if backups are something people are interested in, it can be developed outside of JFileSync3 and users could share scripts? I personally like Python so I'd suggest https://github.com/scijava/scripting-jython, Kotlin is all the rage and might be a good choice. What ever is chosen would need to have decent file system and file IO support (e.g. last time I looked, LUA did not have a way to list the existing files in a directory out of box) @X1353135 would that satisfy your needs? |
Thank you for your improvement of JFileSync.
It would be nice if JFileSync3 supports a option to move files to be overwritten or deleted during the directory synchronization into a individual directory selected in sync profile as backup.
I prefer to keep many generations of backup files as history, then delete manually later.
The text was updated successfully, but these errors were encountered: