Coder Social home page Coder Social logo

Comments (6)

vsespb avatar vsespb commented on August 22, 2024

Hi. Did you read "MUST READ" section? https://github.com/vsespb/mt-aws-glacier#warnings--must-read-

from mt-aws-glacier.

PaoloRipa avatar PaoloRipa commented on August 22, 2024

Hello,
I did and I set the leaf-optimisation to 0. Still I can't understand what I am doing wrong.
Those files and dirs are not zero sized/empty, that's for sure...
A hint would be appreciated :-)

Cheers.

from mt-aws-glacier.

vsespb avatar vsespb commented on August 22, 2024

hm, then it's me who did not read the issue description)

I see --dir for check-local-hash and sync are different. try set same? also try run sync with --dry-run and see output which files it uploads which skips?

and use leaf-optimisation=0 when check-local-hash also!

from mt-aws-glacier.

PaoloRipa avatar PaoloRipa commented on August 22, 2024

Hello again and thanks for your support.
So, check-local-hash - apparently - does not support leaf-optimisation flag:
mtglacier check-local-hash --config /home/oper/glacier.d/mtAwsGlacier.conf --dir /mnt/paolo --journal /home/oper/glacier.d/glacierJournal/testVault_journal.log --leaf-optimization 0
MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/ Version 1.120

ERROR: Unexpected option "--leaf-optimization"

I tested again the check-local-hash with the correct directory (silly of me, sorry!):
mtglacier check-local-hash --config /home/oper/glacier.d/mtAwsGlacier.conf --dir /mnt/paolo --journal /home/oper/glacier.d/glacierJournal/testVault_journal.log
MT-AWS-Glacier, Copyright 2012-2014 Victor Efimov http://mt-aws.com/ Version 1.120

...
TOTALS:
9 OK
0 MODIFICATION TIME MISSMATCHES
0 TREEHASH MISSMATCH
0 SIZE MISSMATCH
0 ZERO SIZE
0 MISSED
0 ERRORS
OK DONE

Weird thing is I see only 9 files and none MISSED, but when I do the dry run and grep the output for "Skip":

mtglacier sync --config /home/oper/glacier.d/mtAwsGlacier.conf --dir /mnt/paolo --vault paoloBkp --journal /home/oper/glacier.d/glacierJournal/paoloBkp_journal.log --concurrency 10 --leaf-optimization=0 --dry-run | grep Skip | wc -l
5683

Almost 6000 items are skipped.

from mt-aws-glacier.

vsespb avatar vsespb commented on August 22, 2024

ok, indeed check-local-hash does not accept leaf-optimization as it does not traverse dir.

  1. i see in above output "journal" are different: /home/oper/glacier.d/glacierJournal/paoloBkp_journal.log and /home/oper/glacier.d/glacierJournal/testVault_journal.log

  2. try wc -l journalfile

from mt-aws-glacier.

PaoloRipa avatar PaoloRipa commented on August 22, 2024

I need to get coffee before testing and stop relying on bash aliases for long command.
I was using a wrong journal, as you pointed out, from an old test.
When I use the proper journal, I can see all items have been synced to my vault.
Many apologies for wasting your time, Victor.

Thanks so much for your help and for writing this great piece of software, man!!!

Ciao.
Paolo

from mt-aws-glacier.

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.