Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: morpheus on August 07, 2017, 08:35:51 AM

Title: Affa backup configuration
Post by: morpheus 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?
Title: Re: Affa backup configuration
Post by: gieres 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
Title: Re: Affa backup configuration
Post by: idp_qbn 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
Title: Re: Affa backup configuration
Post by: morpheus 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
------------------------------------------------
Title: Re: Affa backup configuration
Post by: gieres on August 22, 2017, 10:42:35 PM
Hello,
Have you checked than /etc/affa/localhost.conf is disabled ?
Bye
Title: Re: Affa backup configuration
Post by: janet 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.