|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| 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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
Quote:
Thank You. The UNIX and Linux Forums. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| 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 |
|
|