Within hours or less of deploying the Dell KACE Appliance we were getting valuable data back, particularly the inventory and asset.
Jim Austin, Director of Technical Services
Webster Central School District

How to setup a process to automatically move the backup files off of the KACE K1000 appliance to an external source.

You can use a script that leverages Windows FTP to automatically copy the two backup files off your KACE K1000 appliance into a directory with a date-based name. Here is how you set it up:

1) Enable FTP by going to K1000 Settings ->Security Settings -> click [Edit Mode] -> check off “Enable backup via FTP” -> click “Set Security Options”

2) On the Windows machine you want to copy the files to, create a directory that you want the backups to be saved to (for this example we will use c:\K1000Backup)

3) Copy the attached files (backup.txt and bkupkbox.zip) found at the bottom of this FAQ to that directory

4) Open “backup.txt” and look at the first line

a) Only replace “kbox” with the name or IP address of your K1000 appliance (for example “open K1000), make no other changes in this file

5) Save “backup.txt” then rename it to “backup.scr”

6) Unzip “bkupkbox.zip”, this will place “bkupkbox.bat” in the folder

a) If your unzip program unzips the bkupbox.bat to its own folder, move the file to the root folder where backup.scr is located (for example C:\K1000Backup\bkupkbox.bat)

7) Open a command prompt and navigate to the folder you are using (for example C:\K1000Backup)

8) Type in the following to run the backup, replacing our example of C:\K1000Backup with the folder you created in step 2:

BKUPKBOX C:\K1000Backup

9) This will call the batch file that will then run the script (.scr file) to pull the backup files into a folder with the days date. (for example: C:\K1000Backup\20101105\)

For reference here are the ftp commands if you need to test manually:

----------

open (enter the K1000 name or IP address here without the "( )" )
kbftp
getbxf
prompt
type binary
mget kbox_*
close
quit

------

These files will not truncate so it is important to delete them on a regular basis so it does not fill the FTP destination.

--------------------------------

If you want the script to run automatically on a regular basis you can use the Windows Task Scheduler to accomplish this.

** These directions are for Windows 7, other Windows operating systems may have slightly different options. If you need assistance please use Support.Microsoft.Com for assistance in using the Task Scheduler **

1) Go to (All) Programs ->Accessories ->System Tools ->Task Scheduler

2) In the Task Scheduler tool bar click on “Action” then “Create Basic Task…”

3) Type a name for the task (like “K1000 Backups”) and a description then click “Next”

4) Select at what time that you want the script to run then click “Next”

5) Select the time you want the task to run then click “Next”

6) Select “Start Program” then click “Next”

7) Click “Browse” and navigate to where you have “bkupkbox.bat” (for example C:\K1000Backup\bkupkbox.bat)

8) In both the “Add arguments” and the “Start in” fields type in the folder where the “bkupkbox.bat” file is located (for example C:\K1000Backup) then click “Next”

9) Click “Finish”

10) Test by selecting “Task Scheduler Library” on the left hand pane then right click on the name of the task for the backup, then select “Run”

 ** If this fails to run please contact us via your normal support channel. We will be able to give support for the backup and for the scripts we provide as well as best effort support for the Task Scheduler part of this FAQ **

attached files: backup.txt, bkupkbox.zip

 

Updated on: 4/19/2013