Coder Social home page Coder Social logo

Comments (7)

gpatel-fr avatar gpatel-fr commented on May 27, 2024

Hello

the cleanup operation still exists under the name 'repair', unfortunately this is not the same kind of files; repair handles remote files (Duplicati backup files), while the problem here is with local files (your files, as they are known in the local database). As far as I know, the only way to repair it is to recreate the database.

Can you try to switch to current Duplicati (Canary), especially if your backup is of decent size (>100 GB), to rename the current database and run recreate ?

If something goes wrong with the recreate, you can still restore the previous database (something you should never do in normal operation, but in the case of recreating the database it can be done).

from duplicati.

andrew521 avatar andrew521 commented on May 27, 2024

ok, I did a database recreate. running purge again:

Input command: purge
Input arguments:
        file://G:\.......
        E:\Data\Invest\data\ledger\ldg_j

Input options:
backup-name: 
dbpath: 
encryption-module: aes
compression-module: zip
dblock-size: 100MB
passphrase: 
prefix: 
no-auto-compact: true
profile-all-database-queries: true
log-file-log-level: error
auto-cleanup: true
disable-module: console-password-input
dry-run:
debug-output: true

and this is what I'm getting:

  Listing remote folder ...

Duplicati.Library.Interface.UserInformationException: Refusing to purge 0 files from fileset with ID 1718, as that would remove the entire fileset.
To delete a fileset, use the "delete" command.
   at Duplicati.Library.Main.Database.LocalPurgeDatabase.TemporaryFileset.PostFilterChecks()
   at Duplicati.Library.Main.Database.LocalPurgeDatabase.TemporaryFileset.ApplyFilter(IFilter filter)
   at Duplicati.Library.Main.Operation.PurgeFilesHandler.DoRun(LocalPurgeDatabase db, IFilter filter, Action`3 filtercommand, Single pgoffset, Single pgspan)
   at Duplicati.Library.Main.Operation.PurgeFilesHandler.Run(IFilter filter)
   at Duplicati.Library.Main.Controller.RunAction[T](T result, String[]& paths, IFilter& filter, Action`1 method)
   at Duplicati.Library.Main.Controller.PurgeFiles(IFilter filter)
   at Duplicati.CommandLine.Commands.PurgeFiles(TextWriter outwriter, Action`1 setup, List`1 args, Dictionary`2 options, IFilter filter)
   at Duplicati.CommandLine.Program.ParseCommandLine(TextWriter outwriter, Action`1 setup, Boolean& verboseErrors, String[] args)
   at Duplicati.CommandLine.Program.RunCommandLine(TextWriter outwriter, TextWriter errwriter, Action`1 setup, String[] args)

from duplicati.

gpatel-fr avatar gpatel-fr commented on May 27, 2024

Has the database recreation gone well ? that is, can you open the restore command and see the same versions you did see before ?

from duplicati.

andrew521 avatar andrew521 commented on May 27, 2024

actually yes. the database recreation went well and the purge was successful after that. shall I close the ticket or live it open as someone might look into a way to actually identify orphan file(s) in the error message.

from duplicati.

gpatel-fr avatar gpatel-fr commented on May 27, 2024

Sorry, I don't understand what you say by 'the purge was successful' while you posted an error message in #5078 (comment)
What did you do to solve this error message ?

from duplicati.

github-actions avatar github-actions commented on May 27, 2024

This issue is stale because it has been open for 15 days with no activity.

from duplicati.

github-actions avatar github-actions commented on May 27, 2024

This issue was closed because it has been inactive for 15 days since being marked as stale.

from duplicati.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.