LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-02-2012, 11:49 PM   #1
nayan123
LQ Newbie
 
Registered: Jun 2011
Posts: 2
Blog Entries: 1

Rep: Reputation: Disabled
Question incremental backup on tape drive


Dear Sir,

I want to take backup on LTO4 for Linux partition (mounted as user home ). How can I take incremental backup . I have 8 partition belongs to 8 home (including numbers of home on each partition ) in my NIS server and eight LTO4 tape drive. How can I take incremental data backup? Is there any GUI third party software there or any kind of script have to be run. Please help in this regards. I am totally stuck on it.

Regards
Nayan
 
Old 02-03-2012, 03:20 AM   #2
lithos
Senior Member
 
Registered: Jan 2010
Location: SI : 45.9531, 15.4894
Distribution: CentOS, OpenNA/Trustix, testing desktop openSuse 12.1 /Cinnamon/KDE4.8
Posts: 1,144

Rep: Reputation: 217Reputation: 217Reputation: 217
Hi,

Try look at my script for making incremental backups with TAR
-> post "Incremental Backup with TAR / simple FTP to another location and email status"

you can try including the directories in the include.txt file:
Code:
/home/
/home1/
/home2/

...
etc.
and leave out the FTP-ing part
Code:
# DELETE all these lines as they do FTP transfer

echo "FTP start:" >>stopwatch-$ARCHIVENAME.txt
# again I dont need exact time procedure { time ./lftpscript.sh; } 2>> stopwatch-$ARCHIVENAME.txt
{ ./lftpscript.sh; } 2>> stopwatch-$ARCHIVENAME.txt

ftpstop1=$(date +"%T h ( %s )")
ftpstopped=$(date +%s)

ftptime=$(($ftpstopped-$ftpstarted))

echo " " >>stopwatch-$ARCHIVENAME.txt
echo "Start of FTP: " $stopped1 >>stopwatch-$ARCHIVENAME.txt
echo "End of FTP: " $ftpstop1 >>stopwatch-$ARCHIVENAME.txt
echo "Time of FTP transfer: " $(date -d "1970-01-01 $ftptime sec" +"%H:%M:%S") / $ftptime "secs" >>stopwatch-$ARCHIVENAME.txt
and do the copy file to LTO tape instead (I don't know how exactly)

Last edited by lithos; 02-03-2012 at 03:22 AM.
 
Old 02-05-2012, 01:37 PM   #3
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
An often used application for backups is Bacula, it has a GUI too.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OS backup to a tape drive scopiansl Linux - Server 5 09-27-2011 08:54 PM
How do i backup onto tape drive? Astol Linux - Server 2 09-13-2007 08:10 PM
Using a DDS5 tape drive to restore from a DDS3 backup tape. AndrewCAtWayofthebit Linux - Hardware 1 05-14-2006 09:15 AM
cannot backup to tape drive complus Linux - Newbie 5 10-01-2003 05:17 AM
Tape incremental backup to different tape tungaw2001 Linux - Software 0 08-13-2003 09:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration