User Tools

Site Tools


daily_full_week_backup_and_rotation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

daily_full_week_backup_and_rotation [2009/06/18 00:49]
k2patel created
— (current)
Line 1: Line 1:
-====== Daily Full week backup ====== 
  
-NOTE : This is stupid script but do good job 
- 
-<code bash | bkup.sh> 
-#!/bin/bash 
-cd /home 
-rm -f /​home/​ketan.$(date "​+%a"​).tar 
-tar -C /home/ketan -pcf /​home/​ketan.$(date "​+%a"​).tar . 
-chmod 600 /​home/​ketan.$(date "​+%a"​).tar 
-chown ketan:ketan /​home/​ketan.$(date "​+%a"​).tar 
-</​code>​ 
daily_full_week_backup_and_rotation.1245286195.txt.gz ยท Last modified: 2020/08/10 02:29 (external edit)