Skip to content

Backup/restore more than 100 tar(win) for numerous small files in the data partition on modern devices #417

@IlIllIl

Description

@IlIllIl

Reference:

  • if (archive_count > 99) {
    LOGINFO("Too many archives for thread %i\n", thread_id);
    gui_err("backup_error=Error creating backup.");
    return -4;
    }
  • https://www.coolapk1s.com/feed/49247734
  • On modern Android devices with large storage (512G, 1T, 2T ...) , numerous small files is one of the primary reason that TWRP cannot complete backups with error: Too many archives for thread

Required:

  • Ignore custom subdirectories such as proot distros (termux, anlinux ...), chroot distros (nethunter ...), and emulators (yuzu, skyline, citron ... ) and vms, and back them up separately
  • Increase the volume limit to 999
  • Support breakpoint progress continue operation after the battery is recharged

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions