udftools for Linux
backing up the /web_logs partition area
Insert a 4.7Gig DVD-RAM disk (though is ~4.3 Gig in computer size)
in the DVD-RAM drive and as root mount it:
Then format the disk using (still got to decide if worth getting UDF format and tools working):
mkudffs --media-type=dvdram /dev/hdd
(Old Linux partition type: mke2fs -b 2048 /dev/hdd)
mount /dev/hdd /storage/dvd
To create the backup then type:
dar -c /storage/dvd/web-logs -s 4270M -p -b -z -R /web_logs -X "*.dar"
Or if a smaller disk:
dar -c /storage/dvd/web-logs -s 2100M -p -b -z -R /web_logs -X "*.dar"
(dar will prompt when the disk is full - do a [control] Z to stop the program,
unmount the old DVD-RAM disk; format the disk using mkudffs --media-type=dvdram /dev/scd0;
then mount the DVD-RAM disk (mount -t udf /dev/sdc0 /storage/dvd); and then type fg to get
back into dar and continue.
To check the DAR archive:
dar -l /storage/dvd/web-logs
backing up the /web_disc partition area
Insert a 4.7Gig DVD-RAM disk (though is ~4.3 Gig in computer size)
in the DVD-RAM drive and as root mount it:
Then format the disk using (still got to decide if worth getting UDF format and tools working):
mkudffs --media-type=dvdram /dev/hdd
(Old Linux partition type: mke2fs -b 2048 /dev/hdd)
mount -t udf /dev/hdd /storage/dvd
(Old Linux partition type: mount /dev/hdd /storage/dvd)
To create the backup then type:
dar -c /storage/dvd/web-data -s 4300M -p -b -z -R /web_disc -X "*.dar"
(dar will prompt when the disk is full - do a [control] Z to stop the program,
unmount the old DVD-RAM disk; format the disk using mkudffs --media-type=dvdram /dev/scd0;
then mount the DVD-RAM disk (mount -t udf /dev/sdc0 /storage/dvd); and then type fg to get
back into dar and continue.
To check the DAR archive:
dar -l /storage/dvd/web-data
Notes
-S 2200 - if the first DVD is smaller than the rest
-P /storage/dvd (only if / - so as not to backup the backup disk; not applicable as Mondorestore is
the system disaster recovery system)