Koozali.org: home of the SME Server

Most simple backup option?

cydonia

Most simple backup option?
« on: July 12, 2004, 06:16:06 PM »
I know this has been covered before, but, since 6.0.1 has been out for a while now, i thought i would find out how people are backing up their 6.0.1 servers?

What are you finding to be successful?

DVDR/CDR
Tape Drive
Desktop Backup
Other?


Any tips for those of us wanting to backup a 6.0.1 server?


I am about to start mucking around with cdrecord, for small file backups to cdr.  I will post my progress for future reference once i've begun.
cheers.

Offline raem

  • *
  • 3,972
  • +4/-0
Most simple backup option?
« Reply #1 on: July 12, 2004, 09:26:39 PM »
It really depends on your needs ie security, portability, cost, ease of use, capability of the end user.

Tape is nice and simple for end users, and reasonably immune to handling damage, but larger tape drives can be costly.

I'm using the backup2ws contrib. I have 3 different backups scheduled daily to a workstation which has a removable HDD caddie. I have 2 x 80Gb backup drives that I swap each day. You need to handle the drives with care to avoid possible damage and have a padded carry case for transportation off site.

For archival storage I also backup periodically to CD & DVD directly from the backup HDD's on the workstation.

It's cost effective as hard drives are quite cheap.
...

Offline Boris

  • *
  • 783
  • +0/-0
Most simple backup option?
« Reply #2 on: July 12, 2004, 10:04:13 PM »
I prefer lately for smaller clients backup2ws and USB 2.5" extrnal drives. Backup is done at night to workstation and user manualy(or via batch file) copy backup files to external drives for offsite storage, alternating 2 drives.
...

Offline del

  • *
  • 765
  • +0/-0
Most simple backup option?
« Reply #3 on: July 13, 2004, 03:47:21 AM »
Hi Boris,
Can you tell me what USB drives you use? I tried a Maxtor and couldn't get it to work with backup2ws and after talking to a Maxtor support guy he told me that they couldn't be shared over a network. I then assumed that this was the case for all USB drives and have not tried any others. So if you can point me towards a brand that works I can give it another try.
Thanks in advance.
Regards,
Del :-)
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline Boris

  • *
  • 783
  • +0/-0
Most simple backup option?
« Reply #4 on: July 13, 2004, 07:16:37 AM »
Maxtor support person didn't know what he was talking about or lied to get rid of you.
I use generic laptop drives (whatever I get good deal on) and generic enclosure. My personal favorite is SPIO enclosure, but others work just fine as well.
I don't share them directly even if its perfectly possible. Backup is done to one of the folders on the workstation and copied to removable drive at their convenience manually.
...

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
Re: Most simple backup option?
« Reply #5 on: July 13, 2004, 08:02:35 AM »
Hi,

Quote from: "cydonia"
I know this has been covered before, but, since 6.0.1 has been out for a while now, i thought i would find out how people are backing up their 6.0.1 servers?

What are you finding to be successful?

Any tips for those of us wanting to backup a 6.0.1 server?



I’m using a script from http://www.tldp.org/LDP/solrhe/Securing-Optimizing-Linux-RH-Edition-v1.3/chap29sec306.html

And are dropping the backup in an ibay – then I move the full backup every Monday to my XP box – It’s VERY simple and has saved me from a Disk Crash – Even my Domino Server was restored without any loss of data – below you will find my SME backup script:

------------------------------------------------------
#!/bin/sh
# full and incremental backup script
# created 11 october 2002
# Based on a script by Daniel O'Callaghan <danny[at]freebsd.org>
# and modified by Dennis Johansen <brascoe[at]hegnstoften.net>

#Change the 5 variables below to fit your computer/backup


COMPUTER=your_SME_Box                                  # name of this computer
DIRECTORIES=/home/e-smith/files/ibays/pub/files/dokumenter                         # directory to backup
BACKUPDIR=/home/e-smith/files/ibays/backups/files/dokumenter                             # where to store the backups
TIMEDIR=/home/e-smith/files/ibays/backups/files/dokumenter/last-full                   # where to store time of full backup
TAR=/bin/tar                                     # name and locaction of tar

#You should not have to change anything below here

PATH=/usr/local/bin:/usr/bin:/bin
DOW=date +%a                    # Day of the week e.g. Mon
DOM=date +%d                    # Date of the Month e.g. 27
DM=date +%d%b                # Date and Month e.g. 27Sep

# On the 1st of the month a permanet full backup is made
# Every Sunday a full backup is made - overwriting last Sundays backup
# The rest of the time an incremental backup is made. Each incremental
# backup overwrites last weeks incremental backup of the same name.
#
# if NEWER = "", then tar backs up all files in the directories
# otherwise it backs up files newer than the NEWER date. NEWER
# gets it date from the file written every Sunday.


# Monthly full backup
if [ $DOM = "01" ]; then
        NEWER=""
   $TAR $NEWER -cf $BACKUPDIR/$COMPUTER-$DM.tar $DIRECTORIES
Fi
      
# Weekly full backup
if [ $DOW = "Sun" ]; then
   NEWER=""
   NOW=date +%d-%b
            
   # Update full backup date
   echo $NOW > $TIMEDIR/$COMPUTER-full-date
   $TAR $NEWER -cf $BACKUPDIR/$COMPUTER-$DOW.tar $DIRECTORIES
                     
# Make incremental backup - overwrite last weeks
else
                     
       # Get date of last full backup
   NEWER="--newer cat $TIMEDIR/$COMPUTER-full-date"
   $TAR $NEWER -cf $BACKUPDIR/$COMPUTER-$DOW.tar $DIRECTORIES
Fi
------------------------------------------------------
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

arno

Most simple backup option?
« Reply #6 on: July 13, 2004, 08:28:45 AM »
i like this script.
i supose i can backup my whole server with this script?

including my email and my mysql data etc?

Offline Denbert

  • *
  • 156
  • +0/-0
    • hegnstoften.net
Most simple backup option?
« Reply #7 on: July 14, 2004, 09:30:59 PM »
It’s easier to use the backup function in the server-manager – use backup to desktop – makes a full backup of your users, ibays and configuration.

You might want to reed this from the Administrators guide taken from the ISO : http://hegnstoften.net/howto/sme_5.6_doc/admin-backup.html

Please be aware that due to limitations in the NTFS file system, is not possible to backup more than 3.99 gb to the desktop – then you have to install Darrel May’s Backup2ws witch can chunk the backup in to 2 gb files, using rar packing – search forums for more details.

Cheers
/ Denbert
"Success is not final, failure is not fatal: it is the courage to continue that counts" - Sir Winston Churchill

Anonymous

Most simple backup option?
« Reply #8 on: July 14, 2004, 09:50:13 PM »
have some problems with my backup2ws

When i wanna backup some stuff it gives me the following error:

Jul 14 23:48:11 servername e-smith-bg: This command is designed to be run from within /bin/mount by giving
Jul 14 23:48:11 servername e-smith-bg: the option '-t smbfs'. For example:
Jul 14 23:48:11 servername e-smith-bg: mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test
Jul 14 23:48:11 servername e-smith-bg: Error occured mounting \\servername\Primary\html\lol at /sbin/e-smith/backup2ws-backup line 64.

i wondering why it dont wanna backup
Anyone like to help me?

Arno