Standalone backup agents for Linux, Mac, AIX & Solaris workloads on-premises or in the public cloud
-
yayopec
- Novice
- Posts: 7
- Liked: 1 time
- Joined: Feb 23, 2021 11:43 am
-
Contact:
Post
by yayopec »
this post
Hi there!
Currently I'm writing a script that uses the
Code: Select all
veeamconfig job start --name <jobname>
command.
In the Linux GUI version you can see a progress bar that indicates what the current status is (in percent).
As the functionality to display the progress seems to exist, I was wondering whether there is a command to get the status in percent via bash.
Does anyone know a command, that shows the real-time percentage of a running backup job?
Any help is appreciated!
-
PTide
- Product Manager
- Posts: 6551
- Liked: 765 times
- Joined: May 19, 2015 1:46 pm
-
Contact:
Post
by PTide »
this post
Hi,
There is no direct veeamconfig command for that, but you can get the backup job session log from
Code: Select all
/var/log/veeam/Backup/JOBNAME/Session_TIME_STAMP_\{SESSION_ID\}/Job.log
and grep the very last "
vmb | Session progress:" string from there. It will give you something like this:
Code: Select all
[23.02.2021 23:06:26.359] <140165645330176> vmb | Session progress: 100%; processed: [7596298240/7475261440] read: [6729760768], transfer: [2242634263] speed: 91816207 bottleneck: 82/98/2/48
Hope this helps,
Thanks!
-
yayopec
- Novice
- Posts: 7
- Liked: 1 time
- Joined: Feb 23, 2021 11:43 am
-
Contact:
Post
by yayopec »
1 person likes this post
Hi,
Sorry for the late reply. Implementing this in my script was not as easy as I hoped but your answer worked for me!
Thank you very much!!
Users browsing this forum: No registered users and 5 guests