[操作疑難] 小弟 要幫學校 linux 備份 (唔知可以點搞)

本帖最後由 Curse 於 2016-10-11 21:58 編輯

小弟 對linux 只知道 基本command  
深入就唔熟

總共有3部 linux server  全部都係網站
我想3部都裝 samba 同 上網down backup.sh 再改野
自動bu 去 一個專放backup 既server
但發現 版本舊 唔知裝新版samba會唔會影響系統
1.Linux version 3.8.0-19-generic(builddeallspice)  version 4.7.3

2.linux version 2.6.32-431.29.2.e16.x86_64 (gcc cersion 4.4.7 20120313 (red hat 4.4.7-4)(gcc)

3.Linux version 3.0.0-12 generic (gcc version 4.6.1 (ubuntu/linaro 4.6.1-9ubuntu3)

backuppc

TOP

唔係要同 microshxt windows 連線,盡量唔好用 samba

TOP

回復 2 #fatdog

最慘既就係rpm都冇
backuppc 可以試下
咁變左要經ssh 囉backup

via HKEPC Reader for Android

TOP

回復 3 #cal22cal

點解既??

via HKEPC Reader for Android

TOP

回覆 5# Curse
無必要用,攞嚟煩,用 ssh 就用 ssh 喇。
安全唔係問題,就 ftp 仲好。

TOP

if all those linux server only running httpd
you only need to using tar to backup the httpd directory & configure file.
all the configure files are store in /etc, you can examine the detail of it.

if you want to check the running process , login to CLI as normal user, run below command to check the running process :-
1. )  ps aux|more
or
2.) netstat -an|more

I usually using rsync or tar to backup the server using ssh

另外第2台機應該是RHEL / CentOS 6.

TOP

also check your iptables rules  for protect / drop connect to samba port form outsider if you want to using samba to share folder between windows & linux pc.

TOP

if you web server also connect to sql server, then you need to also backup the databases. all information can be found on the /etc configure directory.
you need to take sometime to understand the full picture of your linux server setup/configure before processing backup using rsync or tar

TOP

小弟 對linux 只知道 基本command  
深入就唔熟

總共有3部 linux server  全部都係網站
我想3部都裝 samb ...
Curse 發表於 2016-10-11 21:55



你如果真是要安裝samba, only update/install from their own version, no need to using the most up-to-date version of samba, because samba 3 and samba 4 can connect with each other....

TOP