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
Handling of external drives #2768
Comments
I believe this is issue is the same as my issue #2760 or at least a fix would likely resolve both. Also, interesting point about external drives then being considered "deleted". There isn't really be a way to know for sure if it was deleted or removed until Duplicati gets active continious backup that monitors changes on disk. If you need to recover those "not deleted files" you could go back to a previous backup to restore the external files, but if you only have the drive connected occassionally you'd have to look around for the right backup job, which contains the files. Crashplan's restore view is a bit more useful for that kind of situation, since it can show all files including deleted and then lets you pick a version for the specific file/folder instead of viewing a given restore point. |
@raev33 You can add the option |
Yes, partially. I can now backup the local data, but then my external data is still deleted on the backup. |
Any further updates in this? I'm considering using Duplicati but the inability to effectively handle external drives that aren't continuously connected would be a total deal-breaker for me. |
I'm not aware of any progress having been made specifically on external drives. There has been some work on using USN to keep track of file changes on Windows, but that doesn't immediately translate into a solution for this. |
+1 was hoping to setup Duplicati to backup local files on the PC as well as files from an external drive when attached, would be nice to have an option skip, not erase, backups with missing files (#2516) |
Isn't it possible to just create two separate backups to the same location, that way when the external HDD isn't plugged in it doesn't stop the main backup? |
Using two backups also allows the backup for the maybe-there-maybe-not drive to test for drive presence and skip if not present. duplicati/Duplicati/Library/Modules/Builtin/run-script-example.sh Lines 19 to 27 in c7f9f8f
|
Environment info
Description
I have a backup with two main directories. One local and one on an external hard drive. The files on the local hard drive are files i'm using right now - and from time to time I archive them on the external hard drive - this means there are a lot of identical files in the two directories.
The issue is that Duplicati only can start a backup when the external hard drive is plugged in, otherwise it simply dismisses the task - though it still can access the local main directory.
Steps to reproduce
Duplicati dismisses the whole backup process.
Duplicati should backup the local directory, even though the external directory is missing.
It would be even better if there was an option to mark external drives - so that a missing main directory, not necessarily would be read as a deleted directory
The text was updated successfully, but these errors were encountered: