Sql Backup And FTP

Welcome Guest Search | Active Topics | Log In | Register
New Topic Post Reply
SqlBackupAndFtp - Exit Codes Options · View
reset
#1 Posted : Tuesday, August 31, 2010 5:43:02 AM Quote
Rank: Newbie

Groups: Registered

Joined: 8/15/2010
Posts: 2
Location: Singapore
Hi.

Does SqlBackupandFtp.exe return a code after execution?

The idea is to trigger the backup job with a call like

C:\Program Files\SQLBackupAndFTP\SQLBackupAndFTP.exe" -r "C:\new.jobx" -diff

and check the returned code (taking actions in case of failure).

Thank you
Fabrizio
mikeshilov
#2 Posted : Tuesday, August 31, 2010 11:50:25 AM Quote
Rank: Administration

Groups: Administrators

Joined: 8/12/2009
Posts: 271
Hi,

It returns -1 on any fatal error and 0 if no error occured.
However it does not indicate whether the job succeeded or not. Probably we need to consider this as a feature ;)

BR,
Mike
Guest
#3 Posted : Tuesday, August 31, 2010 8:23:17 PM Quote
Rank: Guest

Groups:

Joined: 8/10/2009
Posts: 732
Yes, that would be a useful feature.
Thank you very much for your reply.
Fabrizio
Quick Reply Show Quick Reply
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You can create polls in this forum.
You can vote in polls in this forum.