Skip to content
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

Warnings repeated during backups prevent completion and log files grow rapidly. #1327

Open
wyylg opened this issue Oct 19, 2024 · 0 comments
Labels
A-cli Area: `rustic` command line interface perf Performance: Tuning issue

Comments

@wyylg
Copy link

wyylg commented Oct 19, 2024

  • error message

    Command output:

    [WARN] ignoring error reading parent snapshot: RusticError(ArchiverError(TreeStackEmpty))
    [WARN] ignoring error reading parent snapshot: RusticError(ArchiverError(TreeStackEmpty))
    [WARN] ignoring error reading parent snapshot: RusticError(ArchiverError(TreeStackEmpty))
    [WARN] ignoring error reading parent snapshot: RusticError(ArchiverError(TreeStackEmpty))
    [WARN] ignoring error reading parent snapshot: RusticError(ArchiverError(TreeStackEmpty))
    ...
    

    Log:

    [WARN] ignoring error: RusticError(Ignore(UnableToOpenFile { file: "C:\\Users\\user\\AppData\\Roaming\\Mozilla\\Firefox\\Profiles\\XXXXXXXX.default-release\\parent.lock", source: Os { code: 32, kind: Uncategorized, message: "Another program is using this file and the process is inaccessible." } }))
    [WARN] ignoring error reading parent snapshot: RusticError(ArchiverError(TreeStackEmpty))
    ...
    
  • environment
    Windows10, rustic v0.9.3

    Partial configurations:

    [[backup.snapshots]]
    sources = [
      'C:\Users\user\AppData\Roaming\Mozilla\Firefox',
      # 'C:\Users\user\AppData\Roaming\rustic',
    ]
    
  • my checks

    I executed the backup command without error before modifying the configuration file, and now I try to troubleshoot the configuration item, and I find that this warning is preceded by another warning in the logs ("UnableToOpenFile"). When I close the Firefox program, the error no longer appears when performing a backup. Not only that, but it seems that other files in use will have this error and the backup cannot be completed.

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Oct 19, 2024
@nardoor nardoor added perf Performance: Tuning issue A-cli Area: `rustic` command line interface and removed S-triage Status: Waiting for a maintainer to triage this issue/PR labels Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-cli Area: `rustic` command line interface perf Performance: Tuning issue
Projects
None yet
Development

No branches or pull requests

2 participants