LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-03-2009, 11:27 AM   #1
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Rep: Reputation: 36
Looking for backup solution that uses multiple DVDs


As the subject says, I'm looking for a backup solution that works with my DVD writer.

I searched the forum and everything I found assumes you have a tape drive or a large disk on which to put everything. I have neither.

My only choice is to use my DVD writer. I have been using k3b, but, it's not ideal. For one thing, my home directory exceeds the capacity of a DVD. So much manual tweaking is required to make a backup. Second, there is no way that I've found to do incremental backups with this approach.

So, my requirements are for a backup method that can span a backup over multiple DVDs. It should allow both full and incremental backups. Naturally, search and restore capabilities are a must.

Can anybody suggest some solutions?
 
Old 09-03-2009, 08:01 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Have a look at 'dar'.
http://slackbuilds.org/repository/13.0/system/dar/

Edit:
One suggestion when using dar to write DVDs. Use 4 x 1.1GB slices for one DVD for maximum efficiency. You cannot write one large slice due to a size limit.

Last edited by allend; 09-03-2009 at 08:14 PM.
 
1 members found this post helpful.
Old 09-03-2009, 08:50 PM   #3
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware
Posts: 1,134

Rep: Reputation: 277Reputation: 277Reputation: 277
scdbackup works for me.

http://scdbackup.sourceforge.net/main_eng.html

cheers,
 
1 members found this post helpful.
Old 09-03-2009, 11:25 PM   #4
afreitascs
Member
 
Registered: Aug 2004
Distribution: Debian
Posts: 443

Rep: Reputation: 30
partimage ====> "files < 2G" ===> 2 files / DVD ...

dd if=/dev/sdax of=backup.mbr bs=512 count=1

ax = partition
创创创碻`````````````````````创创创创创创创碻`````````````
use partimage and it creates files with up to 2G .
burn 2 files on dvds ...

Backup of MBR
dd if=/dev/sdax of=backup.mbr bs=512 count=1

ax = its partition

good luck

afreitascs

ps:my en is bad ( Dictionary.com )
 
1 members found this post helpful.
Old 09-11-2009, 09:45 AM   #5
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by allend View Post
Have a look at 'dar'.
http://slackbuilds.org/repository/13.0/system/dar/

Edit:
One suggestion when using dar to write DVDs. Use 4 x 1.1GB slices for one DVD for maximum efficiency. You cannot write one large slice due to a size limit.
Thanks. This looks very promising. One thing that is not immediately obvious to me is if I need to manually format my blank DVD-R.
 
Old 09-11-2009, 10:25 AM   #6
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
I'd just use tar, split, and growisofs in a script
 
Old 09-11-2009, 10:47 AM   #7
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by voyciz View Post
I'd just use tar, split, and growisofs in a script
Care to share that script?

Keep in mind that I do not have enough space to store a full backup of my system, which is why I need to split across DVD in the first place. Also, does your solution provide incremental backup?
 
Old 09-11-2009, 11:27 AM   #8
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by allend View Post
One suggestion when using dar to write DVDs. Use 4 x 1.1GB slices for one DVD for maximum efficiency. You cannot write one large slice due to a size limit.
I use dar heavily but am not aware of that problem and workaround. Could you give some more detail?
 
Old 09-11-2009, 11:51 AM   #9
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Quote:
Originally Posted by statguy View Post
Care to share that script?

Keep in mind that I do not have enough space to store a full backup of my system, which is why I need to split across DVD in the first place. Also, does your solution provide incremental backup?
An alternative would be to split your backup into parts, each of which fits on a DVD. This facilitates backing up fats-changing data frequently and slow-changing data less often. In this way I avoid having incrementals which a) are more difficult to restore from and b) may require all DVDs in each set to be readable.

DVDs are notoriously unreliable media. They were designed for video where a few errant bytes don't matter. DVD-RAM is one solution but it is exotic and hence expensive (and there's less choice of drives that support it). Another solution is error checking and correcting for which par2 is the most popular software.

If you are happy to drop the incremental requirement and to split your backups into chunks of maximun one DVD size, I have a mature (and documented!) shellscript utilty complete with installation utility including checksumming. It uses dar, verifies the on-disk dar backup file, writes to DVD with par2 files and verifies the files on DVD. The tar.gz file is available here.

It is not necessary to format DVDs before writing to them, in fact it is not recommended because it reduces the life of the DVD but I have found it useful at times when Linux has difficulty writing to the DVD.

If you do decide to use dar, it is a good idea to familiarise yourself with restoring from backups. Dar's restore facilities are very powrful and, like most very powerful software, takes some mastering.

Last edited by catkin; 09-11-2009 at 11:52 AM. Reason: English as she is rotten!
 
1 members found this post helpful.
Old 09-11-2009, 12:25 PM   #10
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by catkin View Post
An alternative would be to split your backup into parts, each of which fits on a DVD. This facilitates backing up fats-changing data frequently and slow-changing data less often. In this way I avoid having incrementals which a) are more difficult to restore from and b) may require all DVDs in each set to be readable.

DVDs are notoriously unreliable media. They were designed for video where a few errant bytes don't matter. DVD-RAM is one solution but it is exotic and hence expensive (and there's less choice of drives that support it). Another solution is error checking and correcting for which par2 is the most popular software.

If you are happy to drop the incremental requirement and to split your backups into chunks of maximun one DVD size, I have a mature (and documented!) shellscript utilty complete with installation utility including checksumming. It uses dar, verifies the on-disk dar backup file, writes to DVD with par2 files and verifies the files on DVD. The tar.gz file is available here.

It is not necessary to format DVDs before writing to them, in fact it is not recommended because it reduces the life of the DVD but I have found it useful at times when Linux has difficulty writing to the DVD.

If you do decide to use dar, it is a good idea to familiarise yourself with restoring from backups. Dar's restore facilities are very powrful and, like most very powerful software, takes some mastering.
Thanks. I'll take a look at this.
 
Old 09-11-2009, 01:15 PM   #11
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
You may also like to look at the links in the "Known Projects that use dar or libdar" section of dar's documentation.

It includes HUbackup (denotes Home User backup). When I was looking for a DVD-based backup solution 15 months ago, HUbackup was one of the most promising candidates but there were too many reports of people not being able to restore from backups (!). Maybe HUbackup has improved; maybe there was nothing wrong with the backups themselves but the interface to dar's (non-trivial) restore facilities was defective.

We have to use DVDs here because the temperature, humidity and consequent burgeoning micro-life means tapes are not an option. What's your reason?
 
Old 09-11-2009, 01:25 PM   #12
statguy
Member
 
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 14.2, current
Posts: 416

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by catkin View Post
We have to use DVDs here because the temperature, humidity and consequent burgeoning micro-life means tapes are not an option. What's your reason?
It's what I have available. The computer is a laptop. Linux is not "supported" where I work, so backups are my business. The department that bought the laptop would not, at this point, buy a tape drive (I had to convince them to replace my dead battery). The location where I work (a different department) will not touch another's IT. I can't afford (I don't think) to buy one out of my own pocket.

Glad you asked?

That said, I really should look into something to back up home stuff too.
 
Old 09-11-2009, 01:55 PM   #13
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Quote:
Originally Posted by statguy View Post
Care to share that script?

Keep in mind that I do not have enough space to store a full backup of my system, which is why I need to split across DVD in the first place. Also, does your solution provide incremental backup?
Well I guess that's not an option for you since space is an issue. You could compress, but that probably wouldn't save an incredible amount of space and there would be more of a chance of data loss. I was talking about something like this:
-------------
tar cvO $HOME | split -b 4G - xyz

for piece in xyz*
do
eject /dev/hdd
echo "Insert blank disc and press enter"
read
growisofs -Z /dev/hdd $piece
done
--------------
But of course this requires a lot of free disk space. Like I said you can also pass the z or j flag to tar to save some but I don't know how much it would be and then it'd be less reliable.

Last edited by voyciz; 09-11-2009 at 01:56 PM.
 
Old 09-11-2009, 03:18 PM   #14
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Dont know if this is what your looking for but it seems to work pretty good for me
http://danborn.net/multiCD/
 
1 members found this post helpful.
Old 09-11-2009, 05:22 PM   #15
vik
Member
 
Registered: Apr 2008
Distribution: Gentoo, FreeBSD
Posts: 225
Blog Entries: 8

Rep: Reputation: 50
One thing I can recommend with a home-grown script is using the p7zip utility. It takes a long time to decompress from max compression, but I've gotten 1GB binary files down to 400M with it.
 
  


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
Backup Solution Single server Multiple tapes Interflex Linux - Server 11 08-11-2008 04:08 AM
Incremenal backup of DVDs using K3b program. Gins Linux - General 5 06-25-2007 03:03 AM
Backup In DVDs zupermanz Mandriva 1 04-09-2005 11:01 AM
help my backup dvds.. minm Linux - Newbie 2 12-21-2004 12:24 AM
Want to backup DVDs bkeating Linux - Newbie 19 04-11-2003 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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