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.
Vulnerability Scanner