Triad Hosting Incorporated Make Online Payments
Reseller Program 
Triad Hosting Incorporated Terms of Service  
    HOME         SERVICES     NETWORK SUPPORT ONLINE PAYMENTS CONTACT US
Triad Hosting Incorporated Triad Hosting Incorporated
Triad Hosting Incorporated
Affordable Business Class Web Hosting  

Remote Data Backup - Users Guide

Zipping Windows Files Via The Command Line

This guide will show you how to zip your files before you upload them to the backup server. Zipping your files into one zip file will save disk space and shorten your upload time. Note: Zipping your files before transfer is an optional feature, and not required.

1) Download Zip Executable File

http://stahlforce.com/dev/index.php?tool=zipunzip
2) Move executable file into the Windows folder
ie. c:\windows

3) Add following line to the backup script file you previously created, before the rsync command.

This command collects all content from a directory name "mydir" on the "c" drive, and zips them into mydir.zip.

c:
cd mydir
zip -r mydir.zip mydir
This command collects all excel files and zips them into mydir.zip.
c:
mydir
zip -r mydir.zip . -i *.xls
Note:
Remember to add the new zip file to your rsync command.

Top of Page
Linux OS Apache Server PHP mySQL Database Powered by CentOS
Copyright © 2003-2009. Triad Hosting Inc. All rights reserved.
We endorse Open Source Software.