Personal Backup

© 2001 - , Dr. Jürgen Rathlev
zurück

Frequently asked questions



Compatibility with Windows 7, 8, 10 and 11 and the corresponding server versions

The program runs on 32-bit and 64-bit systems (see more).

Special note on Windows 11: Occasionally, problems are reported when starting the 64-bit version of the program under Windows 11. The cause remains unclear and seems to be limited to early builds of the pre-release version. In this case it is recommended to use the 32-bit version of Personal Backup which does not have this problem.

Installation: Under these operating systems, the rights of an administrator are required. It is recommended to use the executable setup (pb-setup-6.v.xxxx.exe) to install or update Personal Backup. This will ensure that there are no restrictions on running the program.
Basically, the automatic backups on logoff or on shutdown will also work on the above systems (additional notes).
Note: Since Windows 8 the status window showing the backup progress is not visible in this case.


Which version should be used: 32-bit or 64-bit

On a 32-bit system you will definitely need the 32-bit version.
On a 64-bit system you have the choice: both the 32-bit and the 64-bit version will work with just one exception: if Volume Shadow Copies are to be used, the Personal Backup installation must match the system (see more).
If the backup program is to be installed as portable, for example to be run from a USB stick, the 32-bit version is always recommended because of its ability to run on either system (see more).


Anfang Anfang

Compatibility to older Windows versions

Although it has long been recommended that Windows XP and Vista no longer be used, there are still users who work with these operating systems. The current version of Personal Backup is still compatible but has some limitations:

  1. Windows XP and Vista: The program installation can no longer be done with the provided Windows setup. Inno Setup 6.1, used to create the installation file, requires at least Windows 7 (read more).
    In this case users must download the program package as zip archive and then unpack it manually.
  2. Windows XP: As of Personal Backup 5.9.0 the integrated wizard to the Windows Task Scheduler is no longer available (see here).

Anfang

Update to version 6.3

Depending on the version installed, please note the following:

Update from Version 6.0 - 6.2:

Update from Version 5:


Anfang

Moving to a new computer

I am often asked how to transfer the backup settings made once to a new PC as easily as possible. From version 6.3.13, there are Export Import function. This allows to save all program settings, including the settings for automatic backups, and all configured backup tasks into a zip archive, e.g. on a USB stick and to import them from there after installing the program on the new PC.


Anfang

Problems during installation

From time to time it happens that the downloaded program package is classified as malware by individual virus scanners or Windows blocks the installation completely.


How to configure a backup task

Many users do not know which backup settings are best for their purposes. If you are not an experienced user, you should accept the default settings of the program on creating a new backup. Using the wizard for new backup tasks will make this very easy.

Selection of the destination directory

It is recommended that a root directory (e.g. G:\) is never used as the destination directory, but rather an existing subdirectory or a new directory to be created automatically by the program (e.g. G:\Backup). Doing this will avoid the many problems arising from the restricted access permissions specified by Windows for root directories and the system directories (System Volume Information and $recycle.bin) always found there.

Other Settings

Using the default settings, the backup will be carried out in the Update mode using the method Separate files - Separate directories for drives. The original directory structure will be retained beneath the backup directory. Compression of files using the gzip or zip algorithm will save space on the destination drive, but users can deselect this option if they wish prefer to save exact copies of all backed-up files. In addition the files can be encrypted using the AES algorithm.
Using this mode ensures that no files are deleted at the destination (unless you selected the Synchronize option). Only those files will be overwritten that have a newer timestamp at source. In addition, all new files will of course be backed up. In this way the backup directory will always contain the current version of all files from the selected source directory and all its subdirectories.
The integrated Restore function of the program can be used to restore your data.

The modes Full, Differential and Incremental should only be used by experienced users if they want to implement a special backup strategy. In each case the destination directory is cleared before backup. Restore is only possible with a combination of full and differential or full and incremental backups.

Saving to zip archives

There are two options for saving data as zip archives:

  1. As one large zip archive containing all subfolders: the original directory structure is contained within the zip archive.
  2. As separate zip archives for each subfolder: the destination directory structure is an exact copy of the original tree and each subfolder holds a zip archive containing all the files within the original subfolder.

Zipped backup files must always be written anew, so this option is not suited to a daily backup of large amounts of data. It is more appropriate for small amounts of data (e.g. special projects). Many programs (including Windows Explorer) can read and unpack these files. To document the various stages of a project, you can use one of the optional placeholders as part of the filename.


Anfang

Notes on backup modes

There are four different backup modes:

Note:

The Differential and Incremental modes should always be used in combination with a Full backup to perform specific backup strategies. You can find a comprehensive explanation on Wikipedia. A simple example:

  1. On the first day, make a full backup to directory A.
  2. On the n subsequent days, make a differential or incremental backup to directories B, C, etc.
  3. On the next following day the cycle will restart with a full backup.
  4. To restore your data:
    1. Full + differential: restore the last differential backup (e.g. E) and the last full backup (A).
    2. Full + incremental: restore all incremental backups (e.g. E, D, C and B) in reverse order and the last full backup (A).
    Already-restored files must not be overwritten during this.
    Note: The add-on program PbRestore contains a function for restoring files from such a backup scheme.

On an automatic backup you can run program controlled schedules of this kind.


Anfang

Protecting the backup from malware (Ransomware)

For some time, over and over again items are published reporting malware (so-called Ransomware) that maliciously encrypts a user's data and demands a ransom in return for the decryption key. Unfortunately a simple backup is not capable of preventing such attacks because it too can be maliciously encrypted and hence cannot be used to restore the data.

I have compiled some tips on how to protect a backup created by Personal Backup (see here).


Anfang

Synchronizing folders

The question is often asked whether you can also synchronize folders with Personal Backup. However, as the name suggests, the program is a data backup program, which in principle prohibits the deletion of data. This is therefore only available in the program as an additional function that must be explicitly selected by the user. If synchronization is activated, all files in the backup directory that no longer exist on the source side are deleted. It should therefore always be used with caution (more infiormation).
If you want to protect yourself against the accidental deletion of files, you have two options:

Another option is to switch off synchronization completely during the backup and instead clean up the backup directory from time to time. The program has its own function for this purpose, which also enables synchronization with a source directory. Before deleting, all affected files are displayed for examination and can also be selected/deselected individually..


Anfang

Backup tasks cannot be saved

If suddenly a backup task cannot be saved anymore (Error message: Error saving task ...), in most cases the reason is an installed program for malware detection. Known programs are Bitdefender Security and the Windows Defender (since the Fall Creators Update). To prevent the user from possible injuries by ransomware, all programs without a digital signature (Personal Backup belongs to this group because it is provided as freeware) will not be allowed to write to particular folders (such as the user's documents folder). As workaround, the user can define exceptions for applications he will trust. How to do this in Windows Defender, is described here


Anfang

Does the program support volume shadow copies?

Since version 5.7 Personal Backup supports the possibility of using Volume Shadow Copies (VSS) for backup. To use this option, the following conditions have to be fulfilled:

An application for this function is for example the backup of the user-specific registry files (ntuser.dat in the AppData directory of the users).

Note: The internal restore function of the program does not at present support this procedure. To restore system files, you need to boot e.g. from a CD with Windows PE to ensure that the installed system is not running.
It does not make sense to use Volume Shadow Copies with Personal Backup for a complete system backup (see the following section).


Anfang

Is the program capable of backing up system data?

The intended purpose of the program is to backup personal data such as documents, spreadsheets, images, etc., the loss of which can have a serious impact since the data is either impossible to recreate or can be achieved only after extremely time-consuming labor.

On the other hand, the operating system and applications in use can always be reinstalled from their original sources and while this will take some time, it is at least possible (the better way for fast recovery is to use an imaging tool, see below). In addition, it is recommended you store the personal data not on the system drive C: (as provided for by Windows) but on a different partition on a separate drive. (further information).

Saving this data with Personal Backup does not make sense because a restore will not produce a runnable system. Moreover a daily backup of the system is not necessary (in contrast to personal data). The fastest way to recover after a system crash is to restore the whole partition previously saved with an imaging tool. This should be done from time to time, e.g. after a system update or the installation of a major piece of software. Apart from some commercial programs, freeware versions for personal use are available from
Paragon: Backup & Recovery Free Edition and Macrium: Macrium Reflect 7 Free Edition

Since Windows XP the possibility of using Volume Shadow Copies is available under NTFS to back up even locked files directly. How this can be applied with Personal Backup is described here.


Anfang

Which directories should be backed up without fail?

As described before, the intended purpose of the program is to backup personal data such as documents, spreadsheets, images, etc. The question is which directories should be selected for backup. It is generally not advisable to back up entire drives, as there are some system directories in the root directory of each drive (e.g. System Volume Information and $recycle.bin) that can only be accessed to a limited extent or not at all. These must then be explicitly excluded in the backup task. It is better to select only the directories that contain personal data from the outset. The wizard for creating a new backup task gives a preselection of the most important directories. Some additional information can be found in the following summary:

Default user directories   Windows 7, 8, 10, 11 location
  Documents   C:\Users\<username>\Documents\
  This directory should be backed up in all cases.
  Music   C:\Users\<username>\Music\
  Pictures   C:\Users\<username>\Pictures\
  Videos   C:\Users\<username>\Videos\
  These directories should be backed up if the user has stored files at these locations.
  Downloads   C:\Users\<username>\Downloads\
  Backing up this directory is not essential because the files stored at this location can be downloaded again at any time.
  Application Data   C:\Users\<username>\AppData\Roaming\
  This directory should be included in the back up in all cases. Many applications, such as Firefox, Thunderbird, Personal Backup, store their settings and data at this location.
Note: Whether all subdirectories must be backed up in the process, must be decided on a case-by-case basis. Unnecessary ones can be deselected individually in the backup settings
  Local Settings   C:\Users\<username>\AppData\Local\
  It is not necessary to backup this directory because mainly temporary files are stored here. The only exception is if an older Outlook version (until 2010) or a newer as an upate of this is in use. In this case, you should backup the folder C:\Users\<username>\AppData\Local\Microsoft\Outlook\.
Note: Since Outlook 2013 the mail data are located in C:\users\<username>\Documents\Outlook Files
Other directories    
  Program Data   C:\ProgramData\
  It is essential to backup only those subdirectories used to store important data belonging to applications such as StarMoney.

In addition, every user should carefully check whether important data is still stored in other places. Unfortunately, depending on the installed applications, this is not always consistent and sometimes difficult to find.


Anfang

Specifics of backing up TrueCrypt and VeraCrypt containers

Although the following notes refer to backing up VeraCrypt containers they can be applied also to TrueCrypt of which VeraCrypt is a fork. Development of TrueCrypt was discontinued in 2014 but extensive compatibilities and similarities exist between the two programs.


Anfang

Backing up data from a Smartphone (Android)

After connecting a smartphone using the Android operating system to your PC via USB you can access its files using Windows Explorer, but backing up these files using programs such as Personal Backup is not possible. The reason for this is that the Media Transport Protocol (MTP) used to connect the smartphone is only integrated within the Windows Shell used by Explorer. Devices connected in this way are not integrated into the Windows file system so that programs like Personal Backup cannot access them.
There are the following ways to overcome this problem:

  1. Backup using the Add-on DeviceBackup from the Personal Backup package
  2. Mapping an MTP device to a drive letter: This would require the installation of the additional program MtpDrive which is not free of charge.
  3. Connection using WebDAV: The WebDAV server app can be installed on your smartphone to establish a network connection used for file transfer. Please read this detailed description for further information.

An article on MTP is available at Wikipedia.


Anfang

Backups to external drives (USB flash drives and HDDs)

When using such drives it can happen that the system does not always assign the same drive letter. To backup data always to the same medium independently of the drive letter, you can use the volume name of the removable media (:<volumename>:) instead. Go to Windows Start, Computer or Workplace, right click on the drive and select Properties to define or view the volume name.
Example:

Assign the name Backup-1 to the external drive.
Enter :Backup-1:\Backup instead of K:\Backup in Personal Backup

Disconnect drive

To disconnect the external drive automatically after backup, use the "External programs" function to start a small batch file which calls the utility program RemoveDrive.

Sample script:
  rem remove external drive (RemoveDrive.bat)
  RemoveDrive "Backup-1"
  

Anfang

Start a backup when the computer wakes up

If a data backup is to be started automatically every time the computer wakes up from standby or hibernate mode, this can be set up using Windows Task Scheduler. The easiest way to do this is to select the backup task to be executed in the Control Panel of the program and click on the Task Scheduler button at the bottom center. For the newly created task, select the option On waking up the computer under Schedule.
Important note: If the program is running on a notebook, the option Start the task only if the computer is on AC power must be deactivated in the Advanced settings if the backup is also to be started in battery mode.


Anfang

How to use network resources

The destination directory may be located on any network device or computer. There are various ways to connect:


Anfang

Issue on selecting a network resource as destination directory

Since Windows 10 version 1709 the SMB 1.0/CIFS support is no longer installed by default. As a result of this, all network resources bound as SMB 1.0 (for example on several older servers and NAS systems) are not displayed when selecting a backup destination. To reactivate this function do the following:
Control Panel -> Programs and features -> Turn Windows features on ...
Check the option:
SMB 1.0/CIFS File Sharing Support -> SMB 1.0/CIFS client
After restarting Windows, network paths should be displayed again (more information).

If even newer Windows servers that support SMB 2/3 are not displayed in the network environment, the required services are not active there. You have to log on to the server as an administrator and open the Services-Administration. There you can change the settings for the two services Function Discovery Provider Host and Function Discovery Resource Publication) to Automatic (Delayed Start) and start the services - if necessary (more information).


Anfang

Specifics of backing up files to FTP servers

Before backing up files to an FTP server, you should be aware of the following:


Anfang

Connection dropouts during backup via FTP

Firewall configuration

During backups to an FTP server using a secure connection (FTPS) in passive mode, sometimes unexpected connection dropouts will happen. The reason is very often a misconfigured Windows firewall. To fix this, enter the following command line as administrator in the Windows prompt:

    netsh advfirewall set global statefulftp disable
  
You will find more information about this issue at StackExchange

Copying large files

With some FTP servers or firewalls, it can happen that during a lengthy data transfer, e.g. when copying a large file, the FTP control channel will be closed due to inactivity and the connection is thus terminated. To prevent from this issue, enable the option in the Advanced FTP settings to let the system periodically send a small keep-alive data packet (More information).


Anfang

Timeout on copying files

Since Version 5.0.5, a monitor has been incorporated to prevent the program from hanging (e.g. if the network connection is lost). If while copying files there is no response for a certain time (default: 30s) of processing a data block (default: 4 MB), the copying of the file will be aborted. The timeout is adjustable for each task in More options ⇒ Miscellaneous. Setting it to zero disables monitoring.
The preset time is chosen so long that this problem normally never occurs. However, if this is the case more often, you should get to the bottom of it. Possible causes are, for example, faulty network connections, a defective hard disk or, in the case of USB drives, drivers that are not functioning correctly or an inadequate power supply. Sometimes it is also due to an incorrect setting for Microsoft OneDrive (see here).


Anfang

Problems while backing up files from Microsoft OneDrive (SkyDrive)

When backing up files located on a Microsoft OneDrive server, it is necessary to disable the Files On-demand option. Otherwise the files will not be mounted to the local file system and thus not found during backup (further information).


Anfang

Problems while backing up files to NAS systems

While backing up files, also their attributes (such as read only or hidden) will be backed up to the original values at the destination. Doing this anew on every backup even for files that have not changed (see the warnings in the backup lo), indicates that attribute setting is not working at the destination. Very often, this is the case on NAS systems because most of them use Linux internally and Linux does not support Windows file attributes natively. This function must therefore be emulated: some systems offer an appropriate setting. If your NAS does not support this, you can disable the copying of attributes during backup (see more).


Anfang

Warning in log file: Timestamp could not be set

After a file has been successfully copied, its timestamp (date and time of last change) will be set to the value of the original file. If this does not happen, a warning will appear in the log file. This is only an indication of a problem, in that the actual backup of the file nevertheless occurred.
When backing up to a local or Windows network drive, this warning points to a problem in the destination directory (e.g. lack of administration rights) that should be investigated. Should this warning appear when backing up via FTP, the cause will probably be due to the fact that some FTP servers in principle offer no way to set the timestamp. In this case the warning can be ignored.


Anfang

Backups on logoff or shutdown

There are several methods to start a backup on logoff:


Anfang

Windows 10 (1903): no shutdown after backup

After updating to Windows 10 (1903), an issue has arisen affecting a backup to be performed on shutdown. The backup starts and the appropriate message is displayed on the screen. One minute later Windows enables the lock screen. The backup continues in an orderly manner until its end but the computer will not be shut down automatically afterwards. The user must unlock the screen and initiate the shutdown manually again.
This behavior is due to changes in the Windows system, but despite an intensive search (e.g. registry and group policies), I could not find a way how to disable the automatic lock screen. Perhaps there is a new not-yet-documented Windows setting.

Resolving the problem

You must select the option Power off in the Program Preferences. The option Allow hybrid sleep will not work.
Important note: All users, already using this setting, but made this with a former version of Personal Backup, must open the Preferences dialog once and close it using the OK button. This will perform the modification required for current Windows 10 (requires Version 6).

Alternative workarounds:

  1. Enable the security option Lock computer during backups on logoff/shutdown in the Program Preferences ⇒ Shutdown. Thereafter, the shutdown will work as usual.
  2. Start the backups intended to be run on shutdown by right-clicking the icon in the Windows notification area.
  3. Start the intended backups with subsequent shutdown via a Desktop shortcut configured in an appropriate way.

Anfang

The backup does not start on logoff or shutdown

If the backup does not start or is canceled by the system when logging off or shutting down the computer, the reason is usually an incorrect Windows setting. The registry key HKEY_CURRENT_USER\Control Panel\Desktop\AutoEndTasks determines whether running processes end automatically or not (see the information from Microsoft). This value must be "0" to allow a backup. If this value does not exist, it must be created manually: search for HKEY_CURRENT_USER\Control Panel\Desktop and right-click on the right window to create a new string value AutoEndTasks and then set the value by double-clicking to "0".
If the program XP-Antispy is installed, the value can also be changed from there: switch off the option Activate fast shutdown.
Another possible reason can be an installed System Optimizer like Norton Utilities 16.

More information: A more detailed description will be found in the program documentation.


Anfang

External programs are not executed

If a backup is started on logoff or shutdown using the Auto Backup function, it is often not possible to execute external programs. The reason is probably that at this point the Windows system is already in shutdown mode (shaded screen) and preventing the start of any program. If the error code "66" is reported this means that the system error code 0xc0000142 (The application was unable to start correctly) was returned.
However one of the following workarounds can be used:

  1. Create a Desktop shortcut to Personal Backup to start one or several tasks and select Power-off for example as a subsequent action. If now the computer has to be shut down, double-click the desktop icon instead of using the Windows Shut down function from the start menu.
  2. Configure the automatic backups to be started on logoff or shutdown in the usual way and minimize the program window. Personal Backup is now running in the background and a small icon is shown in the Windows notification area. If you want to logoff or shutdown the computer, right-click this icon and select the desired option Logoff or Shutdown with Backup from the context menu instead of using the Windows Shut down function from the start menu.


Anfang

The PC does not perform a restart after backup

When performing a backup on shutting the computer down, it may be that the PC does not restart or does no power off.
The reason is that the Windows API function that notifies all programs before shut down (See "WM_QUERYENDSESSION" in Windows SDK) says nothing about the intended action (shut down or restart).
In this case you should not use the Windows start button to restart, but instead the functions in the context menu called by right-clicking the icon in the Windows notification area.
To tell Personal Backup permanently what to do after backing up, select this in the main menu Preferences ⇒ Shutdown.


Anfang

Backup and hibernate mode

If you wish to switch to hibernate mode instead of logging off or shutting down the computer (see here) but wish to initiate a backup immediately beforehand, you can achieve this as follows:
Create a Desktop shortcut to Personal Backup to start one or several tasks and select Hibernate as the subsequent action. Configuring of automatic backups is not required in this case.
Now, when you wish to switch the computer to hibernate mode, double-click the desktop icon. First, the backups will start and then the computer will subsequently hibernate.


Anfang

Editing a backup task starts slowly because at first, directories are scanned

On starting the program, the first directory of a backup task will normally be scanned for new files. If for example this is a whole partition, it can take a very long time.
There are two ways to get around this:

  1. Instead of having one large directory in the backup task, you can enter all its subdirectories and move the smallest to the top. Consequently, while you will have a little more work to do during configuration, at the same time you will have more opportunity to filter certain file types, individual files and directories out of the backup task, because such settings are selected separately for each directory in the task.
  2. You can disable the scanning of directories on starting in the main menu under Preferences ⇒ Program start ⇒ Scan directories. This will then be carried out only after clicking on one of the directories to be backed up.

Anfang

The program does not launch

After double-clicking the program's Desktop icon or the file PersBackup.exe in Windows Explorer nothing happens or a security warning is displayed. The reason for this issue may be found in the Windows security settings. To check, right-click the exe file in Windows Explorer and select Properties. If a Security section in the lower part of the window is displayed indicating "This file came from another computer and might be blocked to help protect this computer", you must click on Unblock to overcome this restriction. Thereafter, you should be able to start Personal Backup as usual.
Background information: When downloading a file, e.g. from the Internet, Windows stores security information (a Zone identifier) specifying from which security zone the file came. This information is stored as an Alternate data stream (only available under NTFS).


Anfang

The program window is not displayed after start

Sometimes it happens that the program window is not displayed after start. Only the taskbar symbol appears in which also after clicking this symbol the main window will remain unvisible. A possible reason for this issue can be a position outside the screen caused by an accidental mouse move.
When this issue arises, first of all you have to terminate the program, in case of need using the Windows Task Manager. Then you can try to start the program from the command prompt using the option /reset (see here).
If this does not work, you should delete or rename the ini file (see here). Thereby however all settings for automatic tasks will be lost and must be entered manually afterwards.


Anfang

The program does not start automatically on logon

If at least one automatic task (time-triggered or on logon/logoff) is active, the program adds a shortcut to the startup folder of the Windows start menu to be started automatically on next user logon. If this no longer works, the cause is often a third-party program installed by the user for monitoring or optimization (e.g. Ccleaner or Norton Utilities) that disables entries in the Startup folder without being asked. You can check this using the Windows Task Manager. Go to the Startup page and select the Personal Backup entry. Clicking the button at the lower right will activate the automatic start again. It is possible that an additional setting must be made in the third-party program, so that the automatic start is not deactivated again from there.


Anfang

Problems sending mail

Since the changeover of Exchange and Outlook to the new authentication procedure OAUTH2, sending mail no longer works because the routines used in the program from the OpenSource project Indy10 do not yet support this. This problem can be avoided by making the following changes to the Exchange settings:

Message flow settings - Security

Settings in Personal Backup


Anfang

Starting the program from a USB flash drive

It is possible to configure Personal Backup in such a way that it can be started from a USB stick or drive without leaving traces on the host PC. Copy all files from the program directory (usually C:\Program Files\Personal Backup 5) or the downloadable zip archive to a directory on the USB drive (e.g. K:\PersBack) and use the command line option /portable which automatically redirects the ini file for the program settings, as well as the paths for task and log files to the USB stick. The program is then called as follows:

  K:\PersBack\PersBackup.exe /portable
  

For special needs, these settings can also be made individually via the command line. Use the options /ini:[Filename], /taskdir:[Directory] and optional /logdir:[Directory] to start the program. The options set the program to use an ini and cfg file (for default location see here) and a task directory on the USB drive. Filename must contain a full path (e.g. \PersBack\pb.ini or K:\PersBack\pb.ini). Additionally you can specify a special directory for the log files. Otherwise the logs will be written to the directory where the ini file is located.

Then, using a text editor, create a batch file (e.g. startpb.cmd) in the root directory of the USB drive (e.g. K:\) with the following lines:

   @echo off
   echo Start Personal Backup from USB flash drive
   start PersBack\PersBackup.exe /ini:%%progpath%%\pb.ini /taskdir:%%progpath%%\ /logdir:%%progpath%%\logs

The task files and the ini file created by the program all are located in the directory K:\PersBack as specified by the placeholder %progpath%).
Start the program from the USB drive using this batch file and configure and save your backup task. To use a backup target directory on the USB drive itself, omit the the drive letter from the destination path (e.g. \Backup) or use the volume name of the USB drive (see here). The latter will also work if the destination path is on another external drive. In doing so, you avoid problems arising from assigning different drive letters by the system.


Anfang

Start a backup automatically when a USB medium is connected

There is a simple way to start a backup automatically immediately after a USB medium is connected to the computer. For this you need the program AutoRunner. The exact procedure is described here.


Anfang

Notes on using Windows Task Scheduler

Since Windows 7, there has been a new version of the Task Scheduler. In addition to the features of the former version some new options became available, such as running a backup after a missed scheduled start or the use of user accounts without passwords.
From Personal Backup 5.9 this new version of the Windows Task Scheduler is supported in the integrated wizard. As a result, the wizard is no longer available on systems running Windows XP.
Progress window: If you want to have a progress indicator on the screen after starting a backup from the Task Scheduler, you must select the option Run only when user is logged on under the General tab in the settings for the Task Scheduler. Otherwise the program will not run interactively, which means that any Desktop output is suppressed. You will find more information about this at Microsoft Technet.
Run task as different user: This user must be member of the Windows group Backup Operators with the right to Log on as a batch job (more information from Microsoft).


Anfang

How the file compression works

For backing up as separate files, by default, compression using the zip algorithm (zip extension) is used by the program. Alternatively, the the gzip algorithm (see RFC1952) can be selected for compression (gz extension). Both methods are compatible with all standard archive programs (e.g. WinZip and 7Zip, more details). But only zip archives can be opened with native Windows tools, like Windows explorer.
Many file formats (such as PDF, MP3 and JPG) are themselves compressed. Further compressing these files saves no disk space but costs more time. For this reason such file types can be excluded from compression. By default, the following file types will not be compressed:
7z,ace,arc,arj,bz2,cab,docx,gif,gz,gze,jpeg,jpg,lha,lzh,mp3,mp4,mpg, odg,odp,ods,odt,otp,ots,ott,pdf,png,pptx,rar,xlsx,zip,zipx
This list can be edited by the user for his own requirements.


Logoff script

This problem can be avoided by not using the integrated function Backup on logoff, but instead using a logoff (or shutdown) script. Create the following script and set the Windows policy for logoff (administrator rights are required):

  1. Create script file:
    1. Open Notepad or any other text editor.
    2. Insert this line:
      "%programfiles%\Personal Backup 5\PersBackup.exe" /force /hide <Backuptask>
      <Backuptask> is the full path of the configured backup task to be performed on logoff.
    3. If you have other backup tasks to do, add similar lines. Store the text file as LogOff.cmd in the folder
      C:\WINDOWS\system32\GroupPolicy\User\Scripts\Logoff\.
  2. Start ⇒ Run and start the Group Policy Editor gpedit.msc (not available in all Windows versions)
  3. Expand the tree:
    Policies for Local Computer ⇒ User Configuration ⇒ Windows Settings
  4. At Scripts, double-click Logoff.
  5. Click Add a Script and then the Browse.. button to select the file you just created. Close the window with OK.
  6. Close the group policy editor.

Notes: To use a shutdown script instead, select the section Computer configuration in the Group Policy Editor. This requires at least Personal Backup version 5.2.
If the backup takes a very long time, it may be that it is cancelled by the system (default: 10 min). You can control this behaviour by changing a registry key.


Anfang

How the encryption works

Files are encrypted using the AES algorithm, with the same routines as in WinZip (Info at WinZip and at Brian Gladman). The file format created depends on the backup mode. Further information about this you will find in the program documentation.


Anfang

Unpacking gz and zip archives created on backup

If the backup target is inside a Windows directory (local, external or network) you can use the internal Restore function for unpacking. This works also with encrypted gz files and zip archives.
If you you just want to restore a few single files or directories, use of the additional Program PbRestore (in the Windows start menu under Personal Backup - Restore files) is recommended.
If the backup is on an FTP server, it is not possible to unpack gz files and zip archives directly. You have to copy them first into a local temporary directory using the internal Restore function or any FTP client (e.g. FileZilla). Then you can use the internal Restore function (see above) to unpack them to their final destination.


Anfang

Recovering corrupted zip archives

In a zip archive, first of all the compressed files are saved with a header and checksum in the destination file followed by a directory with pointers the start of each file. See PkWare for more details.

If the directory is corrupted or missing, the zip archive can then no longer be read by many programs, although the data itself may still be intact. Some archive programs (e.g. iZArc) provide tools to repair such files.

To be able at least partially to restore data from corrupted zip archives created with Personal Backup, you can use the following program:


Anfang

Start Personal Backup as a service

The easiest way to start Personal Backup as a service is to use the Windows Task Scheduler. You can configure many different backup tasks to start at different times (e.g. on particular days of the week).
Process the following steps:

  1. Configure and save the backup task using the Personal Backup main window.
  2. Select the Windows Scheduler tab and start the wizard New backup as scheduled task:
    The current backup task will be taken over and the necessary command line options automatically inserted.
  3. Configure the time schedule
  4. Specify the user account with password under which the program is to be run.
Detailed description


Anfang

Settings for an unattended installation

The program is installed using Inno Setup by Jordan Russell. To run an unattended installation, the parameters /silent or /verysilent can be used. If you do not want to start Personal Backup immediately after the installation, add the parameter /norun to the setup command line.


Anfang

Where to find the ini file (program settings) and the log file

All program settings including the configuration of automatic backup tasks are saved in an ini file (Persbackup.ini). This is a text file and can be read with any text editor. Editing this file is, however, not recommended.
The ini file and the standard log file (Persbackup.log) are located in the user's application data directory. You will find this at the following locations:

Note: By default this directory is hidden. To make it visible, change the Windows Explorer setting via Tools ⇒ Folder Options ⇒ View ⇒ Show hidden files and folders.


Anfang

Saving Thunderbird files

Thunderbird (unlike Outlook) is very user-friendly. All files can be backed up even if Thunderbird is running. There is however just one locked file created by Thunderbird on starting (parent.lock) but this is empty and is deleted automatically on closing Thunderbird. The file must not be backed up and should be excluded from backup using an appropriate file filter (All not matching - parent.lock).

The easiest way to save Thunderbird mail data is to use the additional program TbBackup which makes all required settings automatically.


Anfang

Saving Outlook and Skype files

Files used by Outlook and Skype are locked for other applications. Backing up these files requires one of the additional actions described below.


Anfang

"Path too long" error in log file

The Windows API functions used until Version 4 of this program restrict the path length (directory + filename) to 260 characters (see Windows SDK). Even Windows Explorer in XP has this limitation.
Personal Backup version 5 now allows longer paths, because it was built with a Delphi development system which has Unicode support. So it is possible to use the wide-string Windows system functions which allow path lengths up to 32,000 characters.

With Version 4 you can use a workaround using the command "Subst":
Example:
The files to be backed up are located in the directory C:\Dir1\..\Dir2\Dir3\..\Dir4. The whole path (directory + filename) exceeds 260 characters.
To split the path, type at the DOS prompt:

subst X: C:\Dir1\..\Dir2
Now you have a new (virtual) drive X: with the subdirectory Dir3\... Add this to your backup task.
Later you can delete the assignment:
subst X: /d

To automate this procedure, start the following batch files before and after backup using the integrated function to execute external programs: SplitDir.cmd:

rem Split directory path and substitute with drive 
subst X: %1
UnsplitDir.cmd:
rem release substitution
subst X: /d
Execute before Backup:
SplitDir.cmd C:\Dir1\..\Dir2
Execute after Backup:
UnsplitDir.cmd


Anfang

Personal Backup and Windows 98

Personal Backup Version 5 does not work under Windows 98. Users using this operating system must use Version 4.5!