dennisss / acronis-tib Goto Github PK
View Code? Open in Web Editor NEWParser and file reader for Acronis True Image TIB files
License: MIT License
Parser and file reader for Acronis True Image TIB files
License: MIT License
Hi,
I use 11.7 Acronis, and copied the archives to a new vault.
Some archive and backup doesnt have a comment, so I export it to .tib, edit the xml file, and then import it to the new vault. Surprisingly only the newly set archive comment is changed, the backup comment remained as original. It seems that this comment is "hidden" somewhere in the .tib file, so the editing .xml file is uneffective. Exporting mechanism can recreate the xml with the original comments. If your program also can read thease infos from .tib, I wonder could it be possible to midify it in the .tib file somehow? Or does anybody know a solution to change backup comment?
Thanks in advance.
Joe
Hello!
I want to use your paser. Is this project still in progress?
greets
Hello,
first of all: thanks for providing this tool. Can you please describe how to use it?
On Ubuntu Linux i cloned the repo; installed libfuse-dev; installed the node-dependencies with npm install
and i did a npm run build
-> i get compile error in compression.ts
npm run build
> [email protected] build home/blah/acronis-tib/acronis-tib
> tsc --project .
src/compression.ts:43:3 - error TS2322: Type 'Promise<unknown>' is not assignable to type 'Promise<{}>'.
Type 'unknown' is not assignable to type '{}'.
43 promise: p,
~~~~~~~
src/compression.ts:11:77
11 function getInflaterErrorHandler(inflater: zlib.Inflate|zlib.InflateRaw): { promise: Promise<{}>; cleanup: () => void } {
~~~~~~~
The expected type comes from property 'promise' which is declared here on type '{ promise: Promise<{}>; cleanup: () => void; }'
Found 1 error.
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build: `tsc --project .`
npm ERR! Exit status 2
When i try to only run tsc --project .
i get even more compile errors.
tsc --project .
src/compression.ts:27:4 - error TS2794: Expected 1 arguments, but got 0. Did you forget to include 'void' in your type argument to 'Promise'?
27 res();
~~~~~
../../../../usr/local/lib/node_modules/typescript/lib/lib.es2015.promise.d.ts:33:34
33 new <T>(executor: (resolve: (value: T | PromiseLike<T>) => void, reject: (reason?: any) => void) => void): Promise<T>;
~~~~~~~~~~~~~~~~~~~~~~~~~
An argument for 'value' was not provided.
src/compression.ts:43:3 - error TS2322: Type 'Promise<unknown>' is not assignable to type 'Promise<{}>'.
Type 'unknown' is not assignable to type '{}'.
43 promise: p,
~~~~~~~
src/compression.ts:11:77
11 function getInflaterErrorHandler(inflater: zlib.Inflate|zlib.InflateRaw): { promise: Promise<{}>; cleanup: () => void } {
~~~~~~~
The expected type comes from property 'promise' which is declared here on type '{ promise: Promise<{}>; cleanup: () => void; }'
src/compression.ts:110:51 - error TS2345: Argument of type '(value: unknown) => void' is not assignable to parameter of type '() => void'.
110 inflater.flush(zlib.constants.Z_FULL_FLUSH, res);
~~~
src/compression.ts:126:18 - error TS2345: Argument of type '(value: unknown) => void' is not assignable to parameter of type '() => void'.
126 inflater.close(res);
~~~
Found 4 errors.
I tried Node v4.2.6 or 10.19.0 (Ubuntu 16.04 or 20.04)
Any help would be good. Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.