Koozali.org: home of the SME Server

affa question

Offline jonash

  • ****
  • 120
  • +0/-0
affa question
« 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
.........

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: affa question
« Reply #1 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]
« Last Edit: July 06, 2008, 12:29:07 PM by frankvb »

Offline jonash

  • ****
  • 120
  • +0/-0
Re: affa question
« Reply #2 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
« Last Edit: July 06, 2008, 11:50:35 AM by jonash »
.........

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: affa question
« Reply #3 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.

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: affa question
« Reply #4 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

Offline m

  • *****
  • 276
  • +0/-0
  • Peet
Re: affa question
« Reply #5 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.

Offline jonash

  • ****
  • 120
  • +0/-0
Re: affa question
« Reply #6 on: July 06, 2008, 01:39:44 PM »
Thanks for all answers!

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