Automate backup with TC

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Automate backup with TC

Post by *wisekat »

I am regularly use TC to backup important files and folders to an external flash and HDD drives. Generally I do the following steps after connecting the required drive to a USB port of my pc:
1) Open TC.
2) Select drive D: in the left pane.
3) Select drive F: (external drive) in the right pane.
4) Mark the folders to backup in the left pane.
5) Click the toolbar button that invokes the Synchronize directories dialog.
6) Click the Compare button to see all the changes since the last backup.
Is there a way to automate these steps?
User avatar
petermad
Power Member
Power Member
Posts: 14818
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Is there a way to automate these steps?
Partly - you can save a specific Synchronization - Click on the little Yellow Folder icon with an asterisk in the upper left corner of the "Synchronize directories" window.

Here you can save and retrieve sync settings including which folders to synchronize.

You can automatically open a saved sync by using the SYNCOPEN command. Here is a button that will open a sync named "Important files":

Code: Select all

TOTALCMD#BAR#DATA
SYNCOPEN Important files

wciconex.dll


0
-1
Just copy the green code here above, right click on TC's buttonbar and choose Paste.

With this you only have to:
1) Open TC
2) Click the button in the buttonbar
3) Start the Compare
4) Start the Synchronization

You can also start the process from commandline:
Path_to_TC\totalcmd64.exe /S=S:"Important files"
or
Path_to_TC\totalcmd64.exe /S=S:="Important files"
to start automatically.

After the compare is done, you have to click the "Synchronize..." button yourself though.
Last edited by petermad on 2017-11-04, 12:52 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Post by *wisekat »

WOW, EXCELLENT!!!

I liked the idea that I can start TC with my saved sync settings directly in the sync mode using a shortcut. Nice! Exactly what I wanted to do - to be in the point where I see the diff between the source and target folders with one click.
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Post by *wisekat »

One more thing related to this sync process. When I click the Synchronize... button, I see this option dialog:

Image: http://i65.tinypic.com/2uze069.png

I always switch the ticks in the two options marked with the red arrows. Is there a way to remember these settings anywhere?
wisekat
Junior Member
Junior Member
Posts: 54
Joined: 2012-03-13, 15:52 UTC

Post by *wisekat »

Ok, perhaps the last question deserves a separate dedicated thread. I asked here.
Post Reply