Crostini backup creates a xxx.tini file. What is the format of this file? Is there a way to view the file list of this file, ideally from within the Chromebook?
What is the format of the crostini backup .tini file?
381 views Asked by CqN At
1
The format does not appear to be documented at the Crostini developer site so the following is based on checking an actual backup experimentally! (If someone finds a link, please add it or comment.)
This is a
tararchive which is compressed withgzipwith structure as follows:/dev/vdbinbtrfsformat) mounted as/in the container is stored under the top-level directoryrootfsin this archive. Note that this includes therootfs/homesub-directory and its contents so be careful what you do with copies of the.tinifile.metadata.yamlfile of which a version is reproduced below.templateswhich contains the fileshosts.tplandhostname.tplwhich are referred to in themetadata.yamlfile. Presumably, this allows for additional templates to be added at a later stage via the metadata file.metadata.yamlcontents: