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

Add page on how to back up & restore all partitions #25

Open
ZimbiX opened this issue May 25, 2023 · 1 comment
Open

Add page on how to back up & restore all partitions #25

ZimbiX opened this issue May 25, 2023 · 1 comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ZimbiX
Copy link
Member

ZimbiX commented May 25, 2023

I know a full backup of all partitions can be made with MTKClient using mtk rl <dir>. This took about an hour for me, reading the 128 GB at ~35 MB/s (note that writing to your disk must be faster than this, or you'll run out of RAM and the process will probably be OOMKilled - as happened to me originally when trying to back up to a remote server on a 5 MB/s uplink). Afterwards, I gzip'd the massive mostly-empty userdata partition, which took it down from 112 GB to 36 GB.

I haven't tried restoring yet - that might actually simply be a matter of mtk wl <dir>.

Edit: Issue for speed problem: bkerler/mtkclient#710

@shymega
Copy link
Collaborator

shymega commented May 29, 2023

Yes, this would be a good page to have.

@shymega shymega added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants