Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pre and Post command documentation?
#1
I am looking for a new backup software application and I am evaluating Hasleo Backup Suite to see if it meets my needs. I'm new to this forum and this is my first post, as I am on a "discovery" mission.

My current setup runs the backup program from the command line. There are tasks I need to run prior to the backup running, and tasks I need to run after the backup runs.  I see that the command line utility, BackupCmdUI.exe, is only available with the Professional version.  As I have 4 computers (home use) that I need backup software for, the cost for all four is a bit too high for me.  I don't see a multi/family discount for Professional, so I have experimenting with the Pre-command and Post-command options.  

Is there any documentation for using the pre-command and post-command options?  I looked and did not see any in the online documentation.  Specifically what I am looking for is if there is a way to pass the current backup run backup type as a parameter to the scripts.  For example, if the backup job is currently running a FILE backup and the backup was INCremental, then I was hoping I could pass something like %BackupType% %BackupScope%, or $BackupType $BackupScope to the scripts to know if the current job is a DATA backup vs. SYSTEM (image) backup, and if the backup job is INC vs DIF vs FUL.  
Any chance this exists in the pre/post commands, the ability to pass backup type information to your scripts?
TIA
-v/s-
Reply
#2
@viscus_sweats,

Welcome to the Hasleo Forums.  Your questions are beyond my knowledge level, but our Forum Administrator and other Moderators are very knowledgeable about the command line intricacies of the Hasleo Backup Suite versions.  You will receive a reply within 12 hours.

Once again, welcome to Hasleo.

Regards,
Phil
Reply
#3
@viscus_sweats   It should be possible, with some additional scripting, add a precursor script to the Pre-command and Post-command scripts.

Each Task (backup job) has its own set of Pre and Post commands, so the scripts associated with each Task will already know if a DATA or SYSTEM backup is being performed. Your Pre scripts can be tailored as necessary for this.

Here is a sample script, a .txt file that should be changed to .bat, that can determine the type of the latest backup. The produced flag could then be used with your scripts.


.txt   BackupType.txt (Size: 1.36 KB / Downloads: 8)
Reply
#4
@viscus_sweats,

Welcome to the Hasleo forum, and thank you for your interest in Hasleo Backup Suite.

The current version of Hasleo Backup Suite does not support passing parameters such as the current backup type to pre-command or post-command scripts. We understand that this would be a very useful feature, and we will consider improving it in future versions.

Regarding the CLI, you are correct. The command-line utility BackupCmdUI.exe is only available in the Professional edition and above. The Home/Free edition does not support the CLI.

You should know that our product prices are already very affordable, so we usually do not offer additional discounts for the Professional edition. However, considering that you are using it for home use and need multiple licenses for 4 computers, you can contact [email protected] and explain your situation. We may be able to offer some multi-license discount.

Thank you again for evaluating Hasleo Backup Suite. If you have any other questions, please feel free to ask.

Best regards,
Reply
#5
(Today, 12:53 AM)Bespoken Wrote: @viscus_sweats   It should be possible, with some additional scripting, add a precursor script to the Pre-command and Post-command scripts.

Each Task (backup job) has its own set of Pre and Post commands, so the scripts associated with each Task will already know if a DATA or SYSTEM backup is being performed. Your Pre scripts can be tailored as necessary for this.

Here is a sample script, a .txt file that should be changed to .bat, that can determine the type of the latest backup. The produced flag could then be used with your scripts.

Thank you for the information.  I see what you're doing in the script example. Looks like you are parsing the last file name in the target folder and determining if the name contains one of the backup types (inc, diff, or full). I appreciate your time in putting this example together, it helps a lot.
Thank you,
-v/s-
Reply
#6
(Today, 03:26 AM)admin Wrote: @viscus_sweats,

Welcome to the Hasleo forum, and thank you for your interest in Hasleo Backup Suite.

The current version of Hasleo Backup Suite does not support passing parameters such as the current backup type to pre-command or post-command scripts. We understand that this would be a very useful feature, and we will consider improving it in future versions.

Regarding the CLI, you are correct. The command-line utility BackupCmdUI.exe is only available in the Professional edition and above. The Home/Free edition does not support the CLI.

You should know that our product prices are already very affordable, so we usually do not offer additional discounts for the Professional edition. However, considering that you are using it for home use and need multiple licenses for 4 computers, you can contact [email protected] and explain your situation. We may be able to offer some multi-license discount.

Thank you again for evaluating Hasleo Backup Suite. If you have any other questions, please feel free to ask.

Best regards,

Thank you for the additional information.  Once I complete my evaluation, I may very well contact sales and explain my situation.
Thank you,
-v/s-
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)