From: Rikishi 42 on
On Friday 19 December 2008 14:19, Theo Markettos wrote:

> I want to do some simple backups to DVD. I just want to copy files
> directly
> - I don't want them in tars or zips or anything like that. I'd like a
> program that can cope with more than one DVD and will prompt for disc
> changes.

I've taken another approach to that.
I split a volume of dirs/files into DVD-sized chunks.

To avoid moving the original files, I work on a linked copy.

So, if you have a "source/" data dir and a "temp/" working dir:
mkdir temp/in
cp -vrl source temp/in/ (remove 'v' for non-verbose)
cd temp
xsplit_dvd.py (set for 4GB DVD's)
You'll find:
temp/out/dvd_001/source
temp/out/dvd_002/source
temp/out/dvd_003/source
etc...

Just burn and delete them.


The script can be found here:
http://www.rikishi42.net/SkunkWorks/Junk/


PS: if you don't want to see "source" on your DVD's, just copy the
contents rather then the dir:
cp -vrl source/* temp/in/


--
There is an art, it says, or rather, a knack to flying.
The knack lies in learning how to throw yourself at the ground and miss.
Douglas Adams
From: Theo Markettos on
Rikishi 42 <skunkworks(a)rikishi42.net> wrote:
> I've taken another approach to that.
> I split a volume of dirs/files into DVD-sized chunks.
>
> To avoid moving the original files, I work on a linked copy.

Thanks. As it happens I was splitting up a directory to put into Truecrypt
(ISO9660 can't universally cope with files >2GB, but Truecrypt volumes are
monolithic files). So I used 'dirsplit' to make suitably-sized chunks with
hard links, and then copy those into the Truecrypt volume. I suppose I can
use that for normal backups too.

Theo
First  |  Prev  | 
Pages: 1 2
Prev: Backup recommendation
Next: Dual boot Linux and Vista