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


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
cd mydir
zip -r mydir


This command collects all excel files and zips them into
zip -r . -i *.xls


Remember to add the new zip file to your rsync command.
Vulnerability Scanner