Amethyst backup procedures

All documents from the original Software Support Library (SSL)

Moderators: Leon van Heerden, Luanda_Junzi, Belinda Frick, Lee Hendricks

Amethyst backup procedures

Postby Belinda Frick » Tue Nov 16, 2010 12:02 pm

From version 1.4 onwards the recommended backup media
is removable hard drives.

To ensure correct backups, the following information is provided:


Linux backup for Amethyst

For Amethyst on Linux, there is a backup script which can be run daily
using the Cron daemon. The backup can also be run manually from the
Amethyst Web Admin application.

The backup disk must be inserted before the backup is started. The
backup disk must be in the system when it is restarted, or Linux will
not be able to mount the drive.

A backup of the database is copied to the root folder of the backup drive.

Amethyst will write a change.log file in the /opt/amethyst/bin directory
containing the list of new files. The backup script copies these new
files to the backup drive, and removes the change.log file.


The backup script cannot be listed here, but all Amethyst Linux
installations will have it installed.



Windows backup for Amethyst

For Amethyst on Windows, a batch file is available which can be run daily
using the Windows Task Scheduler.

The backup disk must be inserted before the backup is started. Windows
also needs to be told to detect the disk manually (using Add/Remove hardware).
Alternatively, the batch file can backup onto a mapped drive.

A backup of the database is copied to the root folder of the backup drive.

The batch file will be similar to the following:


@echo off
@rem Amethyst backup
@rem -------
@rem The database is located at C:\AMT\amt.fdb
@rem The database server is Firebird
@rem The data drive is D:\
@rem The backup drive is H:\

set ISC_USER=SYSDBA
set ISC_PASSWORD=masterkey
PATH=%PATH%;C:\Program Files\Firebird\Firebird_1_5\bin


gbak -b C:\AMT\amt.fdb H:\amt.fbk
xcopy /s /m /i D:\AMT H:\


This XCopy command will only copy new files to the backup
drive.
Belinda Frick
 
Posts: 3808
Joined: Fri Nov 12, 2010 4:25 pm

Return to Support Archive's (Amethyst)

Who is online

Users browsing this forum: No registered users and 1 guest

cron