Backing up your Data using a Batch File

You may not have the ability to install the SmartBackup client but still need to backup your files. An easy way to do that without the backup software is by using a FTP batch file. Here is an example of how to do that.

First you need to create a text file with the commands you want to run. We will call this ftpbackup.txt. The file should look like this:

cd backup/folder (select the directory you are backing up to)
prompt n
mput *.*

The mput command copies all of the files from your local folder to the server. If you need to copy files from the server to your local computer use mget. Once you have that file saved you will need to create the batch file. We will call that ftpbackup.bat. It should look like this:

ftp -s:ftpbackup.txt (sitename)

Now that you have your batch file you can run it from a command prompt or set it up as a scheduled task to run as often as you like. Remember this is not as secure as the backup utility. It does store you password in plain text but it will work in a pinch.

SmartFile is a business file mangement platform that gives you more control, compliance and security.