Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: jonash on July 06, 2008, 09:02:35 AM

Title: affa question
Post by: jonash on July 06, 2008, 09:02:35 AM
I have some questions concerning affa, which I cant find the solution to...

I have set the the parameter SMEserver=yes. What I cant find, is if the databases are backed up in this mode, or if I need to do affa --create-backup-fileaffa --create-backup-file to get these export files.

Is it possible to schedule the affa --create-backup-file command in affa, or should I do this in cron the usual way?

Otherwise it works like a charm...  :-P

Jonas
Title: Re: affa question
Post by: Frank VB on July 06, 2008, 10:05:18 AM
Jonash

I use Affa for backing up my main SME server. On my backup server the parameter SMEServer is set to yes for the backup job of my main server. All MySQL databases are AFAIK automatically dumped in the "/home/e-smith/db/mysql" folder as .dump files (Affa issues a pre-backup event for this on the main server). And those files are backed up by Affa. You don't need to configure anything else in Affa.

[Edit: removed unnecessary info about Affa configuration]
Title: Re: affa question
Post by: jonash on July 06, 2008, 11:47:41 AM
Thanks!

I found the dump files in the backups. There are no dump files on the server, so probably affa does the dump files and put them in the backups. They are included automatically as far as I understand. I have not included them in the config...
 At least, they are there, and looks ok.. :)

Jonas
Title: Re: affa question
Post by: Frank VB on July 06, 2008, 12:00:44 PM
There are no dump files on the server, so probably affa does the dump files and put them in the backups.
That's correct, the post-backup event (also issued by Affa) will remove the .dump files on your server after the backup has been completed.
Title: Re: affa question
Post by: m on July 06, 2008, 12:13:53 PM
They are included automatically as far as I understand.
Correct, as /home/e-smith is included by default.
See  http://wiki.contribs.org/Backup_server_config#Standard_backup_.26_restore_inclusions
Title: Re: affa question
Post by: m on July 06, 2008, 12:18:24 PM
Is it possible to schedule the affa --create-backup-file command in affa, or should I do this in cron the usual way?
affa --create-backup-file creates a smeserver.tgz file from any archive which can be stored on an USB disk to be used for restore during a SME fresh install. No need to create it on a regular basis. Just do it when you need it.
Title: Re: affa question
Post by: jonash on July 06, 2008, 01:39:44 PM
Thanks for all answers!

Everything's under control... I hope... :)