備份

 

備份:ssh

 

backup_path='/tmp/backup'file

 

for file in $(rpm -ql openssh);do mkdir -p $backup_path/`dirname $file`; \cp -arf $file $backup_path/$file; donedi

 

恢復:備份

\cp  -arf  $backup_path/*   /path

相關文章
相關標籤/搜索