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?
361 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
tar
archive which is compressed withgzip
with structure as follows:/dev/vdb
inbtrfs
format) mounted as/
in the container is stored under the top-level directoryrootfs
in this archive. Note that this includes therootfs/home
sub-directory and its contents so be careful what you do with copies of the.tini
file.metadata.yaml
file of which a version is reproduced below.templates
which contains the fileshosts.tpl
andhostname.tpl
which are referred to in themetadata.yaml
file. Presumably, this allows for additional templates to be added at a later stage via the metadata file.metadata.yaml
contents: