# Amethyst 2 incbackup settings

**URL:** <https://discourse.datatex.co.za/t/amethyst-2-incbackup-settings/34>\
**Category:** Voice recording ( Amethyst and iReCall )\
**Created:** [February 17, 2021, 11:00am UTC](https://discourse.datatex.co.za/t/amethyst-2-incbackup-settings/34 "2021-02-17T11:00:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LeonvanHeerden](https://discourse.datatex.co.za/letter_avatar_proxy/v4/letter/l/51bf81/32.png) [@LeonvanHeerden](https://discourse.datatex.co.za/u/LeonvanHeerden)\
**Post date:** [February 17, 2021, 11:00am UTC](https://discourse.datatex.co.za/t/amethyst-2-incbackup-settings/34/1 "2021-02-17T11:00:46Z")

</div>

running incbackup on a command prompt will start the archive of the database.  
Command line parameters that can be passwed to the script:  
**-d**  
This will show debug output to the console while it is running. This is usefull if somethign is going wrong and you are unsure what.

**-mount**  
This will only try and mount the backup location and print the command used on the screen. **This will not actually archive.**

Variables in the **config** file

**BACKUPLOC**  
This variable doesn’t exist in the config file by default. It can be added to add a prefix location for the database backup location. This is useful on servers where thee is not enough space on the “/tmp” file system to backup, restore and encrypt the database.  
Usage:  
Edit /opt/amethyst/etc/config and Add or edit this field:

> BACKUPLOC=/mnt/backupdrive/

This location will then be added to front of the existing backup location of “/tmp” to for the location /mnt/backupdrive/tmp.
