Anyone running CentOS 4.xx or 5.xx?

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Anyone running CentOS 4.xx or 5.xx?

Postby paulm » Mon Feb 28, 2011 10:35 pm

I have a small problem, hoping someone running CentOS might be able to help.....

I look after a number of server/gateways for small business, all of which run SME Server 7.5.1 (based on CentOS 4.8 ). For backup purposes, I've been using Synbak (http://www.initzero.it/products/opensource/synbak/). Works well, and is a good deal more flexible than the backup routines provided by SME.

I need to upgrade to a recent version of Synbak, since the 1.2.2 version I have on the SME machines doesn't support DAR, which I need for a couple of them.

When I tried to install the latest version, I ended up with a couple of problems. First were dependancies which I really didn't need, so I tired using rpm with the --no-deps argument, and hit a second problem - an error from CPIO - Bad Magic.

After a bit of hunting, I've discovered that the problem is that the latest Synbak rpms are all built for Fedora, and use LZMA packing, which is not supported by CentOS. So I need to rebuild the rpms on a CentOS system.

Small problem with that - the only machine I can install CentOS on has a number of ext4 partitions, and CentOS blows up every time I try to run the live CD or install it - doesn't like ext4 one little bit.

So I'm wondering if someone running CentOS could run rpm --rebuild on the latest Synbak source and email me the rebuilt package? Or suggest a way that I can force a Fedora install (I have Fedora 12 running on one machine) to rebuild the rpm without using LZMA compression?

Paul.
paulm
LXF regular
 
Posts: 242
Joined: Mon Apr 03, 2006 4:53 am
Location: Oxfordshire, UK

Postby LeeNukes » Mon Feb 28, 2011 11:16 pm

Where shall I send it?


Just grab it from here, let me know when you have it:

http://leenukes.co.uk/synbak-1.3.2-1.noarch.rpm
User avatar
LeeNukes
LXF regular
 
Posts: 954
Joined: Sun Jun 21, 2009 8:11 pm
Location: At the bar

Postby paulm » Tue Mar 01, 2011 7:37 pm

LeeNukes wrote:Where shall I send it?


:) I guess I should have specified....

Just grab it from here, let me know when you have it:

http://leenukes.co.uk/synbak-1.3.2-1.noarch.rpm


Got it. Many thanks - works fine. I guess eventually I'm going to have to free up some hardware to install CentOS on (need to build some other bits for SME fairly soon), but this certainly helped alot.

Paul.
paulm
LXF regular
 
Posts: 242
Joined: Mon Apr 03, 2006 4:53 am
Location: Oxfordshire, UK

Postby LeeNukes » Thu Mar 03, 2011 9:37 pm

Cool, I'll remove it when I next ssh into my webserver.


Might check out this synbak, it good then?
User avatar
LeeNukes
LXF regular
 
Posts: 954
Joined: Sun Jun 21, 2009 8:11 pm
Location: At the bar

Postby paulm » Sat Mar 05, 2011 9:19 am

LeeNukes wrote:Cool, I'll remove it when I next ssh into my webserver.


Thanks again. I've now upgraded all my SME boxen, though I'm only using DAR on two of them. Still, the new version is a bit more flexible than the older 1.2.2 version was.

Might check out this synbak, it good then?


:) I use it on my own machines at home (so if anyone wants a Slackware-compatible package, let me know....), as well as the SME machines. Its very flexilbe, supports rsync, wget, can now dump MySQL databases, and can write to a number of different media types. It is also modular, and consists pretty well entirely of scripts, so it can be added-to and modified quite easily.

I mainly use it to do gzipped tar archives over network connections, but have also used it with wget to bacup web sites. I was intending to write my own module for optical media (the one provide is only set for RW media), but none of the backups I use it for will fit on a DVD any more, so I've never quite got that far...

It also has good reporting facilities - it generates html reports and will report via email as well - see below for a sample of an email report:

Code: Select all
             System: goldie
            Method: tar
            Option: gz
              Type: local
            Source: /etc/e-smith /etc/samba /etc/ssh /etc/group /etc/gshadow /etc/passwd /etc/shadow /etc/sudoers /home/e-smith /root /opt/egroupware/backup
       Destination: /mnt/smb/files/backup-goldie-20110305-023014.tar.gz
         Exclusion: /var/backup *.swp *.tmp .junkmail/* .Trash/* /home-esmith/files/ibays/yackup/*
 Method cmd options:
       Erase after: 7 backups
     Synbak server: goldie
       O.S. Kernel: Linux 2.6.18-194.32.1.el5
    Synbak version: 1.3.2
 Technical support: MCS     
      Backup begin: 2011-03-05 02:30:14 GMT
================================================================================
        Backing up: '/etc/e-smith /etc/samba /etc/ssh /etc/group /etc/gshadow /etc/passwd /etc/shadow /etc/sudoers /home/e-smith /root /opt/egroupware/backup' Size:[1.73 GB] Speed:[4.51 MB/Sec] Duration:[00:06:24] Status:[OK]
--------------------------------------------------------------------------------
   Keeping backups: 'backup-goldie-20110228-023016.tar.gz backup-goldie-20110301-023016.tar.gz backup-goldie-20110301-072702.tar.gz backup-goldie-20110302-023015.tar.gz backup-goldie-20110303-023014.tar.gz backup-goldie-20110304-023015.tar.gz backup-goldie-20110305-023014.tar.gz'
   Erasing backups: 'backup-goldie-20110227-023016.tar.gz' Duration:[00:00:01] Status:[OK]
--------------------------------------------------------------------------------
Backup informations:
................................................................................
Directory list of '/mnt/smb/files':
-rwxrwSrwx 1 root root 916063484 Feb 28 02:28 backup-goldie-20110228-023016.tar.gz
-rwxrwSrwx 1 root root 917712982 Mar  1 02:28 backup-goldie-20110301-023016.tar.gz
-rwxrwSrwx 1 root root 919422906 Mar  1 07:25 backup-goldie-20110301-072702.tar.gz
-rwxrwSrwx 1 root root 919492950 Mar  2 02:28 backup-goldie-20110302-023015.tar.gz
-rwxrwSrwx 1 root root 921227033 Mar  3 02:28 backup-goldie-20110303-023014.tar.gz
-rwxrwSrwx 1 root root 921660101 Mar  4 02:25 backup-goldie-20110304-023015.tar.gz
-rwxrwSrwx 1 root root 923069302 Mar  5 02:25 backup-goldie-20110305-023014.tar.gz
................................................................................
Active mount points:
Filesystem    Type    Size  Used Avail Use% Mounted on
/dev/hda2     ext3     72G  3.5G   65G   6% /
/dev/hda1     ext3     99M   17M   78M  18% /boot
//10.1.0.10/backup
             cifs    228G   20G  208G   9% /mnt/smb
................................................................................
================================================================================
        Backup end: 2011-03-05 02:36:41 GMT
       Backup size: 1.73 GB
      Backup speed: 4.48 MB/Sec
  Destination size: 901.43 MB
   Backup duration: 00:06:27
     Backup result: OK


I do both daily and monthly backups with it, just set a different number of geneations for different purposes.

Paul.
paulm
LXF regular
 
Posts: 242
Joined: Mon Apr 03, 2006 4:53 am
Location: Oxfordshire, UK

Postby LeeNukes » Sat Mar 05, 2011 11:29 am

Sounds good, I'll have to check it out. I'm always after an easier way to do backups. I run CentOS at home which is what I used to generate that package.

I'm pretty sure I left it installed too as I tested it before uploading it.

Thanks
User avatar
LeeNukes
LXF regular
 
Posts: 954
Joined: Sun Jun 21, 2009 8:11 pm
Location: At the bar


Return to Help!

Who is online

Users browsing this forum: Google [Bot] and 0 guests

cron