User Tools

Site Tools


esxi:backup_server

Backup Server

Veeam Backup & Replication Community Edition is the free version of Veeam's backup software for VMware and Hyper-V, as well as physical servers, workstations, laptops and cloud instances. The Community Edition has a restriction of 10 fully featured backup instances and further unlimited backups with VeeamZIP.

Setup

Install and configure Veeam Backup & Replication Community Edition using an SMB share as the backup destination.

  • Sign up for a quick Veeam account at Veeam
  • Mount the installation image using windows or Use ESXi to mount the installation image to the virtual machine.
  • Run the Setup.exe file from the ISO.
  • On the splash screen, click the Install tile on the left to launch the Veeam Backup & Replication setup wizard. Alternatively, you can click the Veeam Backup & Replication tile on the right.
  • Read and accept the terms in the license agreement.
  • Click next to install the Community Edition.
  • At the Program Features step of the wizard, keep the default settings.
  • At the System Configuration Check step of the wizard, install missing software components and enable missing features, if any.
  • At the Default Configuration step of the wizard, specify if you want to use default installation settings or specify installation settings on your own. If you have chosen to use default installations settings, click Install to begin installation.
  • Click Finish to close the wizard.
  • Close the setup window.

Connect the ESX(i) host that will be used as the source and the target for backup and replication:

  • Run Veeam Backup & Replication.
  • In the authentication window, click Connect.
  • In the inventory pane of the Backup Infrastructure view, right-click the Managed servers node and select Add Server.
  • In the Add Server window, click VMware vSphere to launch the New VMware Server wizard.
  • At the Name step of the wizard, specify a DNS name or IP address of the server.
  • At the Credentials step of the wizard, specify credentials for the user account with administrator permissions to the added server: click Add on the right of the Credentials field and specify the user name and password to connect to the added server. Click OK, then Finish.

Configure two SMB share backup repositories, one for standard backups and one for GFS retention (e.g. \Backups and \BackupsGFS):

  • Open the Backup Infrastructure view.
  • Right-click the Backup Repositories node in the inventory pane and select Add Backup Repository to launch the New Backup Repository wizard.
  • Select Network attached storage.
  • At the Name step of the wizard, specify a name for the added backup repository.
  • At the Type step of the wizard, select Shared folder.
  • Specify a UNC path (including folder) to the shared folder that will be used as a backup repository and enter credentials of the account on the NAS set up for Windows Server with permissions for only the required share/s.
  • At the Repository step of the wizard, click next.
  • Click Populate to see how much space is available on the backup repository.
  • Follow next steps of the wizard. At the last step of the wizard, click Finish.
  • Right click the share > Access permissions > Allow to everyone.
  • Repeat for the other share.

To configure global email notification settings using Gmail:

  • From the main menu, select General Options.
  • Open the E-mail Settings tab.
  • Select the Enable e-mail notifications check box.
  • In the SMTP server field, enter smtp.gmail.com
  • Click the Advanced button to specify user credentials and connection options:
    • Port number: 465
    • Leave the connection timeout at 100000
    • Select the Connect using SSL check box.
    • Select the This SMTP server requires authentication check box and add the necessary credentials from the Log on as list (Gmail address and an app specific password from App Passwords (if 2fa is enabled)).
  • In the From field, specify the email from which email notifications must be sent (same as login username).
  • In the To field, specify the recipient addresses. Use a semicolon to separate multiple addresses. Recipients specified in this field will receive notification about every job managed by the backup server.
  • In the Subject field, specify a subject for the sent message. You can use the following variables in the subject (the default message is good):
%Time% — completion time
%JobName%
%JobResult%
%VmCount% — number of VMs in the job
%Issues% — number of VMs in the job that have been processed with the Warning or Failed status
  • Select Notify on warning and Notify on failure check boxes to receive email notification if a job is not run successfully or with a warning.
  • Select the Suppress notifications until the last retry check box to receive a notification about the final job status.
  • Click Test Message to send a test email.

Backup Agents/VMs

Windows:

FIXME: Investigate installing client directly from server. https://helpcenter.veeam.com/docs/backup/agents/protected_computers_install.html

Create a Windows Agent Backup Policy (Note: May need to follow backup to allow access to a Windows 10 PC):

  • On the Home tab, click the Backup Job button and select Windows Computer to launch the New Backup Job wizard.
  • At the Job Mode step, in the Type field, select Workstation.
  • At the Name step, specify a name and description for the backup job.
  • At the Computers step, select the computer whose data you want to back up:
    • Click Add > Individual computer.
    • In the Add Computer window, in the Host name or IP address field, enter a full DNS name or IP address of the computer that you want to add to the job.
    • From the Credentials list, click Add on the right to add credentials for the computer, using the COMPUTER\USER format for the username.
  • At the Backup Mode step, select File level backup.
  • At the Objects step:
    • In the Choose directories to backup list, select the The following file system objects check box.
    • Click Add and type the path into the Add Object window for each of the following backup paths (Using %ProgramFiles% or %ProgramFiles(x86)% depending on the location of WoW and replacing <user> with the desired user).
    • Once the folders have been added, click Advanced and specify the exclude masks:
# Backup paths
%ProgramFiles%\World of Warcraft\_retail_\Interface
%ProgramFiles%\World of Warcraft\_retail_\Screenshots
%ProgramFiles%\World of Warcraft\_retail_\WTF
%ProgramData%
%Public%\Desktop
C:\Users\<user>

# Exclude masks
C:\Users\<user>\AppData\Local\Temp
C:\Users\<user>\AppData\Local\Google\Chrome\User Data\Default\Cache
C:\Users\<user>\AppData\Local\CrashDumps
\%ProgramData%\Microsoft\Network\Downloader
\%ProgramData%\Microsoft\Search\Data
\%ProgramData%\Microsoft\Windows Defender
\%ProgramData%\Microsoft\Windows\WER
.tmp
.temp
  • At the Destination step select Veeam backup repository.
  • At the Backup Server step review and change if necessary the name or IP address of the Veeam backup server on which you configure the Veeam Agent backup job. The specified DNS name or IP address must be accessible from Veeam Agent computers.
  • At the Storage step:
    • From the Backup repository list, select a backup repository where you want to store created backups.
    • Set Keep backups for to 14 days.
    • Click Advanced:
      • On the Backup tab, select the Create synthetic full backups periodically check box and click Days to schedule synthetic full backups on Friday.
      • On the Maintenance tab:
        • Select the Perform backup files health check check box
        • Select Weekly on selected days and click Days to schedule the health check on Friday.
        • Select the Remove deleted items data after check box and set the number of days to 30.
      • In the Storage optimization section, select what type of backup target you plan to use: LAN target or WAN target.
  • At the Schedule step:
    • Select the Daily at check box for an appropriate time everyday
    • For the powered off action select Backup once powered on
    • Click Apply.
  • Review the settings and click Finish if it is satisfactory.

Setup a Backup Copy Job for the Windows agent backup policy to use GFS (Note: GFS will soon be added to the standard backup system Veeam Fourms):

  • On the Home tab, click Backup Copy and select Windows computer backup.
  • At the Job step:
    • Specify a name and description for the backup job.
    • Set Copy every to 7 Day starting at 12:00 AM
  • At the Objects step of the wizard:
    • Click Add and select From jobs
      • Add the jobs that you want to process.
    • Click Source:
      • Choose the standard backup repository.
  • At the Target step:
    • From the Backup repository list, select the GFS backup repository.
    • Set Restore points to keep to 2.
    • Select the Keep the following restore points as full backups for archival purposes check box.
    • In the fields below, specify the number of intervals for which backups must be retained as:
      • 4 weekly
      • 6 monthly
      • 10 yearly
    • Click the Schedule button to set all the days to Saturday.
    • Click Advanced:
      • On the Maintenance tab select the Perform backup files health check check box and leave the default of the last Saturday of every month.
  • At the Data Transfer step leave the default of direct transfer.
  • At the Schedule step leave the default of Any time selected.
  • Review the settings and click Finish if it is satisfactory.

Update

  • Describe update Process

Sources

esxi/backup_server.txt · Last modified: 2020/05/12 07:06 by derek