Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-03-2009, 11:27 AM
|
#1
|
|
Member
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 13.37, 12.2
Posts: 310
Rep:
|
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?
|
|
|
|
09-03-2009, 08:01 PM
|
#2
|
|
Senior Member
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 2,743
|
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.
|
09-03-2009, 08:50 PM
|
#3
|
|
Member
Registered: Dec 2005
Distribution: Slackware -current, 14.0
Posts: 951
Rep: 
|
|
|
|
1 members found this post helpful.
|
09-03-2009, 11:25 PM
|
#4
|
|
Member
Registered: Aug 2004
Location: Brasil
Distribution: Slackware_Cur-64_mult
Posts: 413
Rep:
|
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.
|
09-11-2009, 09:45 AM
|
#5
|
|
Member
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 13.37, 12.2
Posts: 310
Original Poster
Rep:
|
Quote:
Originally Posted by allend
|
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.
|
|
|
|
09-11-2009, 10:25 AM
|
#6
|
|
Member
Registered: Mar 2004
Distribution: Slackware
Posts: 425
Rep:
|
I'd just use tar, split, and growisofs in a script
|
|
|
|
09-11-2009, 10:47 AM
|
#7
|
|
Member
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 13.37, 12.2
Posts: 310
Original Poster
Rep:
|
Quote:
Originally Posted by voyciz
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?
|
|
|
|
09-11-2009, 11:27 AM
|
#8
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
Quote:
Originally Posted by allend
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?
|
|
|
|
09-11-2009, 11:51 AM
|
#9
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
Quote:
Originally Posted by statguy
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.
|
09-11-2009, 12:25 PM
|
#10
|
|
Member
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 13.37, 12.2
Posts: 310
Original Poster
Rep:
|
Quote:
Originally Posted by catkin
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.
|
|
|
|
09-11-2009, 01:15 PM
|
#11
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
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?
|
|
|
|
09-11-2009, 01:25 PM
|
#12
|
|
Member
Registered: Sep 2004
Location: Ontario, Canada
Distribution: Slackware 13.37, 12.2
Posts: 310
Original Poster
Rep:
|
Quote:
Originally Posted by catkin
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. 
|
|
|
|
09-11-2009, 01:55 PM
|
#13
|
|
Member
Registered: Mar 2004
Distribution: Slackware
Posts: 425
Rep:
|
Quote:
Originally Posted by statguy
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.
|
|
|
|
09-11-2009, 03:18 PM
|
#14
|
|
Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057
|
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.
|
09-11-2009, 05:22 PM
|
#15
|
|
Member
Registered: Apr 2008
Distribution: Gentoo
Posts: 198
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:59 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|