Koozali.org: home of the SME Server

DVD backups

Offline yelnic

  • *
  • 33
  • +0/-0
DVD backups
« on: October 19, 2007, 11:39:54 PM »
I have searched and searched, but I can't find any DVD backups for version 7.x.  Am I missing something?  Any help will be greatly appreciated.

yelnic

Offline byte

  • *
  • 2,183
  • +2/-0
Re: DVD backups
« Reply #1 on: October 20, 2007, 12:00:53 AM »
Moved to contribs section as it is more appropriate here.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline byte

  • *
  • 2,183
  • +2/-0
Re: DVD backups
« Reply #2 on: October 20, 2007, 12:04:42 AM »
[..]but I can't find any DVD backups for version 7.x.

The is no such back up tool available for SME Server 7.x but there are a few good contribs that will do backups for you search "dar" also I think one of the contribs offered to split the file size to fit a DVD, I'm not too sure as I don't use them, so someone else who does may offer more direct advice on that.
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Re: DVD backups
« Reply #3 on: October 20, 2007, 12:13:52 AM »
How much data are you trying to backup?
I am using the script from this thread http://forums.contribs.org/index.php?topic=34931.0 to back up to CD, but I don't think the modification to go to DVD would be too bad. You need to keep an eye on file size.

Bob
If you think you know whats going on, you obviously have no idea whats going on!

Offline yelnic

  • *
  • 33
  • +0/-0
Re: DVD backups
« Reply #4 on: October 20, 2007, 05:21:54 AM »
How much data are you trying to backup?

About 3gb.

I am using the script from this thread http://forums.contribs.org/index.php?topic=34931.0 to back up to CD, but I don't think the modification to go to DVD would be too bad. You need to keep an eye on file size.

I don't know where to begin to modify the script.  Any ideas?

Thanks,
yelnic

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Re: DVD backups
« Reply #5 on: October 20, 2007, 04:52:25 PM »
I have searched and searched, but I can't find any DVD backups for version 7.x.  Am I missing something?  Any help will be greatly appreciated.

yelnic

Personally I would use smeserver-dar to backup to a workstation hard drive. Then connect the DVD writer to the workstation and simply copy the resulting archive files onto DVD(s) when convenient to do so.

Darrell

Offline sparticus

  • 12
  • +0/-0
Re: DVD backups
« Reply #6 on: November 05, 2007, 04:04:33 AM »
Hi yelnic,
I edited the script thats been linked to a few months ago and I use it to backup to DVD daily.

Code: [Select]
cd etc/cron.daily
Code: [Select]
pico backupdvd
Here is the code (edit it as you need too)

Code: [Select]
#!/bin/sh

Backup_Dirs="/home/e-smith/files"
Backup_Dest_Dir=/tmp/backup
Backup_Date=`date +%b%d%Y`

# Create tar file with todays Month Day Year prepended for easy identification
tar -cvzf $Backup_Dest_Dir/$Backup_Date.tar.gz $Backup_Dirs

#Burn the DVD
growisofs -dvd-compat -Z /dev/dvd $Backup_Dest_Dir/$Backup_Date.tar.gz
eject

echo "Removing : $Backup_Dest_Dir/$Backup_Date.tar.gz"
rm $Backup_Dest_Dir/$Backup_Date.tar.gz
echo "END BACKUP $Backup_Date"
echo "A new backup has been completed. Please replace the DVD with todays and put the old one into the white folder" | mail reminder@domain.com
echo "------------------------------------------------------------------------"
exit 0

Oh, I think I need to create a backup folder in the temp directory as well.
I use a set of DVD-RW's and just rotate each day. That wipes them and re-burns them with this script.

If you want to change what you backup change the Backup_Dir.

Good luck,

M.