Koozali.org: home of the SME Server

Affa backup configuration

Offline morpheus

  • *
  • 48
  • +0/-0
Affa backup configuration
« on: August 07, 2017, 08:35:51 AM »
I have a sme-server 9.*, with usb 1TB removable drive used for backup. I want to be able to store at most last 1 days backups, no weekly/monthly/yearly.

The following are the settings i have

[prodbox]
remoteHostName=localhost
Watchdog=yes
Description=jjsme backup
status=enabled
Debug=no
TimeSchedule=2230
localNice=15
rsync--inplace=yes
scheduledKeep=1
dailyKeep=1
weeklyKeep=0
monthlyKeep=0
yearlyKeep=0
RootDir=/mnt/affadevice


After three or days, the 1TB is full creating errors. What settings should i have?
I can open the door but you have to walk through it.

Offline gieres

  • *
  • 227
  • +0/-0
Re: Affa backup configuration
« Reply #1 on: August 07, 2017, 10:09:39 PM »
Hello,
Can you post result of :
affa --list-archives prodbox   #?

You don't show GlobalConfiguration.cfg : have you verified its properties don't crash prodbox.cfg ?

Bye

Offline idp_qbn

  • *****
  • 347
  • +0/-0
Re: Affa backup configuration
« Reply #2 on: August 08, 2017, 02:25:48 AM »
Morpheus

Add the line
Code: [Select]
chattyOnSuccess=100 to you affa config.

This sends an email to admin which should give you an indication of the backup success or failure and a hint at what is going wrong.

You should also look in the affa log in /var/logs/affa - they will show you what is happening step by step as affa runs.

I use the "mc" program to look at the content of files, and to edit them, Very useful.

Good luck
Ian
___________________
Sydney, NSW, Australia

Offline morpheus

  • *
  • 48
  • +0/-0
Re: Affa backup configuration
« Reply #3 on: August 22, 2017, 07:00:08 AM »
Hello,
Can you post result of :
affa --list-archives prodbox   #?
 
You don't show GlobalConfiguration.cfg : have you verified its properties don't crash prodbox.cfg ?

Bye
---------------------------------------
localhost

prodbox
--------------------------------------

GlobalConfiguration.cfg
-----------------------------------------------
sendStatus=weekly
globalStatus=jobs
EmailAddress=root
status=enabled
------------------------------------------------
I can open the door but you have to walk through it.

Offline gieres

  • *
  • 227
  • +0/-0
Re: Affa backup configuration
« Reply #4 on: August 22, 2017, 10:42:35 PM »
Hello,
Have you checked than /etc/affa/localhost.conf is disabled ?
Bye

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Affa backup configuration
« Reply #5 on: August 23, 2017, 12:49:50 AM »
morpheus

You need to tell us how much data is on your main drive ie
df -h

Also you could set
scheduledKeep=0
to only keep the one daily backup

Also show us the content (by directory listing) of data on your USB drive, ie mount the USB manually & do
df -h
& then cd to each folder & do the same.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.