Hello,
 is there a way even with a script to delete source files after a successful backup on AIX?
I need to backup a folder that contains daily DB2 backup files
Thanks
db
			
			
									
						
										
						- 
				barrett27
 - Enthusiast
 - Posts: 45
 - Liked: 4 times
 - Joined: May 18, 2022 1:58 pm
 - Contact:
 
- 
				rovshan.pashayev
 - Veeam Software
 - Posts: 659
 - Liked: 136 times
 - Joined: Jul 03, 2023 12:44 pm
 - Full Name: Rovshan Pashayev
 - Location: Czechia
 - Contact:
 
Re: Deleting source files after successful AIX backup
Hello,
Using Veeam Plug-in for IBM Db2 would be recommended option: https://helpcenter.veeam.com/docs/backu ... ml?ver=120
But in case you cannot or don't want use Plug-in, you can leverage post-job scripts, which will do cleanup after backup job, for standalone or managed agents.
Rovshan.
			
			
									
						
							Using Veeam Plug-in for IBM Db2 would be recommended option: https://helpcenter.veeam.com/docs/backu ... ml?ver=120
But in case you cannot or don't want use Plug-in, you can leverage post-job scripts, which will do cleanup after backup job, for standalone or managed agents.
Rovshan.
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
			
						Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
- 
				barrett27
 - Enthusiast
 - Posts: 45
 - Liked: 4 times
 - Joined: May 18, 2022 1:58 pm
 - Contact:
 
Re: Deleting source files after successful AIX backup
Hello Rovshan,
cannot use the plug-in for DB2 because the DB2 version is not supported.
Unfortunately the post-job script will be executed even if the job will end with errors.
Do you know a way to catch the backup status at the post-job script execution? I want to delete the DB2 dump only after a valid Veeam backup.
Thanks
db
			
			
									
						
										
						cannot use the plug-in for DB2 because the DB2 version is not supported.
Unfortunately the post-job script will be executed even if the job will end with errors.
Do you know a way to catch the backup status at the post-job script execution? I want to delete the DB2 dump only after a valid Veeam backup.
Thanks
db
- 
				rovshan.pashayev
 - Veeam Software
 - Posts: 659
 - Liked: 136 times
 - Joined: Jul 03, 2023 12:44 pm
 - Full Name: Rovshan Pashayev
 - Location: Czechia
 - Contact:
 
Re: Deleting source files after successful AIX backup
Hello,
In which mode are you running the Veeam Agent: standalone or managed by VBR?
			
			
									
						
							In which mode are you running the Veeam Agent: standalone or managed by VBR?
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
			
						Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Who is online
Users browsing this forum: No registered users and 3 guests