script to create dvd sized folders for backup
Antonio Olivares
olivares14031 at yahoo.com
Fri Sep 9 23:16:45 UTC 2011
--- On Mon, 9/5/11, Richard Shaw <hobbes1069 at gmail.com> wrote:
> From: Richard Shaw <hobbes1069 at gmail.com>
> Subject: Re: script to create dvd sized folders for backup
> To: "Community support for Fedora users" <users at lists.fedoraproject.org>
> Date: Monday, September 5, 2011, 7:57 PM
> 2011/9/5 Jorge Fábregas <jorge.fabregas at gmail.com>:
> > On 09/05/2011 09:46 PM, Antonio Olivares wrote:
> >> I want to say go to Downloads/ and make several
> folders (dvd1, dvd2, dvd3, ..., )
> >> as many as are needed to backup the whole
> directory into 4.3 GB dvd
> > sized ones
> >
> > Hi Antonio,
> >
> > I've used this script in the past called "split-tar"
> which I found here:
> >
> > http://www.informatik-vollmer.de/software/split-tar.php
> >
> > I used it to create tar files of a certain size (e.g.
> 4480 MB for
> > DVD+R). What I liked about it was that they're
> actual tar files.
> > Before that, I used to create a BIG tar file and then
> used the split
> > command in order to create xaa, xab, xac etc... of a
> particular size so
> > I can burn them. The problem with that was that, if
> I had to restore
> > something, I had to restoer ALL of the files so I
> could join them
> > afterwards (and eventually get my data). If one of the
> splitted files
> > was broken you can imagine...
> >
> > With "split-tar" you have individual extractable
> archives of the size of
> > your choice (albeit an approximation).
>
> Which reminds me, I forgot to mention that discspan doesn't
> do any
> compression or tarring so it's good for media that's
> already
> compressed (music files, videos, etc) and all the files are
> burned
> directly so they stay individually accessible.
>
> Also, if you don't want to install it manually I created an
> RPM until
> I have time to submit it for review to Fedora
>
> http://dl.dropbox.com/u/34775202/discspan-0.2.2-1.fc15.noarch.rpm
>
> It's pure python so it doesn't matter what version of
> Fedora you're
> using. Just run "discspan --help" for a list of options. If
> you run it
> without any options it goes into interactive mode.
>
> Richard
> --
Thank you Richard. Had tried to run it, but got dbus error messages :( I was not sure to send this, but I believe that without proof it does no good. Here's what I get:
[olivares at GHSE213-033561 ~]$ discspan.py --dir=~/Music/ --volume-name=MUSIC --iso-dir=~/tmp/
Using /etc/discspan.ini as config file.
You must enter a valid directory.
Directory option is not valid.
Which directory would you like to backup? (Or Q to quit)
~/Music
You must enter a valid directory.
Which directory would you like to backup? (Or Q to quit)
Music
Traceback (most recent call last):
File "/usr/bin/discspan.py", line 383, in <module>
iso = Iso(interface, s)
File "/usr/bin/discspan.py", line 193, in __init__
self.drive = self.system.wait_for_media()
File "/usr/bin/discspan.py", line 125, in wait_for_media
drive = self.find_drives()
File "/usr/bin/discspan.py", line 76, in find_drives
hal_obj = bus.get_object('org.freedesktop.Hal', '/org/freedesktop/Hal/Manager')
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files
[olivares at GHSE213-033561 ~]$ uname -a
Linux GHSE213-033561 2.6.40.4-5.fc15.x86_64 #1 SMP Tue Aug 30 14:38:32 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Any advice/suggestions/comments are welcome and appreciated.
Regards,
Antonio
More information about the users
mailing list