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
-
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?
-
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
-
Morpheus
Add the line
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
-
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
------------------------------------------------
-
Hello,
Have you checked than /etc/affa/localhost.conf is disabled ?
Bye
-
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.