Home
Contents

One-click BackUp for WinRAR manual

Prev Page Next Page
 


OCB help index
Software License Agreement
Buy OCB or WinRAR license
What is One-click BackUp (OCB) for WinRAR and what is its purpose?
Freeware vs. Shareware versions. Registration.
How do I make first-time installation?
How do I get language files or translate OCB into my native language?
What files do I need to back up and how often?
What is a preset? Creating a new preset.
How do I set up a simple preset to test OCB?
General conceptions for everyday use
Using OCB main window
Settings - General tab
Settings - Interface tab
Settings - OCB-BIN tab
Settings - Remote Access tab
Settings - Dialup tab
Settings - Error management tab
Settings - Security tab
Settings - Appearance tab
Preset configuration - saving and loading default settings
Preset configuration - selecting an image for the preset
Preset configuration - General tab
Preset configuration - Actions tab
Preset configuration - File lists tab
Preset configuration - Notes / Comments tab
Duplicating a preset
Renaming a preset
Deleting a preset
Making a Windows shortcut to run a preset
Scheduling a preset
Creating a special preset (Windows Registry backup demo)
Configuring the scheduler
Using Shell Notifier
Advanced commands
Restoring backup files
Using command line parameters to control OCB
Using remote access via Internet or LAN to control OCB

Creating a special preset (Windows Registry backup demo)

You can configure a preset that will back up a dynamically created content (i.e. the files will be created right before packing). To implement this possibility, OCB can run an external program and wait until the program finishes its work. It is also possible to run a batch of executions (.cmd or .bat). The following example shows how to make a fresh version of Registry file and back it up immediately.

Some malicious programs can spoil Windows registry or its parts to make you have some problems with your system. In worst cases you'll have to reinstall Windows. This is not good, so it's better to have a copy of your registry and it's even better to have several daily copies of the registry in case you don't notice a problem just after the registry is changed. This is just a sketch that shows how to create a preset to keep backup copies of the registry for the last seven days (OCB 2.12 pack already has this demo preset preinstalled).

  1. Create a new preset.
    Preset name: "Windows Registry".
    Archive name: "registry". Run program BEFORE preset section:
    Activate: check.
    Type in the first line "regedit.exe".
    Type in the second line "/ea c:\windows\temp\regbkup.reg".

    You should specify an existing temp folder in the previous line.
    Winrar switches section:
    Compression: Best.
    Delete files after archiving: check.

    Recurse subfolders: uncheck.

  2. Go to Actions tab. Set up everything as you need, configure the Cleaner to have 7 last copies of the archive.
  3. Go to File lists tab and click "Edit include list in Notepad", add to the first line:
    c:\windows\temp\regbkup.reg
    Press Ctrl-S, close Notepad.
  4. Press OK - the preset is ready to use.
  5. You can add this preset to the scheduler to execute it every day automatically. You will always have last 7 copies of the registry.

To restore your old registry simply unpack regbkup.reg and doubleclick it. WARNING: by restoring your old registry you rewrite all newer values of registry keys, thus some system and software configuration may become outdated. Do it only when it's clear that the registry was broken and the computer doesn't work properly.

 

SEE ALSO:

What files do I need to back up and how often?
What is a preset? Creating a new preset.
How do I set up a simple preset to test OCB?
Index.