(Translated by https://www.hiragana.jp/)
GitHub - rril/rbackupxi: backup ESXi5.x from remote server to datastore on remote server.
Skip to content
/ rbackupxi Public

backup ESXi5.x from remote server to datastore on remote server.

Notifications You must be signed in to change notification settings

rril/rbackupxi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

RbackupXI

This script run only on remote server. Keeps backups up to two copies of each server it is backing up Backing up servers running only the actual

--exclude-vm Exclude vms in regex syntex or comma separated (,) list of servers. --backup-point Full path with datastore for backup point on ESXi server. (recomended NFS or other remote FS.) --host-ip Host IP (or dns) for remote connection

Syntex: rbackup.sh --exclude-vm="$EXCLSRV" --backup-point=$BACKUP_PATH_ON_SERVER --host-ip=$HOST_IP

Example:

#!/bin/bash
HOST_IP=$1
TEST=false
EXCLSRV="server-231,Orouter-146,win-serv1,mysql1"
BACKUP_PATH_ON_SERVER=/vmfs/volumes/backup/servers/

cd /mnt/backups/
HOST_NAME="${HOST_IP//[!0-9a-Z]/_}"
./rbackup.sh --exclude-vm="$EXCLSRV" --backup-point=$BACKUP_PATH_ON_SERVER --host-ip=$HOST_IP  > ./access.$HOST_NAME.log 2>./error.$HOST_NAME.log &

About

backup ESXi5.x from remote server to datastore on remote server.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages