Quantcast
Channel: VMware Communities : Popular Discussions - EMEA [ARCHIVED]
Viewing all articles
Browse latest Browse all 36172

Problema di configurazione Mksbackup

$
0
0

Salve a tutti,

ho creato una VM utilizzando Esxi 5.5.0 e vorrei backupparla in un nas utilizzando MKsbackup.

La struttura utilizzata è la seguente:

Server fisco con ip 192.168.50.160, avviato da chiavetta di avvio dove risiede Esxi Hypervisor.

Nello storage del server è installata una VM con Windows 2008.

Nas con ip 192.168.50.161.

Computer con ip 192.168.50.170 dove è installato VSphere e Mksbackup (ghettovcb).

Vorrei copiare la vm nel nas

Il file di configurazione di Mksbackup.ini che ho utillizzato è il seguente:

 

[VMWARE]

program=ghettovcb

host=192.168.50.160

port=22

login=root

password=miapassword

local=C:\magik\vmware

global_conf=ghettoVCB.conf

vm_list=linux-vm windows-vm

#ftp_local=ftp://192.168.1.23/d/Backup/vmware

destination=<backup=mon-thu>

            <copy=fri>/nfs/Backups${vm}-${nweekdayname}

 

Ho modificato la prima riga di ghettovcb nel seguente modo:

VM_BACKUP_VOLUME=192.168.50.161/vmfs/nfs/Backups/VServer01 (Destinazione del backup della vm.)

 

Quando lancio il backup dal computer dove è residente VSphere (e non dal server) mi viene restituito il seguente log:


2014-02-14 10:26:46 INF start version=1.0.4 cmd=['C:\\Magik\\MKSBackup\\mksbackup.exe', '-d', '-c', 'C:\\Magik\\mksbackup.ini', 'backup', 'VMWARE']

2014-02-14 10:26:46 ERR job not found: VMWARE

2014-02-21 10:02:28 INF start version=1.0.4 cmd=['C:\\Magik\\mksbackup.exe', '-d', '-c', 'C:\\Magik\\mksbackup.ini', 'backup', 'VMWARE']

2014-02-21 10:02:37 DEB this version of ghettovcb wait before to unmount the NFS share

2014-02-21 10:02:40 INF     cmd_line=cd "/tmp/vmware" ; ./"ghettoVCB.sh" -d debug -c "/tmp/vmware" -f "/tmp/vmware/include_vm" -g "/tmp/vmware/ghettoVCB.conf" ; echo exit_code=$?

2014-02-21 10:02:40 INF No errors in section: VMWARE

2014-02-21 10:02:40 INF start command=backup job=VMWARE archiver=ghettovcb

2014-02-21 10:02:40 INF ghettoVCB.sh version is: 2012_12_17_0mksbackup  nfs_wait=True

2014-02-21 10:02:41 INF start: cd "/tmp/vmware" ; ./"ghettoVCB.sh" -d debug -c "/tmp/vmware" -f "/tmp/vmware/include_vm" -g "/tmp/vmware/ghettoVCB.conf" ; echo exit_code=$?

2014-02-21 10:02:41 DEB Logging output to "/tmp/ghettoVCB-2014-02-21_09-57-51-234978.log" ...

2014-02-21 10:02:41 DEB You're not running ESX(i) 3.5, 4.x, 5.x!

2014-02-21 10:02:41 DEB exit_code=1

2014-02-21 10:02:41 DEB exit_code=0 command=df ; echo exit_code=$?

2014-02-21 10:02:41 DEB > Filesystem         Bytes         Used    Available Use% Mounted on

2014-02-21 10:02:41 DEB > NFS         876477657088    212062208 876265594880   0% /vmfs/volumes/NAS

2014-02-21 10:02:41 DEB > VMFS-5     1195879956480 224539967488 971339988992  19% /vmfs/volumes/VServer01

2014-02-21 10:02:41 DEB > vfat           261853184    164659200     97193984  63% /vmfs/volumes/e19bbeed-01e82b89-0e9e-a5b2e1bb7a7e

2014-02-21 10:02:41 DEB > vfat           261853184         8192    261844992   0% /vmfs/volumes/b59971ee-20fbbefa-210e-712cd776fdc3

2014-02-21 10:02:41 DEB > vfat           299712512    200564736     99147776  67% /vmfs/volumes/52fa11f7-01734a2c-c22f-40f2e996aae2

2014-02-21 10:02:41 DEB >

2014-02-21 10:02:41 DEB exit_code=0 command=ls -l /vmfs/volumes ; echo exit_code=$?

2014-02-21 10:02:41 DEB > total 1796

2014-02-21 10:02:41 DEB > drwxrwxrwx    1 99       users         4096 Feb 14 11:52 4293aff3-b9184070

2014-02-21 10:02:41 DEB > drwxr-xr-x    1 root     root             8 Jan  1  1970 52fa11f7-01734a2c-c22f-40f2e996aae2

2014-02-21 10:02:41 DEB > drwxr-xr-t    1 root     root          1680 Feb 13 10:32 52fa6025-6117a754-1cb1-40f2e996aae2

2014-02-21 10:02:41 DEB > lrwxr-xr-x    1 root     root            17 Feb 21 09:57 NAS -> 4293aff3-b9184070

2014-02-21 10:02:41 DEB > lrwxr-xr-x    1 root     root            35 Feb 21 09:57 VServer01 -> 52fa6025-6117a754-1cb1-40f2e996aae2

2014-02-21 10:02:41 DEB > drwxr-xr-x    1 root     root             8 Jan  1  1970 b59971ee-20fbbefa-210e-712cd776fdc3

2014-02-21 10:02:41 DEB > drwxr-xr-x    1 root     root             8 Jan  1  1970 e19bbeed-01e82b89-0e9e-a5b2e1bb7a7e

2014-02-21 10:02:41 DEB >

2014-02-21 10:02:41 INF end command=backup job=VMWARE archiver=ghettovcb

2014-02-21 10:02:41 INF     name=VMWARE

2014-02-21 10:02:41 INF     program=ghettovcb

2014-02-21 10:02:41 INF     version=1.0.4

2014-02-21 10:02:41 INF     status=ERR

2014-02-21 10:02:41 INF     hostname=Pc01

2014-02-21 10:02:42 INF     exit_code=1

2014-02-21 10:02:42 INF     start=Fri Feb 21 10:02:40 2014

2014-02-21 10:02:42 INF     end_ghettovcb=Fri Feb 21 10:02:41 2014

2014-02-21 10:02:42 INF     end=Fri Feb 21 10:02:41 2014

2014-02-21 10:02:42 INF     start_epoch=1392973360

2014-02-21 10:02:42 INF     end_epoch=1392973361

2014-02-21 10:02:42 INF     end_ghettovcb_epoch=1392973361

2014-02-21 10:02:42 INF     type=backup

2014-02-21 10:02:42 INF     ghettovcb_status=ERR

2014-02-21 10:02:50 INF mail sent to: miaemail@miodominio.it

2014-02-21 10:02:50 INF final exit code=1

 

Se vado a vedere nel nas nella cartella di destinazione (192.68.50.161/backups/Vserver01) non trovo il backup.

Evidentemente ho sbagliato a inserire qualche parametro. Cosa posso verificare?

 

Grazie a tutti


Viewing all articles
Browse latest Browse all 36172

Trending Articles