Dal lato server tutto sembra funzionare, a parte lo script in perl che mi serve per gestire il backup tramite rsync di un pc con Win XP Pro.
Per la configurazione dello script ho seguito le istruzioni in questa pagina web (è l'unica che ho trovato, forse ce ne sono altre ma non sono riuscito a trovarle :-[)
http://taksuyama.com/?page_id=8
Praticamente ho impostato lo script per fare il backup di un intero hard disk (per ora... l'idea sarebbe di fare backup di tutti i dischi che mi interessano, e sono 4) e lo ho caricato in /etc/backuppc.
Il problema è che quando carico la pagina web di backuppc ed avvio il backup mi ritrovo questo messaggio:
# Last status is state "idle" (backup failed) as of 3/28 06:09.
# Last error is "Can't read PC's config file: Couldn't execute /etc/backuppc/xxxx.pl: syntax error at /etc/backuppc/xxxxx.pl line 20, near "path "".
ho inserito xxx.pl ma in realtà è il nome del pc... lo stesso vale per l'IP e l'username del file di configurazione che posto qui sotto:
Codice: Seleziona tutto
#
$Conf{XferMethod} = 'rsync';
#
# Tell BackupPC which user name and password to use. This should
# match the userName:password pair in the C:\rsyncd\rsyncd.secrets
# file on the client.
#
#
# Tell BackupPC which share to backup. This should be the name
# of the module from C:\rsyncd\rsyncd.conf on the client (the
# name inside the square brackets). In the sample rsynd.conf
# file the cDrive module is the entire C drive.
#
#
# Link the IP address to the host name
[audioDrive]
path = e:
comment = Entire Drive
auth users = xxxx,backuppc
secrets file = c:/rsyncd/rsyncd.secrets
hosts allow = xxx.xxx.xxx.xxx
strict modes = false
read only = true
list = false
Spero che qualcuno sappia dove potrebbe trovarsi l'errore... sto impazzendo da 2 giorni ::)
grazie mille in anticipo per l'aiuto (b2b)