©XSIBackup-Free: Free Backup Software for ©VMWare ©ESXi

Forum ©XSIBackup: ©VMWare ©ESXi Backup Software


You are not logged in.

#1 Re: General matters » Cronjob won't run » 2019-12-11 07:35:41

Pefekt this it was.. strange why it didn't set the right permission at installation... i change my job tomorrow... i would like to donate you guys for the fabulous backupsoftware and support somthing... on wich bank can i transfer a donation?

best regards
Marco

#2 Re: General matters » Cronjob won't run » 2019-12-10 08:41:03

yea the directorys xsi-dir, var and logs have 0755 and the xsibackup.log is 0644 i think thats ok
what i see when i compare to other xsi... the conf directory and the files inside are only 0700 i changed the permission like an other working xsi backup.. i will send feedback tomorrow... thx a lot

#3 General matters » Cronjob won't run » 2019-12-09 08:11:46

mbosshard
Replies: 13

Hello

i've a problem to get the cronjob run on an ESXi
after i installed over the command xsibackup --cron-install the jobs folder wasn't created
i manually did this...
after i use xsibackup --update-cron the job is inserted in /var/spool/cron/crontabs/root
on the time it should run i see in  /var/log/syslog.log the line i inserted in the root-crontab but it won't creat any backup... neighter the log write something...

on saturday i run the job manually with
xsibackup --backup-id=001 and it worked like it should...

here my config files

root-crontab (/vmfs/volumes/RAID5/xsi-dir/conf)
0 1 * * 0 "/vmfs/volumes/RAID5/xsi-dir/jobs/001" > /dev/null 2>&1

xsiopts (/vmfs/volumes/RAID5/xsi-dir/conf)
xsidefaultpath="/vmfs/volumes/RAID5/xsi-dir"

001 (/vmfs/volumes/RAID5/xsi-dir/jobs)
# This is a backup job file example. It starts with the path to your
# xsibackup file and ends with the redirection to the log file. Please
# do make sure that you keep first and last lines, changing paths to
# match your working environment.

"/vmfs/volumes/RAID5/xsi-dir/xsibackup" \
--backup-prog=vmkfstools \
--certify-backup=yes \
--backup-point=/vmfs/volumes/backup_nas \
--date-dir=yes \
--backup-type=custom \
--backup-vms=EUPSBS001.eup.local!EUPSBS001.eup.local_2.vmdk \
--backup-room=3200 \
--backup-how=Hot \
--remote-xsipath=/vmfs/volumes/RAID5/xsi-dir \
--use-smtp=2 \
--mail-to=hans@ueli.com \
--backup-id=001 \
--description="XSITools backup of production VMs" \
--override=xsibakfilter \
--on-success="backupId->005" \
--on-error="backupId->005" \
--exec=yes >> "/vmfs/volumes/RAID5/xsi-dir/var/logs/xsibackup.log"

any idea about what i can check?

thx a lot!!

#4 Re: General matters » cronjob » 2019-07-17 12:39:16

well 7 wouldn't work for sunday (maybe its for everyday/like you said)
If i won't post on next monday an issue, 0 will work for Sunday
thx a lot for help smile

#5 Re: General matters » cronjob » 2019-07-17 09:22:55

i ihave an other customer that i run crontab like this
0 18 1-7 * 6 "/vmfs/volumes/Datastore_SAS_10k_RAID5/xsi-dir/jobs/005"
0 18 8-15 * 6 "/vmfs/volumes/Datastore_SAS_10k_RAID5/xsi-dir/jobs/001"
0 18 16-23 * 6 "/vmfs/volumes/Datastore_SAS_10k_RAID5/xsi-dir/jobs/005"
0 18 24-31 * 6 "/vmfs/volumes/Datastore_SAS_10k_RAID5/xsi-dir/jobs/001"
0 18 * * 5 "/vmfs/volumes/Datastore_SAS_10k_RAID5/xsi-dir/jobs/003"

works perfectly... just for info..

#6 Re: General matters » cronjob » 2019-07-17 09:17:58

yesterday evening it worked perfectly.. i will inform ya if anything won't work!
thx a lot! smile

#7 Re: General matters » cronjob » 2019-07-16 12:03:10

ok thanks a lot for your infos.. i try now with this

0 19 * * 1-6 "/vmfs/volumes/datastore1/xsi-dir/jobs/003"
0 19 * * 0 "/vmfs/volumes/datastore1/xsi-dir/jobs/002"

if warning persist i will try with mon,sun etc
i will give feedback

#8 General matters » cronjob » 2019-07-16 07:23:12

mbosshard
Replies: 7

Hello

I go crazy with the cronjobs i have some jobs that run simultaneously even though i configure the root-rontab right

Here my settings:
/var/spool/cron/crontabs/root

0 19 * * 1-6 "/vmfs/volumes/datastore1/xsi-dir/jobs/003" # Added by XSIBackup
0 19 * * 7 "/vmfs/volumes/datastore1/xsi-dir/jobs/002" # Added by XSIBackup

**/xsi-dir/conf/root-crontab

0 19 * * 1-6 "/vmfs/volumes/datastore1/xsi-dir/jobs/003"
0 19 * * 7 "/vmfs/volumes/datastore1/xsi-dir/jobs/002"

**/xsi-dir/jobs/002

"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=vmkfstools \
--certify-backup=yes \
--backup-point=/vmfs/volumes/backup_nas/$( date +%Y%m'00000000' ) \
--backup-type=running \
--backup-room=2200 \
--backup-how=Hot \
--remote-xsipath=/vmfs/volumes/datastore1/xsi-dir \
--use-smtp=2 \
--mail-to=e-mail@domain.com \
--backup-id=002 \
--description="XSITools backup of production VMs" \
--on-success="backupId->005" \
--on-error="backupId->005" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"

**/xsi-dir/jobs/002

"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=vmkfstools \
--certify-backup=yes \
--backup-point=/vmfs/volumes/backup_fuer_externUSB \
--backup-type=running \
--backup-how=Hot \
--remote-xsipath=/vmfs/volumes/datastore1/xsi-dir \
--use-smtp=2 \
--mail-to=e-mail@domain.com \
--backup-id=003 \
--description="XSITools backup of production VMs" \
--on-success="backupId->005" \
--on-error="backupId->005" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"


Error:
Today i got an e-mail with boath jobs where running yesterday evening..

warning job id:003
--------------------------------------------------------------------------------------------
Mon Jul 15 19:00:06 UTC 2019
XSIBACKUP-FREE 11.0.1 AT HOST:
esxi.argonag.local    IP v4: 192.168.30.15/ 255.255.255.0
VMware ESXi 6.7.0 build-8169922

Done hot backup (id: 003) using vmkfstools (no compression)
Available room in device /vmfs/volumes/backup_fuer_externUSB before backup: 1415 Gb.
Sparse size on disk of the selected virtual machines: 1270 Gb.
Needed room in device /vmfs/volumes/backup_fuer_externUSB for backup: 1214 Gb.
(Id)VM Name    State    Size (Gb)    Stop    Copy    Start    Time (min)    Speed (mb/s)
(4) Server01    ON    850/ 850    NO (hot backup)    OK    -    270    53/ 53
(5) Exchangeserver    ON    364/ 420    NO (hot backup)    OK    -    128    48/ 55
Available space in device /vmfs/volumes/backup_fuer_externUSB after backup: 1419 Gb.
Complete backup elapsed time: 398 min
Chained backup --on-error: backupid->005
Chained backup --on-success: backupid->005
Backup of ESXi configuration is not available in XSIBACKUP-FREE
Get XSIBACKUP-PRO at https://33hops.com
USE DISCOUNT COUPON XSIDREWYI

• [ Mon Jul 15 19:01:50 UTC 2019 ] WARNING (CLCERTN0), details [Server01] warning: the backup cannot be certified as the resulting disk will include some snapshots

--------------------------------------------------------------------------------------------


warning job id:002
--------------------------------------------------------------------------------------------

Done hot backup (id: 002) using vmkfstools (no compression)
The backup room has been limited to 2200 Gb.
Available room in device /vmfs/volumes/backup_nas/20190700000000 before backup: 1415 Gb.
Sparse size on disk of the selected virtual machines: 1270 Gb.
Needed room in device /vmfs/volumes/backup_nas/20190700000000 for backup: 1214 Gb.
(Id)VM Name    State    Size (Gb)    Stop    Copy    Start    Time (min)    Speed (mb/s)
(4) Server01    ON    850/ 850    NO (hot backup)    OK    -    261    55/ 55
(5) Exchangeserver    ON    364/ 420    NO (hot backup)    OK    -    128    48/ 55
Available space in device /vmfs/volumes/backup_nas/20190700000000 after backup: 1467 Gb.
Complete backup elapsed time: 390 min
Chained backup --on-error: backupid->005
Chained backup --on-success: backupid->005
Backup of ESXi configuration is not available in XSIBACKUP-FREE
Get XSIBACKUP-PRO at https://33hops.com
USE DISCOUNT COUPON XSIDREWYI

• [ Mon Jul 15 19:01:50 UTC 2019 ] WARNING (CLCERTN0), details [Server01] warning: the backup cannot be certified as the resulting disk will include some snapshots


--------------------------------------------------------------------------------------------



On Sunday only the job 002 worked perfectly like i set in root-crontab...
any idea..?

thx a lot

#9 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2019-02-27 07:25:14

Hello smile ahh good to know.. i will try with your recomendation smile thx a lot.. thinking and check for the pro version

#10 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2019-02-26 13:01:37

resume
how can i get this imagebackup vm to start?
With previous version i registred with the vmx file the imagebackup on esxi and could start it.. now with 11.0.1 it doesnt work like this.. what iritates me is the data folder.. with subfolder 0 to f... with files inside like 02925ba6f3e04cec82c0da43097f6ea2c48b852f 0_o. and the vmdk file is 4KB --> backup logs successful backup...

#11 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-31 07:13:28

Ah hehe no not date-dir i mean with the new xsi backup i get on the backup destination an folder named data... that wasn't in the previouse version...

#12 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-20 07:03:20

For what is this datafolder?


greetings smile


any help?

#13 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-18 12:33:30

well with logical thinking i shoud understand it smile like i thought that this woud make me an timestamp folder smile before i used --date-dir=yes but this was the old xsi version..

thx for helping

#14 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-18 09:20:56

Ok
This is my backup job
"/vmfs/volumes/datastore1/xsi-dir/xsibackup" \
--backup-prog=XSITools:z \
--certify-backup=yes \
--backup-point=/vmfs/volumes/backup_intern/$( date +%Y%m'00000000' ) \
--backup-type=Custom \
--backup-vms="Server03" \
--backup-how=Hot \
--remote-xsipath=/vmfs/volumes/datastore1/xsi-dir \
--use-smtp=2 \
--mail-to=mail@mailaddress.com \
--backup-id=002 \
--description="XSITools backup of production VMs" \
--override=xsibakfilter \
--on-success="backupId->005" \
--on-error="backupId->005" \
--exec=yes >> "/vmfs/volumes/datastore1/xsi-dir/var/logs/xsibackup.log"

i wasn't sure about the backup-point the "/$( date +%Y%m'00000000' )" part...

so with that i shoudn't get an stimestamped folder?

thx alot for help smile

#15 Re: General matters » GUI XSIBACKUP-FREE 11.0.1 » 2018-07-17 09:19:29

Hello smile

How do i have to modify the job file to leave the backup-point without an datedir folder.
I always like to overwrite the folder/files

thx a lot

Board footer