Go Back   The UNIX and Linux Forums > Homework and Emergencies > Homework & Coursework Questions


Homework & Coursework Questions Students must use and complete the template provided. If you don't, your post may be deleted! Special homework rules apply here.

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 08-31-2012
Registered User
 
Join Date: Aug 2012
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Question incremental or full backup ???

Hi. Can someone tell me if the following script that i have made is a script for INCREMENTAL BACKUP or FULL BACKUP. My teacher told me that is doing an FULL BACKUP.


• find /etc /var /home -newer /backups/.backup_reference > /backups/.files_to_archive
• touch /backups/.backup_reference
• tar -zcvf /backups/incr/incr_backup-$(date +%F).tar.gz --files-from /backups/.files_to_archive



#!/bin/bash

echo "$(/bin/date +"%Y-%m-%d %H:%M:%S") START backup incremental..."
/bin/find /etc /var /home -newer /backups/.backup_reference > /backups/.files_to_archive
/bin/touch /backups/.backup_reference
/bin/tar -zcvf /backups/incr/incr_backup-$(date +%F).tar.gz --files-from /backups/.files_to_archive
echo "$(/bin/date +"%Y-%m-%d %H:%M:%S") FINISH backup incremental..."
Sponsored Links
    #2  
Old 08-31-2012
Mead Rotor
 
Join Date: Aug 2005
Location: Saskatchewan
Posts: 16,374
Thanks: 491
Thanked 2,535 Times in 2,418 Posts
Quote:
Use and complete the template provided. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:



2. Relevant commands, code, scripts, algorithms:



3. The attempts at a solution (include all code and scripts):



4. Complete Name of School (University), City (State), Country, Name of Professor, and Course Number (Link to Course)
Please review the rules, which you agreed to when you registered, if you have not already done so.

Thank You.

The UNIX and Linux Forums.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
incremental and full backup.. please help me bender-alex UNIX for Dummies Questions & Answers 9 08-31-2012 01:03 PM
FULL or INCREMENTAL ??? bender-alex Shell Programming and Scripting 1 08-31-2012 01:02 PM
Incremental Backup proactiveaditya Windows & DOS: Issues & Discussions 0 09-29-2009 10:11 PM
Incremental backup agasamapetilon Shell Programming and Scripting 1 08-24-2009 08:38 PM
tar - incremental backup Funky_ass Shell Programming and Scripting 0 07-19-2006 07:28 AM



All times are GMT -4. The time now is 10:26 PM.