Tools & Utilities

BssBackup

This simple and compact backup application may be suitable for a home users and small business as well. It allows you to setup a backup process, which can store selected content in TAR archives via FTP on a remote server. You can also specify additional actions to be included in process and/or different backup plans for particular directories. And even more: this software is BSD licenced so you can adapt it to your needs any time.

Setup

Configuration

There two main parts, that you have to configure for your backup: Location for backup archives and set of files you want to backup. BssBackup allows you to configure few locations (so called catalogs) so you can keep a daily backups on fast media like the same PC with activated compression on folder and make daily backups on a network server probably with advanced compression, that is more slowly. So let define two catalogs for this purpose.

Catalogs (Backup location)
  <!-- Catalog defines location of backup files -->
  <catalog name="CatalogFastAccess">
    <location path="Z:\BACKUP"/>
    <!-- Hier you have to specify how many archives of particular backup levels should be keept:
      As suggestion: 
      Level 0 - Full backup / anual
      Level 1 - Monthly 
      Level 2 - Weekly
      Level 3 - Daily
    -->
    <retention level="3" quantity="14"/>
  </catalog>

  <!-- You can specify few catalogs -->
  <catalog name="CatalogNetworkStorage">
    <!-- optional action to be executed before accessing catalog (i.g. mount share) and after completed backup
    <startup exec="mnt" dir="c:\" args=""/>
    <shutdown exec="mnt" dir="c:\" args="-u"/>
    -->
    <location path="ftp://usr:password@192.168.1.2/backup/"/>
    <!-- Additional TAR files may be compressed with gzip or bzip2 -->
    <compression method="bzip2" level="2" />
    
    <!-- Hier you have to specify how many archives of particular backup levels should be keept:
      As suggestion: 
      Level 0 - Full backup / anual
      Level 1 - Monthly 
      Level 2 - Weekly
      Level 3 - Daily
    -->
    <retention level="0" quantity="2"/>
    <retention level="1" quantity="12"/>
    <retention level="2" quantity="4"/>
  </catalog>
Backup set
This part of configuration defines which files should be taken into backup.

  <!-- specification of files for backup -->
  <backup_set name="CatalogFastAccess" level="3" type="incremental">
    <!-- optional action to be executed before starting backup and after completed backup
    <startup exec="stopService" dir="c:\" args="MailDaemon"/>
    <shutdown exec="startService" dir="c:\" args="MailDaemon"/>
    -->
    <base path="C:\workshop" name="Workshop"/>

    <exclude path="*\.svn"/>
    <exclude path="*\obj"/>
    
    <exclude file="*.obj"/>
    <include file="*.cs"/>

    <exclude pattern="regexp"/>
    <include pattern="regexp"/>
  </backup_set>
  
  <backup_set name="CatalogNetworkStorage" level="1,2" type="differential">
    <base path="C:\workshop" name="Workshop"/>

    <exclude path="*\.svn"/>
    <exclude path="*\obj"/>
    
    <exclude file="*.obj"/>
    <include file="*.cs"/>

    <exclude pattern="regexp"/>
    <include pattern="regexp"/>
  </backup_set>

  <backup_set name="CatalogNetworkStorage" level="0" type="full">
    <base path="C:\workshop" name="Workshop"/>

    <exclude path="*\.svn"/>
    <exclude path="*\obj"/>

    <exclude file="*.obj"/>
    <include file="*.cs"/>

    <exclude pattern="regexp"/>
    <include pattern="regexp"/>
  </backup_set>