Koozali.org: home of the SME Server

AFFA

Offline simonepalomba

  • *
  • 16
  • +0/-0
AFFA
« on: March 02, 2011, 12:08:39 AM »
Salve a tutti..
un'informazione..alle 18.36 di oggi ho settato un backup geografico tra due sme con AFFA di approx 65-70Gb e alle 00.00 ancora non si vede nulla...
solo scheduled running..
pensate sia normale?

Offline simonepalomba

  • *
  • 16
  • +0/-0
Re: AFFA
« Reply #1 on: March 02, 2011, 09:26:08 AM »
..o meglio...come si può capire cosa sta facendo AFFA..se tutto è corretto come impostazioni..

di seguito incolle il file di configurazione

# Important: Values must not contain a '|' (pipe) character

# EDIT THIS:
# used as a key for db and as a filename!
# Choose a name with <= 10 chars.
my $jobname='2bt';

# EDIT THIS:
my %job=(
   'remoteHostName'=>'xx.x.xxx.xxx', # FQHN or IP address
   'TimeSchedule'=>'2230', # HHMM,HHMM,...
   'Description'=>'', # text string.
   'scheduledKeep'=>1, # integer >= 1
   'dailyKeep'=>7, # integer >= 0
   'weeklyKeep'=>4,# integer >= 0
   'monthlyKeep'=>12,# integer >= 0
   'yearlyKeep'=>2,# integer >= 0
   'SMEServer'=>'no', # yes | no
   'Include[0]'=>'/home/e-smith/files/ibays/archivio', # additional files or directories to include
   #'Include[1]'=>'',
   #'Include[2]'=>'',
   'Exclude[0]'=>'', # files or directories to exclude from backup
   #'Exclude[1]'=>'',
   #'Exclude[2]'=>'',
   'RPMCheck'=>'no', # yes | no
   'DiskSpaceWarn'=>'strict', # strict | normal | risky | none
   'localNice'=>0, # -19...+19
   'remoteNice'=>0, # -19...+19
   'Watchdog'=>'yes', # yes | no
   'sshPort'=>22, # default ssh port is 22
   'ConnectionCheckTimeout'=>120, # seconds
   'rsyncTimeout'=>900, # seconds
   'rsyncCompress'=>'no', # yes | no
   'EmailAddresses'=>'', # name@domain.com,name@domain.com,...
   'chattyOnSuccess'=>0, # send N success notifications
   'RetryAfter'=>600, # retry after 10 minutes
   'RetryAttempts'=>3,# number of retries
   'RetryNotification'=>'yes', # notify when retrying
   'postJobCommand'=>'', # full path to local program/script
   'preJobCommand'=>'', # full path to local program/script
   'AutomountDevice'=>'', # Device to auto mount (e.g. USB drive)
   'AutomountPoint'=>'', # the mountpoint for AutomountDevice
   'AutomountOptions'=>'', # Optionstring passed to mount command e.g. '-t cifs'
   'AutoUnmount'=>'yes', # umount if fs was not mounted before Affa ran
   'RootDir'=>'/var/affa', # where to save the archives. Don't use /root or /home/e-smith
   'SambaShare'=>'yes', # enable Samba access to the archives
   'Debug'=>'no', # yes | no
   'status'=>'enabled', # enabled | disabled
   'rsync--inplace'=>'yes', # yes | no : rsync on source supports '--inplace' option
   'rsync--modify-window'=>0, # integer >= 0, timestamp window
   );

### nothing to edit below this line ####

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: AFFA
« Reply #2 on: March 02, 2011, 10:23:15 AM »
prima di tutto verifica se c'è traffico verso la 22 del remotehost con iptraf

iin seconda battuta, se, come dici, sono 2 macchine SME, non capisco perchè tu abbia il flag SMEServer settato a no

se le macchine sono remote (ergo via wan), per fare il backup di così tanti dati ci vorrà parecchio tempo

Offline simonepalomba

  • *
  • 16
  • +0/-0
Re: AFFA
« Reply #3 on: March 02, 2011, 10:43:20 AM »
ciao e grazie...
il traffico è a posto...un paio di giorni fa ho provato con scp per testare la velocità e in un giorno e mezzo ho trasferito quasi 9Gb..
per il resto a me interessa solo il backup di una ibays e non volevo sovraccaricare ulteriormente..
il file di configurazione ti sembra ok?

Simone

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: AFFA
« Reply #4 on: March 02, 2011, 11:00:08 AM »
non conosco nel dettaglio tutte le specifiche di AFFA (lo uso solo per le migrazioni dei server da hw vecchio a nuovo, anche tra sedi geograficamente distanti), quindi non so dirti

la pagina nel wiki è tua amica :-)

per cortesia, "registrati" nello sticky topic "[OT] dove siamo?", grazie

Offline simonepalomba

  • *
  • 16
  • +0/-0
Re: AFFA
« Reply #5 on: March 02, 2011, 03:54:37 PM »
Ok...tutto a posto...backup partito...