DEFINITIONS

Definitions More Info.
Definition ID695
TitleLINUX
CategoryBASH SCRIPT
Definitionrenklendirilmis echo, print bash script
Definition Description#! /bin/bash # \033[05;44;33m text basina , \033[0m text sonuna koy kapa file_name=SqlBackup current_time=$(date "+%Y%m%d%H%M%S") new_filename=$file_name$current_time clear echo "\033[05;44;33mClearing temporary sqlBcktmp directory.\033[0m" rm -rfv /storage/sqlBcktmp/*>>sqlMaintanence.log echo "\033[05;44;33mClearing done.\033[0m" sleep 5 echo "\033[05;44;33mPostgresql FullBackup starts now.\033[0m" sleep 5 echo "\033[05;44;33mCreateing Backup File:$new_filename\033[0m" pg_basebackup -U postgres -p 5433 -P --xlog --format=t -D /storage/sqlBcktmp/$n$ sleep 5
RecordBycunay
Record Date31-12-2015 14:03:00
Düzenle
Kopyala
Sil