How do I FTP the nightly backup of the k1000?
I had a bat calling a script in K1000 v5, but they went and changed the naming convention for version 6 which I didn't notice until we crashed a couple weeks ago.
Thank you!
Anyway, my script is no longer working. I can't find instructions for backing the 1000 off to a file server here at itninja, which surprises me.
How can I get my offsite backup working again?
Thank you!
--
Just for info, this is what I'm trying...I'm guessing the * is causing the issue but I don't know how to get around it.
bat:
rmdir c:\k1000backup /s /q
mkdir c:\k1000backup
cls
set scrptloc=c:\
if "%1%"=="" goto usage
cd /D %1
for /F "usebackq tokens=1-3 delims=./- " %%p in (`date /t`) do mkdir %%r%%q%%p
for /F "usebackq tokens=1-3 delims=./- " %%p in (`date /t`) do cd %%r%%q%%p
echo.
echo backing up to %cd%
"%systemroot%\system32\ftp.exe -i" -s:"%scrptloc%\backup.scr"
pause
goto end
:usage
echo usage:
echo bkupkbox dir
echo examples:
echo bkupkbox .
echo bkupkbox \\server\share
echo bkupkbox c:\
:end
cd "%scrptloc%"
Script:
open kbox1000
kbftp
getbxf
prompt
type binary
mget *.tgz
close
quit
----
Big bonus is the ability to just download just today's date.
0 Comments
[ + ] Show comments
Answers (2)
Answer Summary:
Please log in to answer
Posted by:
rockhead44
9 years ago
Top Answer
https://support.software.dell.com/k1000-systems-management-appliance/kb/184159
Even using this I had to tweak my process a bit following the 6.4 upgrade. This is the Script I use differs slightly from the official instructions but this is how I got mine to copy the necessary files:
open (my K1000's IP Address)
kbftp
getbxf
prompt
type binary
mget kbox_*
close
quit
Posted by:
DanHarmon
9 years ago