Config-backup

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply

Backupconf ?

Poll ended at 2013-09-14, 11:44 UTC

Yes indeed ! We need this Fiture ! For Admins and Extended Users in any Case
2
14%
Not so good/ abstention..
0
No votes
Not need ...
12
86%
 
Total votes: 14

User avatar
blacky
Senior Member
Senior Member
Posts: 316
Joined: 2003-02-07, 16:58 UTC
Location: was das/whot's dath ?

Config-backup

Post by *blacky »

Hi,

i had updated my TC by hand, and i had make a fail,
i dont save my high-bred/farmed configurations files and buttons + ftp !!!
Mayby an Button where create an ./backup/ - folder with date and time as subfolder inside of Total Commander Folder.

humm, if was there an Configuration-backup-Button, i had use it..
before i had made an Update by hand !
but there is not Configuration-Backup Button

./conf-backup/30-08-2013_14-34.zip

copy %COMMANDER_PATH%\*.ini %COMMANDER_PATH%/conf-backup/Date_Time.zip/*.ini
copy %COMMANDER_PATH%\*bar %COMMANDER_PATH%/conf-backup/Date_Time.zip/*.bar

and in the Configuration maybe an Button who execute this
befor update or something does with tc.
For have every an possible for recovery the Configuration.

please add an Backup Button. or an Possible to create an Backup-Button

copy %COMMANDER_PATH%\*.ini %COMMANDER_PATH%/conf-backup/Date_Time.zip/*.ini
copy %COMMANDER_PATH%\*bar %COMMANDER_PATH%/conf-backup/Date_Time.zip/*.bar

cm_BackupConfFiles (Internal ^^) Create ./Backupconf/ -Folder and Zipfiles by Date with all used config files inside

best regards
Blacky
Meine Blackysgate.de/net
Ma' Personal licence : already one. Hab auch eine
Mein Computer : Einer/once ??? bahh, Rz/Data Centre !
Kitchen, Liv.room, TV, Schlafz.. Sch...
BS/OS: Win3.1/7, Fedora a. other, Reactos
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

You can write any batch that will backup your configuration files and start it when you need it. You may backup all files that you wish (main ini, bars, plugins ini etc).

Different users have own placement of backup files so it is impossible to make generic backup that will work always.
User avatar
blacky
Senior Member
Senior Member
Posts: 316
Joined: 2003-02-07, 16:58 UTC
Location: was das/whot's dath ?

Post by *blacky »

MVV wrote:You can write any batch that will backup your configuration files and start it when you need it. You may backup all files that you wish (main ini, bars, plugins ini etc).

Different users have own placement of backup files so it is impossible to make generic backup that will work always.
so it is need an backup possibility, indeed, for not need to create batch.

My Total Commader it is in
\\Linuxserver\Windows\Portable\TotalCommand\
and over unc-path dont works batch-Files bat/cmd files or someting ..
therefore it is need an internal command in Totalcmd.

Only because it create some own batchfiles or something therefor,
they thinking others, others dont need not some possible.
The poll was an fault, because, some other think only for self :\

"i be a Poweruser, i dont need this.. others.. bahh they dont need it also.."
humm.. and over network.. you are maybe be Powerusers.. but work not directly over Network.. ? You need it ever to hang it in over an Drive ?
bahh Power user..

best regards
Blacky
Last edited by blacky on 2013-08-30, 13:57 UTC, edited 1 time in total.
Meine Blackysgate.de/net
Ma' Personal licence : already one. Hab auch eine
Mein Computer : Einer/once ??? bahh, Rz/Data Centre !
Kitchen, Liv.room, TV, Schlafz.. Sch...
BS/OS: Win3.1/7, Fedora a. other, Reactos
User avatar
Dalai
Power Member
Power Member
Posts: 10024
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

blacky wrote:My Total Commaonser it is in
\\Linuxserver\Windows\Portable\TotalCommand\
and over unc-path dont works batch-Files bat/cmd files or someting ..
therefore it is need an internal command in Totalcmd.
Batch files work on UNC paths, too, of course. Maybe you need something like

Code: Select all

%~dp0
to set a path relative to your batch file. You can use

Code: Select all

pushd
# and
popd
that will automatically connect your UNC path as network drive (and disconnect it afterwards).

You see, there are many options, none of which need an internal backup command. Just ask if you need any help with the batch commands, syntax and so on. I'm sure I'm not the only one who can assist with that.

MfG Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
blacky
Senior Member
Senior Member
Posts: 316
Joined: 2003-02-07, 16:58 UTC
Location: was das/whot's dath ?

Post by *blacky »

ah a must to hang it in as drive ??
bahh forget it, only because Microsoft wants it to have an f.. Drive ??
bahh.. i don't use this ..
Total Commander is also because microsoft wanted renamed ..

this is exactly the reason why shold be cmd_BackupConf
No Batch need, therefore should be in the Commander !

and by the way, my whole portable Programms and other
files it is not need drives Letters ! Only Kiddy's need an ABC'
The Drive-idea from Microsoft is crap !
And did you see my Member-time ?
i be cince 92 in the Net .. I know why i say what ..
And if anyone come again with F... Batchfiles.. should think
about if he/she be a real Powermember !

best
Blacky
Meine Blackysgate.de/net
Ma' Personal licence : already one. Hab auch eine
Mein Computer : Einer/once ??? bahh, Rz/Data Centre !
Kitchen, Liv.room, TV, Schlafz.. Sch...
BS/OS: Win3.1/7, Fedora a. other, Reactos
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50873
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The installer does not overwrite modified .bar files, and doesn't delete ini files. So these shouldn't be lost unless you uninstall TC and check to remove all settings. Maybe they are still there, but TC just can't find them?
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think he have updated TC manually:
blacky wrote:i had updated my TC by hand, and i had make a fail
User avatar
blacky
Senior Member
Senior Member
Posts: 316
Joined: 2003-02-07, 16:58 UTC
Location: was das/whot's dath ?

Post by *blacky »

Hi Christian :)

yes = (" ich hab damit grumgesuggelt ");
suggel = ("und hab verloren *g*")

backupknopf=(" währe halt echt besser gewesen, wenn ich da n backupknopf gehabt hätte *s*");
no = ("alles noch da") ;

$German = if (yes == 1) {"suggel"}
else backup == 1{ "no" };

$tanlsate_english($German) *g*

ne, ja.. die config files schon, aber die standart bar nich mehr ..
bin in die install.cab reingegangen und rübercopiert .. ich weis,
war n fehler.. *g*

so, for more savety for the configurationsfiles , maybe with path for
backupfiles or some play arounds .. but if it is portable and the admin or
user play around with it, take the case he copy it ever around,
forget if it is close and copy on it or something mistakes,
want it better for have an backup possible. Soll heisen,
wenn man auf einen knopf drücken kann, wärs hald ne saubere sache,
das dann automatisch ein unterverzeichniss generiert mit zipfiles die
dann nach datum und zeit benannt sind nach dem man dann
cm_BackupConf ausgeführt hat.
Vielleicht könnte man in der wincmd,ini noch ein zusätzlichen path
angeben die das backup dann in einem speziellem path ablegt.
Or even in the subfolder of totalcommander

and this is once who it is not there, not need, but it is usable and existand, whant it use 1000 times .. ! i bet with you ..

liebe Grüße
Blacky

wie ich english ... nicht mag *g*
Meine Blackysgate.de/net
Ma' Personal licence : already one. Hab auch eine
Mein Computer : Einer/once ??? bahh, Rz/Data Centre !
Kitchen, Liv.room, TV, Schlafz.. Sch...
BS/OS: Win3.1/7, Fedora a. other, Reactos
Post Reply