Tested on a 3730
Prerequisite: FTP must be enabled from within the DotHill GUI or SSH (set protocols ftp enabled)
Do not do this from a Windows terminal ftp, it does not work!
From a Linux terminal, navigate to the directory you would like the logs to be downloaded to then type:
ftp {IP of DotHill}
Login as user "manage", default password is "!manage"
If no filename is applied the default name will be "logs".
get logs [filename]
This will zip and download the log to the current directory of the local ftp session.
Here is a sample session capture:
# ftp 192.168.101.229 Connected to 192.168.101.229. 220-Welcome to Pure-FTPd. 220-You are user number 1 of 5 allowed. 220-Local time is now 15:52. Server port: 21. 220-This is a private system - No anonymous login 220 You will be disconnected after 15 minutes of inactivity. 500 This security scheme is not implemented 500 This security scheme is not implemented KERBEROS_V4 rejected as an authentication type Name (192.168.101.229:root): manage 331 User manage OK. Password required Password: !manage ...... ftp> get logs local: logs remote: logs 227 Entering Passive Mode (192,168,101,229,74,141) 150-Starting operation: ...... Operation Complete150-Accepted data connection 150 (10262651 bytes) to download 226-File successfully transferred 226 0.850 seconds (measured here), 11.52 Mbytes per second 10262651 bytes received in 0.85 seconds (1.2e+04 Kbytes/s) ftp> quit # ll logs -rw-r--r-- 1 root root 10262651 Jul 25 12:51 logs
0 Comments