Koozali.org: home of the SME Server

[ANNOUNCE] smeserver-backuppc

Offline del

  • *
  • 765
  • +0/-0
[ANNOUNCE] smeserver-backuppc
« Reply #90 on: August 17, 2006, 03:08:09 PM »
Hi Ray,

Well I only have sail installed on the same test server and it appears to still work although I am having a few problems with sail I don't think they are related to webshare, I will do further tests thanks for the warning.

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 Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #91 on: August 17, 2006, 05:03:58 PM »
just finished a new rpm package wich correct some errors of the first:

* Creation of the user backuppc now create its home directory (usefull for ssh keys)
* Remove the mod_rewrite to force https, now you need to enter https://yourserver/backup
* Correction of the cleaning of /etc/sudoers during uninstall

Now, all my work on this contrib can be find at:

http://sme.firewall-services.com/backuppc

You will find all from the first beta archive (old-beta directory), to the latest rpm. You also have access to the srpm and the howto. Dont forget to download the howto corresponding to the release of the rpm.

Maybe you'll have problem with the backup of your configuration if upgrading, it will be ok for futur upgrades between smeserver-backuppc-1.0-2.noarch.rpm to a newer version.

If you see a bug in this rpm, please repport it to me 'cause I think I will put it in the contrib section soon.
C'est la fin du monde !!! :lol:

jcoleman

[ANNOUNCE] smeserver-backuppc
« Reply #92 on: August 17, 2006, 09:24:30 PM »
Daniel,

Works just fine on a stock SME7 VM.  Also worked on my production server doing an rpm -e for the prior version and then installing the new rpm.

Config settings that had been saved were able to be restored.

Good job!

-jeff

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
[ANNOUNCE] smeserver-backuppc
« Reply #93 on: August 17, 2006, 10:24:27 PM »
I just installed the 1.0-2 rpm after deleting the .gz version using your uninstall script, and removing the backuppc user and backups group, then following directions in your 1.0-2 howto.

Now BackupPC is in french... Pardon moi, but I don't speak the language of love.  Any chance I can change it back to english?

Thanks!!!!
............

jcoleman

[ANNOUNCE] smeserver-backuppc
« Reply #94 on: August 17, 2006, 11:48:52 PM »
You can change the language from the server-manager panel.

Configuration > Backuppc > Change config > CGI Interface > choose EN

Cheers mon ami :>

-jeff

Offline raem

  • *
  • 3,972
  • +4/-0
[ANNOUNCE] smeserver-backuppc
« Reply #95 on: August 18, 2006, 04:20:10 AM »
del

>... I will do further tests thanks for the warning.

It probably just depends which contrib & which templates are expanded, see the full report here
http://myezserver.com/phpBB2/viewtopic.php?t=724
...

Offline jahlewis

  • *
  • 151
  • +0/-0
    • http://www.arachnerd.com/
[ANNOUNCE] smeserver-backuppc
« Reply #96 on: August 18, 2006, 04:23:44 PM »
Merci, in English now.

Now that I've upgraded, I'm not able to get any backups to work on my tar clients.  My 127.0.0.1 client is failing, and I'm not sure if its a permissions issue, or some configuragion screwup (see error below).

Is there a way to restore default config.pl settings?  I've made so many changes that I'm not sure where the error is, and can't interpret where the problem is from this error message.

Executing DumpPreUserCmd: /usr/bin/sudo /sbin/e-smith/signal-event pre-backup
Running: /usr/bin/sudo /bin/tar -c -v -f - -C  --totals --newer=2006-08-16 19:00:07 --exclude=./proc --exclude=./sys --exclude=./dev --exclude=./tmp --exclude=./home/e-smith/files/ibays/backup --exclude=./mnt ./etc/e-smith/templates-custom ./etc/e-smith/templates-user-custom ./etc/group ./etc/gshadow ./etc/passwd ./etc/samba/secrets.tdb ./etc/samba/smbpasswd ./etc/shadow ./etc/smbpasswd ./etc/ssh ./etc/sudoers ./home/e-smith ./opt ./root ./var/cache/yum ./var/lib/mysql
Xfer PIDs are now 22694,22693
/bin/tar: : Cannot chdir: No such file or directory
/bin/tar: Error is not recoverable: exiting now
Tar exited with error 512 () status
tarExtract: /usr/local/bin/BackupPC_tarExtract: bad share name ''
Got fatal error during xfer (Tar exited with error 512 () status)
Backup aborted (Tar exited with error 512 () status)

I'd be happy to post my config.pl and host config as well if interested.

-JL
............

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #97 on: August 18, 2006, 04:52:34 PM »
I don't see where the error comes from, maybe you could mail me the host config.pl and the general config.pl (to prevent the forum from being overcrowded).My mail: daniel@firewall-services.com. I'll mail you the default 127.0.0.1 config.pl file and I'll try to find out on my test server why your config does not work.
Best regards,

daniel
C'est la fin du monde !!! :lol:

jcoleman

[ANNOUNCE] smeserver-backuppc
« Reply #98 on: August 18, 2006, 06:23:24 PM »
Daniel,

I have had exactly the same problem so that you know it isn't an isolated case......

-jeff

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #99 on: August 21, 2006, 05:21:13 PM »
Quote from: "jcoleman"
Daniel,

I have had exactly the same problem so that you know it isn't an isolated case......

-jeff


It wasn't the same problem (if you refer to the sudoers permission problem), it was some shareName configuration issue, so I don't think it's usefull to put the solution here.

But I saw another problem and everyone is concerned. The pre-backup event do not work, so the mysql db are not saved because when called by another user that root (even with sudo), the connexion to the mysql server fail. I'm looking for a solution. If someone got an idea...
C'est la fin du monde !!! :lol:

lepounet

[ANNOUNCE] smeserver-backuppc
« Reply #100 on: August 22, 2006, 10:54:20 AM »
Hi,
The links seems to be broken :
http://sme.firewall-services.com/backuppc

Alain

Landry

[ANNOUNCE] smeserver-backuppc
« Reply #101 on: August 22, 2006, 12:25:19 PM »
Server is currently down and offline due to a move of the infrastructures of firewall-services, and problems with the ISP.

Sorry for this.

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #102 on: August 23, 2006, 04:28:55 PM »
The server is online now !
C'est la fin du monde !!! :lol:

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
[ANNOUNCE] smeserver-backuppc
« Reply #103 on: August 24, 2006, 12:48:32 PM »
Third release available. Several things has been corrected:

- HTML documentationn problem fixed (wasn't available)
- Pre-backup event now works (thanks to CharlieBrady)
- CGI interface of backuppc now accessible directly from the server-manager
- Correction of rsync default args so that repports can be sent by mail
- Added a K99backuppc links in rc6.d to stop backuppc properly
- Some default configuration adjusted (now default language is en for exemple)
- Modifiation of the upgrade scriplet so that it's very faster if you already have a large pool of backup

Don't forget to save your config (in the panel) before upgrading and to restore it after.
Just one other thing, if you have modified the 127.0.0.1 config file, then run this before the upgrade:

Code: [Select]
cp /home/e-smith/files/ibays/backup/files/pc/127.0.0.1/config.pl /home/e-smith/files/ibays/backup/files/save/127.0.0.1.config

and after, restore the configuration through the server-manager.

Then change the DumpPreUserCmd to this one:

Code: [Select]
$Conf{DumpPreUserCmd} = '/usr/local/bin/BackupPC_pre-backup';

http://sme.firewall-services.com/backuppc
C'est la fin du monde !!! :lol:

jcoleman

[ANNOUNCE] smeserver-backuppc
« Reply #104 on: August 24, 2006, 04:07:38 PM »
Hi Daniel,

Great work.  Thanks.

I have just uninstalled/reinstalled the latest rpm and still have an issue with getting a local backup on 127.0.0.1.

Here are the log errors:

Code: [Select]
2006-08-24 07:02:29 full backup started for directory /
2006-08-24 07:02:32 Got fatal error during xfer (Tar exited with error 256 () status)
2006-08-24 07:02:37 Backup aborted (Tar exited with error 256 () status)


I am not sure what is going on here but this has been consistent thru the last several revs.

Any ideas?

-jeff