Page 1 of 1

Can we have "Backup/Restore Configuration" functio

Posted: 2015-02-15, 18:39 UTC
by brahman
Hi,

I was setting up TC Android for some elderly friends, and I was really missing a Backup and Restore function of the different settings and bookmarks.

It would be great if we could have such a function: would make life so much easier on non-rooted devices and setting up TC for friends.

Thanks.

Posted: 2015-12-17, 09:13 UTC
by ghisler(Author)
Just add a button with type "change directory" and command
/data/data/com.ghisler.android.TotalCommander

Then you can go to the settings directory without root and backup it to the SD Card.

On the new device, create a button yourself and restore the data. Using Google's cloud backup may not be such a good idea because of the passwords.

Posted: 2016-01-04, 22:16 UTC
by gwisch
Sorry, just to be on the safe side: That would be the shared_prefs directory?

Posted: 2016-01-07, 09:49 UTC
by ghisler(Author)
Actually "shared_prefs" and "files". The first contains the settings, the second contains the cached icons for the toolbar.

Posted: 2016-01-07, 10:23 UTC
by gwisch
Thanks, got it!

Posted: 2016-02-28, 15:54 UTC
by galiganu
Hi,
Is this saving the settings also for the plugins? Like ftp accounts, lan folders saved, etc.
Thanks!

Posted: 2016-02-29, 10:34 UTC
by ghisler(Author)
No, plugins save their own settings. You need to use a tool like Helium Backup to save them (no root needed).

Thanks!

Posted: 2016-02-29, 13:24 UTC
by galiganu
Thanks for the tip with Helium. Really does the job without root!

Posted: 2016-10-08, 22:00 UTC
by max6
Hi

When i copy e.g. the a.m. shared_prefs folder to the external SD card, all the files are getting tagged with the actual day and time.

This happens actually also with files not originating from the /data/data/com.ghisler.... folder
e.g.
- External SD card to External SD card
- Internal Memory to External SD card
- Internal Memory to Internal Memory

How can I avoid this ? :roll:

Thank you very much !

Posted: 2016-10-09, 09:28 UTC
by ghisler(Author)
You can't avoid it - you can thank Google for that:

This is a very longtime Android bug: It's not possible to set/copy the timestamp of files on Android due to missing permissions of the user to set them. Only the root user is allowed to set/copy the timestamp.

Here are the relevant bug reports in the Android bug tracker:

File setLastModified always returns false
https://code.google.com/p/android/issues/detail?id=1992

setLastModified() always fails on Xoom unless running as root
https://code.google.com/p/android/issues/detail?id=18624

File.setLastModified() always returns false on Samsung Galaxy Nexus
https://code.google.com/p/android/issues/detail?id=25460

Posted: 2017-07-27, 14:09 UTC
by DrShark
ghisler(Author) wrote:Just add a button with type "change directory" and command
/data/data/com.ghisler.android.TotalCommander
It's also possible to add that path to a Bookmark. To do this without previously going to that data/data/... folder using the mentioned CD command button on not-rooted device, user can edit some existing bookmark of some other folder.
ghisler(Author) wrote:... plugins save their own settings. You need to use a tool like Helium Backup to save them (no root needed).]
Since plugins have FS interface, for this task each could have add a virtual folder showing the settings files of own data/data/com.<plugin name> folder. Maybe it's possible to implement a copy from/to such plugin virtual folder and real folder of the device in opposite TC panel?

I also have a question about the location of file help.htm of installed TC4A. I would like to open it with alternative html viewer because built-in Android's has very unconvenient Search function.

Posted: 2017-07-28, 07:35 UTC
by ghisler(Author)
You can extract the help.htm from the apk file. Or view it online here:
https://www.ghisler.com/android.htm

There are links to the various language versions near the top.