Jump to content

ESXi 5.1 - GhettoVCB Fehler beim Backupen


cnwund
Der letzte Beitrag zu diesem Thema ist mehr als 180 Tage alt. Bitte erstelle einen neuen Beitrag zu Deiner Anfrage!

Recommended Posts

Hallo community,
 
war auf der Suche nach einer kostenlosen Möglichkeit meine VM´s per Cronjob jede Nacht zu backupen. GhettoVCB passt perfekt auf meine Bedürfnisse. Somit wurde dies installiert, leider hänge ich momentan an folgendem Fehler. Ich habe eine Liste mit den zu backupenden VM´s erstellt. Hier zu testzwecken erstmal nur eine reingeschrieben!
 
gestartet wurde das tool über folgenden Befehl: ./ghettoVCB.sh -f vms_to_backup -g ghettoVCB.conf
 
Folgende Konfiguration ist hinterlegt!
 

# Author: William Lam
# Created Date: 11/17/2008
# http://www.virtuallyghetto.com/
# http://communities.vmware.com/docs/DOC-8760
##################################################################

# directory that all VM backups should go (e.g. /vmfs/volumes/SAN_LUN1/mybackupdir)
VM_BACKUP_VOLUME=/vmfs/volumes/ddd-local-storage-1/backups

# Format output of VMDK backup
# zeroedthick
# 2gbsparse
# thin
# eagerzeroedthick
DISK_BACKUP_FORMAT=thin

# Number of backups for a given VM before deleting
VM_BACKUP_ROTATION_COUNT=3

# Shutdown guestOS prior to running backups and power them back on afterwards
# This feature assumes VMware Tools are installed, else they will not power down and loop forever
# 1=on, 0 =off
POWER_VM_DOWN_BEFORE_BACKUP=0

# enable shutdown code 1=on, 0 = off
ENABLE_HARD_POWER_OFF=0

# if the above flag "ENABLE_HARD_POWER_OFF "is set to 1, then will look at this flag which is the # of iterations
# the script will wait before executing a hard power off, this will be a multiple of 60seconds 
# (e.g) = 3, which means this will wait up to 180seconds (3min) before it just powers off the VM
ITER_TO_WAIT_SHUTDOWN=3

# Number of iterations the script will wait before giving up on powering down the VM and ignoring it for backup
# this will be a multiple of 60 (e.g) = 5, which means this will wait up to 300secs (5min) before it gives up
POWER_DOWN_TIMEOUT=5

# enable compression with gzip+tar 1=on, 0=off
ENABLE_COMPRESSION=0

############################
####### NEW PARAMS #########
############################

# Include VMs memory when taking snapshot
VM_SNAPSHOT_MEMORY=0

# Quiesce VM when taking snapshot (requires VMware Tools to be installed)
VM_SNAPSHOT_QUIESCE=0

##########################################################
# NON-PERSISTENT NFS-BACKUP ONLY
# 
# ENABLE NON PERSISTENT NFS BACKUP 1=on, 0=off

ENABLE_NON_PERSISTENT_NFS=0

# umount NFS datastore after backup is complete 1=yes, 0=no
UNMOUNT_NFS=0

# IP Address of NFS Server
NFS_SERVER=172.51.0.192

# Path of exported folder residing on NFS Server (e.g. /some/mount/point )
NFS_MOUNT=/upload

# Non-persistent NFS datastore display name of choice
NFS_LOCAL_NAME=backup

# Name of backup directory for VMs residing on the NFS volume
NFS_VM_BACKUP_DIR=mybackups 

############################
######### EMAIL ############
############################ 

# Email debug 1=yes, 0=no
EMAIL_DEBUG=0

# Email log 1=yes, 0=no 
EMAIL_LOG=0

# Email Delay Interval from NC (netcat) - default 1
EMAIL_DELAY_INTERVAL=1

# Email SMTP server
EMAIL_SERVER=mail.asdasdasd.ed

# Email SMTP server port
EMAIL_SERVER_PORT=25

# Email FROM
EMAIL_FROM=root@ghettoVCB

# Email RCPT
EMAIL_TO=asdasd@asdasd.de

 
 
Hier die Ausgabe!
 

2013-01-08 19:11:22 -- info: ============================== ghettoVCB LOG START ==============================

2013-01-08 19:11:22 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = ghettoVCB.conf
2013-01-08 19:11:22 -- info: CONFIG - VERSION = 2011_11_19_1
2013-01-08 19:11:22 -- info: CONFIG - GHETTOVCB_PID = 1133126
2013-01-08 19:11:22 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/d11-local-storage-1/backups
2013-01-08 19:11:22 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 3
2013-01-08 19:11:22 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = 2013-01-08_19-11-21
2013-01-08 19:11:22 -- info: CONFIG - DISK_BACKUP_FORMAT = thin
2013-01-08 19:11:22 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2013-01-08 19:11:22 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2013-01-08 19:11:22 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2013-01-08 19:11:22 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2013-01-08 19:11:22 -- info: CONFIG - SNAPSHOT_TIMEOUT = 15
2013-01-08 19:11:22 -- info: CONFIG - LOG_LEVEL = info
2013-01-08 19:11:22 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2013-01-08_19-11-21.log
2013-01-08 19:11:22 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2013-01-08 19:11:22 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 0
2013-01-08 19:11:22 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all
2013-01-08 19:11:22 -- info: CONFIG - EMAIL_LOG = 0
2013-01-08 19:11:22 -- info:
2013-01-08 19:11:28 -- info: Initiate backup for cnwund_testos_backup
2013-01-08 19:11:28 -- info: Creating Snapshot "ghettoVCB-snapshot-2013-01-08" for cnwund_testos_backup
Destination disk format: VMFS thin-provisioned
Cloning disk '/vmfs/volumes/d158-local-storage-1/cnwund_testos_backup/cnwund_testos_backup.vmdk'...
Clone: 100% done.
2013-01-08 19:21:10 -- info: Removing snapshot from cnwund_testos_backup ...
2013-01-08 19:21:10 -- info: Compressing VM backup "/vmfs/volumes/d158-local-storage-1/backups/cnwund_testos_backup                    /cnwund_testos_backup-2013-01-08_19-11-21.gz"...
./ghettoVCB.sh: line 1236: busybox: not found
2013-01-08 19:21:10 -- info: Error in compressing cnwund_testos_backup!

2013-01-08 19:21:12 -- info: Backup Duration: 9.73 Minutes
2013-01-08 19:21:12 -- info: Successfully completed backup for cnwund_testos_backup!

./ghettoVCB.sh: line 1236: can't create /vmfs/volumes/d158-local-storage-1/backups/cnwund_testos_backup/cnwund_test                    os_backup-2013-01-08_19-11-21/STATUS.ok: nonexistent directory
2013-01-08 19:21:14 -- info: ###### Final status: All VMs backed up OK! ######

2013-01-08 19:21:14 -- info: ============================== ghettoVCB LOG END ================================

Irgendwas stimmt noch nicht mit einigen Sachen!

  • Busybox not found ---> was ist das?
  • Error in compressing cnwund_testos_backup ... in meiner Konfiguration ist die Kompression aber ausgeschalten!
  • nonexistent directory  -> kommt mir ziemlich komisch vor, denn er legt irgendwelche Daten ab!

 
Habe irgendwie keine Idee an was das liegen kann! Könnt Ihr mir helfen?
 
Grüße,
 
Chris

Link to post
  • 4 weeks later...
Der letzte Beitrag zu diesem Thema ist mehr als 180 Tage alt. Bitte erstelle einen neuen Beitrag zu Deiner Anfrage!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...