LinuxQuestions.org
Help answer threads with 0 replies.
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 03-30-2011, 07:22 AM   #1
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 353
Blog Entries: 17

Rep: Reputation: 51
Backup


I have seen several backup schemes and several backup tools but none gives me the type of configuration I want.

Therefore after much testing and practice , I have developed an LVM based snapshotting environment.

All my partitions are on LVM execpt for boot.

And I after I have done a full install of slackware13.1 , I made a snapshot of it and I will try to do backup based on original logical volumes and snapshot logical volumes such as ::

ln `snapshot partion` /HardLinkedSnapshot
rsync OriginalLogicalVolume /HardLinkedSnapshot -Ab --backup=/backup
rm -rf /HardLinkedSnapshot
tar -cvvf IncrementalBackupOFMyPartition-`date`.tar /backup
xz -vvv9e IncrementalBackupOFMyPartition-`date`.tar

Is this correct or are there any other steps to take?

Since this be in my cron at 6am and i intend to have NFS mounts.
 
Old 04-01-2011, 06:32 AM   #2
jheengut
Member
 
Registered: Sep 2006
Location: Providence, Moka Mauritius
Distribution: Slackware, Lubuntu
Posts: 353

Original Poster
Blog Entries: 17

Rep: Reputation: 51
new backup arch

well I changed the codes to this after some testing

rsync OriginalLogicalVolume/ SnapshotLogicalVolume -Ab --backup=/backup
rsync /backup/ SnapshotLogicalVolume

tar -cvvf IncrementalBackupOFMyPartition-`date`.tar /backup
xz -vvv9e IncrementalBackupOFMyPartition-`date`.tar

It seems to work...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Newbie trying to write a simple backup script to backup a single folder Nd for school stryker759a Linux - Newbie 2 09-16-2009 09:52 AM
backup question - NFS share in Ubuntu 9.04 backup to READYNAS NV+ newellrp1 Linux - Newbie 3 05-19-2009 04:57 PM
how to create backup MYSQL Script to backup my database for every 1hour RMLinux Linux - Newbie 3 11-20-2008 11:13 AM
LXer: Automatic backup for sporadically connected clients with Box Backup LXer Syndicated Linux News 0 08-29-2008 09:40 PM
Backup system ala rdiff-backup, but without mirror and with dst encryption dr_dex Linux - Software 0 08-04-2008 04:39 AM

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

All times are GMT -5. The time now is 02:37 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