Summary: Backup home dirs on DVD

From: Andreas Höschler <ahoesch_at_smartsoft.de>
Date: Thu Feb 21 2008 - 11:23:45 EST
Dear managers,

thanks to

Barry Callahan <barryc@rjlsystems.com>
Anthony D'Atri <aad@dreamsnake.net>
"Luc I\. Suryo" <luc@suryo.com>
"Crist Clark" <Crist.Clark@globalstar.com>
A Darren Dunham <ddunham@taos.com>
francisco roque <frisco@blackant.net>
Deborah Crocker <crock@bama.ua.edu>

for their kind replies:

>>> we would like to backup ou home dirs on a DVD once a month. Solaris
>>> comes with this cdrw tool that we are used to use as follows
>>>
>>> 	cdrw -i /tmp/image.iso
>>>
>>> I know thatone can use something like
>>>
>>> 	/opt/sfw/bin/mkisofs -iso-level 4 -o /tmp/image.iso /home
>>>
>>> to create an iso image. However, we had already had problems with 
>>> long
>>> filenames using this approach. Is anybody actually using DVDs for
>>> backup purposes? How should we use mkisofs to make sure all files -
>>> even those with very lng file names - are included? It's ok if the 
>>> DVD
>>> can only be read by Solaris. Any idea?

We were suggested to put tar archive on the disk but that was not we 
had in mind. The following turned out to be a viable solution for us:

	mkdir /Carrier
	rm /Carrier/*
	ln -s  /home/projects /Carrier
	ln -s  /home/ahoesch/Development /Carrier
	ln -s  /home/beate /Carrier
	ln -s  /opt/FrontBase/Backups /Carrier
	ln -s  /opt/Backup /Carrier
	...

	mkisofs -uid 0 -gid 0 -N -l -R -U -allow-multidot -follow-links -d -D 
-v -o /tmp/image.iso /Carrier
	 /etc/init.d/volmgt stop
	cdrw -i /tmp/image.iso
	 /etc/init.d/volmgt start

This works like a charm. Thanks a lot for you help!

  - Andreas
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Thu Feb 21 11:24:15 2008

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:10 EST