LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-05-2010, 12:54 PM   #1
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 73

Rep: Reputation: 28
Backup large sets of files to multiple cds/dvds - iso9660


I have a large collection of pictures (12GB and growing) - way too big to fit on one CD or DVD.

I want to back them up to CDs or DVD's in standard (I think it's iso
9660) format that Windows can read.

I know how to do this the hard way - by manually selecting a pile of
pictures that will fit on one disc, burning it and then going on to the
next pile.

There must be a way to tell k3b or a similar program to do this for me - to automatically make a backup of the whole thing using as many discs as necessary.

Can anyone tell me how to do this?

I don't want to use tar or another archive/compression scheme because I
want the pictures accessible to someone with minimal technical expertise who doesn't even know how to spell "Linux".

TIA

Joe
 
Old 06-05-2010, 07:56 PM   #2
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Debian Squeeze. Various live CD's Win7
Posts: 359

Rep: Reputation: 32
I don't know of any backup program that doesn't compress files. You may like to look at kdar from kdar.sourceforge.net. It uses the KDE interface and is the most user-friendly backup I know of with a graphical interface that looks like a file manager program. I haven't used it for a while, but I know with dar [CLI] you can set the options for different sizes ie CD DVD.
 
Old 06-05-2010, 10:36 PM   #3
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
umm, I am writing this directly on the forum, so I will probably make some syntax errors:
Code:
#!/bin/bash

rm /tmp/dvd.*

FOLDER_TO_BACKUP="/home"
SIZE=0
COUNT=0

for FILE in $(find $FOLDER_TO_BACKUP);do
   let SIZE=$SIZE+`du $FILE | cut -f1 -d" "`
   if [ $SIZE -gt 47000000 ]; then
      let COUNT=$COUNT+1
      $SIZE=0
   fi
   echo $FILE >> /tmp/dvd.$COUNT
done
This should less or more create a file list for each DVD. The next part would be to create an iso image with dd, loop mount it, recreate the folder structure in the image and copy the file. Then using growisofs or any burning command, burn the .iso.


The list will be stored in /tmp/dvd.*** where *** is a number starting from 0 representing a DVD.

Last edited by Elv13; 06-05-2010 at 10:38 PM.
 
Old 06-29-2010, 06:13 PM   #4
josephj
Member
 
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 73

Original Poster
Rep: Reputation: 28
Solution

All I had to do was break up the photos into reasonably sized directories by date and then run the whole thing through k3b.

Most photo software programs work best by looking at the tags on the photos anyway. They don't care what directories they are in as long as they can find them at all.

(Reasonably sized: less than 2GB and sized so that packing them together in groups to fit on DVDs won't leave too much unused space on each DVD).

I created a data project for each DVD and saved them for future use.

Since the photos are organized by date, only the last directory will change or new ones will be added, so the k3b projects will remain useful without modification.

The only thing that could change that is if I go in and substantially cull my photos. If I free up a lot of space, then I might have to redo the projects.

Joe
 
  


Reply

Tags
backup, dvd, iso9660


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
Splitting Large directory over multiple blank DVDs Euler2 Linux - Newbie 5 05-20-2010 05:30 PM
Backup large file to multiple DVDs originalmoose Linux - Newbie 5 11-02-2009 03:59 PM
Looking for backup solution that uses multiple DVDs statguy Slackware 18 09-14-2009 08:03 AM
Jpegs show as NOT jpeg files on hybrid iso9660/hfs cdrom and DVDs maxque Linux - General 1 05-30-2009 10:19 AM
backup n restore on multiple cds naren Linux - Software 1 10-14-2004 07:03 AM


All times are GMT -5. The time now is 12:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration