/build/static/layout/Breadcrumb_cap_w.png

How can I automatically schedule FTP backups using K1000?

Sometime, we want he easy way to automaticlly schedule FTP backup to Windows 7 pc.


0 Comments   [ + ] Show comments

Answers (2)

Posted by: jverbosk 11 years ago
Red Belt
3

Here's the KACE article I used and my notes on setting up the scheduled task on a Windows server:

http://www.kace.com/support/kb/index.php?action=artikel&cat=1&id=590&artlang=en&highlight=

Note - set to run daily @ 1AM
____________________________________________

1) The backup.scr should be as follows:

open kbox
kbftp
getbxf
prompt
type binary
mget kbox_*
close
quit


2) The Scheduled Task should have the following settings:

Run:
D:\KACE\Backups\K1100\bkupkbox.bat D:\KACE\Backups\K1100\

Start in:
D:\KACE\Backups\K1100

Run as:
administrator

Hope that helps!

John

Posted by: BillL 11 years ago
White Belt
2

run program atftp.bat, it will automitically create Date+Time subfolder under c:\FTP according to the schedule time, such as every day 12:01pm, then ftp the K1000 and backup:

@echo off

c:

cd\

if exist C:\FTP goto Billset

md FTP

 

:Billset

cd\FTP

 

(echo open kbox

echo kbftp

echo getbxf

echo prompt

echo type binary

echo get kbox_dbdata.gz

echo get kbox_file.tgz

echo close

echo quit) >c:\FTP\ftpcommand.txt

 

:ftpbat

(echo cd\FTP

echo set ftptime=%%date:~0,4%%%%date:~5,2%%%%date:~8,2%%%%time:~0,2%%%%time:~3,2%%

echo md %%ftptime%%

echo cd %%ftptime%%

echo ftp -s:c:\FTP\ftpcommand.txt) > ftp.bat

 

:Billftp

REM please change the automatic backup time and date bellow

REM you can check schedule by run cmd->at

REM you can delete schedule by cmd->at id /delete  (ID you can get from at)

at 12:01 /every:Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday c:\FTP\ftp.bat

 


Comments:
  • Did you mean for this to be a blog? - dugullett 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ