Often you have to migrate and move virtual machines from old to new version of ESX / ESXi to reorganize or even just to make the upgrade to Release 4.1.
I recommend FastSCP Veeam
2010 27 August 2010
Often you have to migrate and move virtual machines from old to new version of ESX / ESXi to reorganize or even just to make the upgrade to Release 4.1.
I recommend FastSCP Veeam
2010 January 05 2010
Robocopy is a utility created by Microsoft to move, copy and synchronize files / folders in maintaining the security backup and migration.
It works on NTFS file system (from NT onwards)
And 'included in the Windows Resource Kit, freely downloadable from here with 7zip extract the necessary files are not installing the whole package
The copy is made only after a check on the diversity of the files / folders.
EXAMPLE:
ROBOCOPY source destination / MIR / SEC
synchronizes the folder structure retaining the permissions and audit data while maintaining the same source and destination (including cancellations attention!)
2009 17 August 2009
Often you have to make on backup virtual maccine. And as usual, without wanting to spend money on additional products.
The following procedure is based on well documented script Ghettovcb.sh
I have not invented anything I just tried to summarize all the steps.
If you find errors the comments are there on purpose.
Prerequisites:
Installed on the Workstation Vs Programs
Copy the script on the machine using WinSCP ESX7ESXi
Spostat elo script in the first data store, usually Datastore1, because ESXi does not delete everything in datastore strova to reboot.
Cambite execute permissions in 644 with the command chmod + x ghettoVCB.sh
Create a file that contains the name of the machines which make up
Now choose where to save the backup:
you can leave and save them locally via WinSCP every day
Edit the script sesuenti linne, tlo script is commented very well you should not find difficult.
Ok now go to the folder and run the script. / GhettoVCB.sh vmbackups to back up ......
You'll see a status similar to that avazamento below.
[Root @ esx1 testbackup] #. / Backup ghettoVCB.sh
# # # # # # # # # # # # # # # # Taking backup snapshot for machine1 ... # # # # # # # # # # # # # # # #
Destination disk format: VMFS thick
Cloning disk '/ vmfs/volumes/Produzione/MACCHINA1/MACCHINA1.vmdk' ...
Clone: 100% done.
Removing snapshot from MACCHINA1 ...
# # # # # # # # # # # # # # # # # # # # Completed backup for MACCHINA1! # # # # # # # # # # # # # # # # # # # #
Start time: Wed Aug 19 14:50:14 EDT 2009
End time: Wed Aug 19 14:57:37 EDT 2009
Duration: 7.38 Minutes
Completed backing up specified Virtual Machines!
At this point we have verified that everything fuziona go as we would like to schedule a recursive process.
We copy plink on our VirtualCenter or on an other machine if we use ESXi
We create a file with notepad called backupesx.cmd
with a syntax similar to the following
c: \ putty \ plink.exe root@10.10.10.1 -pw password "nohup ./vmfs/volumes/datastore1/ghettoVCB.sh / vmfs/volumes/datastore1/vmbackups> / & vmfs/volumes/datastore1/backuplog.txt"
where
c: \ putty \ plink.exe is the location where torvare plink
root@10.10.10.1 address is root @ ESX / ESXi server
. Poassword where pw password is the password of root sull'esx
./vmfs/volumes/datastore1/ghettoVCB.sh location script
/ Vmfs/volumes/datastore1/vmbackups file that contains the machines to be backed up
/ Vmfs/volumes/datastore1/backuplog.txt locazionedel log backup
Scheduliamo job in the scheduled tasks in the manner of windows operating system ....
For more help on the script ghettoVCB.s refer here
At this point you do not have it because the log send by email .... downloaded blat
and eseguit blat.exe filename to be sent-server indirizzo_del _SERVER indirizzo_mittente-f-to address _destinatario
blat.exe backuplog.txt IPSMTPSERVER-server-to-f ESXBACKUP@bomby.it davide@bomby.it
2009 June 08 2009
How to change the display language of the software Symantec Backup Exec
Open the registry editor
HKEY_LOCAL_MACHINE \ Software \ Veritas \ Backup Exec
Language to create a String with the language string
Eg:
EN for English
IT for Italian
2008 December 05 2008
rem copia utenti e cartelle personali
robocopy \\IP SERVER\zfax\Users c:\zfax\users *.* /s /sec /log+:c:\zfaxbackup
rem copia archivi fax ricevuti
robocopy \\IP SERVER\zfax\Server\Z-RECD c:\zfax\Server\Z-RECD *.* /s /sec /log+:c:\zfaxbackup
rem copia archivi fax inviati
robocopy \\IP SERVER\zfax\Server\Z-SENT c:\zfax\Server\Z-SENT *.* /s /sec /log+:c:\zfaxbackup
rem copia log server
robocopy \\IP SERVER\zfax\Server\Z-DB c:\zfax\Server\Z-DB *.log /s /sec /log+:c:\zfaxbackup
rem copia rubriche e indici
robocopy \\IP SERVER\zfax\Server\Z-DB c:\zfax\Server\Z-DB ADB*.* /s /sec /log+:c:\zfaxbackup
rem copia coda attiva
robocopy \\IP SERVER\zfax\Server\Z-DB c:\zfax\Server\Z-DB Queue.* /s /sec /log+:c:\zfaxbackup
rem copia copertin
robocopy \\IP SERVER\zfax\System\Z-COVER c:\zfax\Server\Z-COVER *.* /s /sec /log+:c:\zfaxbackup
rem copia carte d alettera
robocopy \\IP SERVER\zfax\System\Z-LETTER c:\zfax\Server\Z-LETTER *.* /s /sec /log+:c:\zfaxbackup
rem copia allegati
robocopy \\IP SERVER\zfax\System\Z-GRAPH c:\zfax\Server\Z-GRAPH *.* /s /sec /log+:c:\zfaxbackup
rem copia configurazione
robocopy \\IP SERVER\zfax\System\Z-DB c:\zfax\Server\Z-DB *.* /s /sec /log+:c:\zfaxbackup
rem copia configurazione gateway smtp
robocopy \\IP SERVER\zfax\MAIL\Data c:\zfax\MAIL\Data *.* /s /sec /log+:c:\zfaxbackup