Veeam Agent Setup

From Stupid IT
Jump to navigationJump to search

Release Notes :: https://www.veeam.com/veeam_agent_linux_2_0_release_notes_rn.pdf

Time to complete :: <30 minutes - 1 hour, depending on dependencies and system speed

Notes

Notes related to this article

  • Fedora 28
  • Veeam release version as of 08/12/18
  • Running as root, so infer any necessary sudo commands

Hardware Requirements

  • CPU: x86_64
  • Memory: 1GB
  • Disk Space: 100 MB for product install
  • Network: 10Mbps
  • Firmware: BIOS or UEFI
  • For VMs: Only full virtualization type is supported (I assume this means full VM, as opposed to container)

File Systems

  • ext 2/3/4
  • F2FS
  • FAT16/32
  • HFS/+/P
  • JFS
  • NILFS2
  • NTFS
  • ReiserFS
  • XFS

Can reside on simple or LVM2 volume

Backup Target

  • Local (internal)
  • Direct attached - USB/eSATA/Firewire/et al
  • NAS - represent as SMB/CIFS or NFS
  • Veeam Backup & Replication 9.5 U3 or later (except DataDomain DDboost, HP StoreOnce)
  • Veeam Cloud Connect 9.5 U3 or later repo


Install

# wget https://download2.veeam.com/veeam-release-fc24-1.0.5-1.x86_64.rpm
# dnf install veeam-release-fc24-1.0.5-1.x86_64.rpm
# dnf -y install veeam

Downloads and installs repo information, then installs actual agent & necessary keys (assumes 'yes'). dnf will automatically resolve dependencies.

Setup connection to share, and add to fstab for automount

//<ip>/share /backup /vifs credentials=/etc/samba/credentials,_netdev,x-systemd.automount,vers=2 0 0
# man veeamconfig

Man page for veeamconfig, the Veeam Agent for Linux configuration tool

//Use ncurses ui
# veeamconfig ui
//CLI Example
//Create repo
# veeamconfig repository create --name syn0 --location /backup
//Create backup job
# veeamconfig job create --name wolfresco2Backup --repoName syn0 --backupAllSystem
//Get Job ID
# veeamconfig job list
//Scheduling
# veeamconfig schedule set --jobid <jobid> --daily --at 02:00
# veeamconfig schedule enable --jobid <jobid>
//Start job
# veeamconfig job start --name wolfresco2Backup 

job failed Logs: /var/log/veeam/Backup/<jobName>/Session_Date_Time_{jobid}

Troubleshooting

Failed to create snapshot

# lsmod | grep veeam
# modprobe veeamsnap
# dnf reinstall veeamsnap

If fails due to rebuild, check kernel headers, and current running kernel. I had the kernel headers for a newer kernel installed while still running off the old kernel.