Results 1 to 9 of 9

Thread: How about backup with init + zip in One Step?

  1. #1
    Join Date
    Mar 2003
    Posts
    383

    How about backup with init + zip in One Step?

    For a daily backup job,

    Is there a way to "Backup Datbase dbXYZ to backup_dbXYZ with init", go, then next statment of master..xp_cmdshell to zip the backup_dbXYZ.bak to backup_dbXYZ.zip file?

    Also, this may need to be done via remote server..

    thanks
    David

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    You can create two step job to do just that.

    Did you run into any issues?

  3. #3
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  4. #4
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932

  5. #5
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    Cool.
    It handles YUKON too.
    I need to evaluate this.

    Thanks for the info pal.

  6. #6
    Join Date
    Mar 2003
    Posts
    383
    thanks for the info.
    But I have around 50 MSDE servers, if each require a license of SQLZip, the cost will be $500*50, not like feasible.
    Thus, may still go to the second step by using free winzip to do so...

    is anyone familiar with the winzip code with at least one parameter pass into?

  7. #7
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    You can try gzip.exe

    http://www.gzip.org/

    This is a command line utility, so you can call it after your backup is finished.

  8. #8
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254

  9. #9
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    I hope next version (YUKON) has this compressing feature built in. It will useful for all the VLDBs we have.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •