FoxMagiskModuleManager icon indicating copy to clipboard operation
FoxMagiskModuleManager copied to clipboard

Add Backup / Restore feature

Open InnerCato opened this issue 3 years ago • 14 comments

If you switch a phone or factory reset you have to reinstall all modules manually but if we could backup we could just restore a file and it would install all the backed up files automatically.

InnerCato avatar Feb 05 '22 07:02 InnerCato

Yeah, will not be in 0.3.0 but could be an interesting feature, doing things like module-packs. But please note that it will require to re-download all installed modules to do the packing, as the installed state of module can be incompatible across versions, compared to the zip state of a module.

Fox2Code avatar Feb 05 '22 12:02 Fox2Code

It also will not work for all modules.

Fox2Code avatar Feb 05 '22 12:02 Fox2Code

That sounds like a good idea!

InnerCato avatar Feb 05 '22 13:02 InnerCato

Why did you closed your issue? You are only supposed to close it if you are no longer interested by that feature. Please re-open it if you are still interested.

Fox2Code avatar Feb 05 '22 21:02 Fox2Code

I am interested in this being added

InnerCato avatar Feb 06 '22 06:02 InnerCato

Yeah, will not be in 0.3.0 but could be an interesting feature, doing things like module-packs. But please note that it will require to re-download all installed modules to do the packing, as the installed state of module can be incompatible across versions, compared to the zip state of a module.

You could backup links to all modules (if they have one) to a file and restore using that.

CodeWithShreyans avatar Jun 11 '22 02:06 CodeWithShreyans

It also will not work for all modules.

Injected modules get automatic restored, Like HuskyDG Bootloopsaver and my own A70 Overlay.

DerGoogler avatar Jul 19 '22 00:07 DerGoogler

This is a bad idea on many levels - some modules are device specific, install scripts often are very involved, etc.

At most a list of modules maybe, but again - this sounds like a lot of work outside the scope of FoxMMM for the problems it could cause

androidacy-user avatar Jul 20 '22 20:07 androidacy-user

This is a bad idea on many levels - some modules are device specific, install scripts often are very involved, etc.

At most a list of modules maybe, but again - this sounds like a lot of work outside the scope of FoxMMM for the problems it could cause

Just add option to export modules as links or something.

DerGoogler avatar Jul 21 '22 00:07 DerGoogler

The idea is to backup module list, and restore it via repo download.

Fox2Code avatar Jul 21 '22 12:07 Fox2Code

The idea is to backup module list, and restore it via repo download.

Downloaded at once and Installed at once? That can be dangerous... because some modules can have conflicts

DerGoogler avatar Jul 26 '22 10:07 DerGoogler

This would be such an awesome feature!

wefalltomorrow avatar Aug 08 '22 10:08 wefalltomorrow

This isn't currently planned, nor in a lot of cases feasible. Closing.

androidacy-user avatar Aug 12 '22 13:08 androidacy-user

Even if it's not currently planed and not easy to do doesn't mean it has to be closed.

Fox2Code avatar Aug 13 '22 08:08 Fox2Code

You could add check boxes for the modules to be reinstalled from the backup saved, and if you prefer, restore them in small batches after rebooting and testing. I def see some value in not needing to remember everything installed. It would also be useful to have a way of tracking and saving manually downloaded module links https://github.com/Fox2Code/FoxMagiskModuleManager/issues/282

raulvasquez avatar Feb 01 '23 13:02 raulvasquez

Was this completed?

wefalltomorrow avatar May 04 '23 01:05 wefalltomorrow