Quantcast
Viewing latest article 5
Browse Latest Browse All 12

Re: minor script error

hi:

   ok. I will try to explain it in more detail. when using latest Ghetto to backup 5.0 U1, you can see result like below:

 

Logging output to "/tmp/ghettoVCB-2012-03-30_01-48-12.log" ...
Insufficient arguments.                                      
2012-03-30 01:48:12 -- info: ============================== ghettoVCB LOG START ==============================

 

2012-03-30 01:48:13 -- info: CONFIG - USING GLOBAL GHETTOVCB CONFIGURATION FILE = ./ghettoVCB.conf
2012-03-30 01:48:13 -- info: CONFIG - VERSION = 2011_11_19_1
2012-03-30 01:48:13 -- info: CONFIG - GHETTOVCB_PID = 91283
2012-03-30 01:48:13 -- info: CONFIG - VM_BACKUP_VOLUME = /vmfs/volumes/nfs_storage_backup/backup
2012-03-30 01:48:13 -- info: CONFIG - ENABLE_NON_PERSISTENT_NFS = 1
2012-03-30 01:48:13 -- info: CONFIG - UNMOUNT_NFS = 1
2012-03-30 01:48:13 -- info: CONFIG - NFS_SERVER = 10.11.1.254
2012-03-30 01:48:13 -- info: CONFIG - NFS_MOUNT = /share/nfs
2012-03-30 01:48:13 -- info: CONFIG - VM_BACKUP_ROTATION_COUNT = 1
2012-03-30 01:48:13 -- info: CONFIG - VM_BACKUP_DIR_NAMING_CONVENTION = image
2012-03-30 01:48:13 -- info: CONFIG - DISK_BACKUP_FORMAT = 2gbsparse
2012-03-30 01:48:13 -- info: CONFIG - POWER_VM_DOWN_BEFORE_BACKUP = 0
2012-03-30 01:48:13 -- info: CONFIG - ENABLE_HARD_POWER_OFF = 0
2012-03-30 01:48:13 -- info: CONFIG - ITER_TO_WAIT_SHUTDOWN = 3
2012-03-30 01:48:13 -- info: CONFIG - POWER_DOWN_TIMEOUT = 5
2012-03-30 01:48:13 -- info: CONFIG - SNAPSHOT_TIMEOUT = 5
2012-03-30 01:48:13 -- info: CONFIG - LOG_LEVEL = info
2012-03-30 01:48:13 -- info: CONFIG - BACKUP_LOG_OUTPUT = /tmp/ghettoVCB-2012-03-30_01-48-12.log
2012-03-30 01:48:13 -- info: CONFIG - VM_SNAPSHOT_MEMORY = 0
2012-03-30 01:48:13 -- info: CONFIG - VM_SNAPSHOT_QUIESCE = 1
2012-03-30 01:48:13 -- info: CONFIG - VMDK_FILES_TO_BACKUP = all
2012-03-30 01:48:13 -- info: CONFIG - EMAIL_LOG = 0
2012-03-30 01:48:13 -- info:
2012-03-30 01:48:17 -- info: Initiate backup for wiki
2012-03-30 01:48:17 -- info: Creating Snapshot "ghettoVCB-snapshot-2012-03-30" for wiki

 

please take a look at second line "Insufficient arguments." which should not be there.

that error message appears because the script logic has minor error, the reason is at my first post.

with older versions of ghettoVCB, there are no detection of the command format of "snapshot.remove",

so I never saw this error message before. (I upgrade ghettoVCB to latest version, because I found older version can not backup 5.0U1 which has new sanpshot.remove command format. that's why I saw this error message)

 

hope it is clear now. thank a lot for your patience!


Viewing latest article 5
Browse Latest Browse All 12

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>