tags 363511 + sarge thanks * Kai Hauser ([EMAIL PROTECTED]) disait : > Package: backup-manager > Version: 0.5.7-1sarge1
I would suggest to upgrade to the last stable version [1] of backup-manager (0.6.2) which is available as a backported package [2] for sarge. This release fixes a lot of bugs and comes in a better shape than 0.5.x. 1: http://www.backup-manager.org/releases/06 2: http://www.backports.org/package.php?search=backup-manager > i run this script for backups: > > ----------------------- > #!/bin/bash > cp -Rp /etc /sdb/backups/daily/ > cp -Rp /var/www/ /sdb/backups/daily/ > > /etc/init.d/mysql stop > cp -Rp /sdb/mysql/ /sdb/backups/daily/ > /etc/init.d/mysql start > ----------------------- Moreover, in 0.6.2, you can do mysql backups within backup-manager, which is safer than copy by hand mysql files. > there is a problem with files which contains blanks in their names. > > /usr/sbin/backup-manager: line 213: [: > /sdb/backups/daily/www/vhosts/domain1/httpdocs/images/cust_img/abendstimmung: > binary operator expected > /usr/sbin/backup-manager: line 217: [: > /sdb/backups/daily/www/vhosts/domain1/httpdocs/images/cust_img/abendstimmung: > binary operator expected > /usr/sbin/backup-manager: line 181: [: > /sdb/backups/daily/www/vhosts/domain1/httpdocs/images/cust_img/abendstimmung: > binary operator expected > ... > /usr/sbin/backup-manager: line 188: [: 50009222017240950001: integer > expression expected I'm pretty sure this is fixed in the last stable release. > there is also a problem with symlinks, it seems that backup-manager > follows them if even though BM_DUMP_SYMLINKS="false" This works gently in current versions, symlinks are not followed. > /usr/sbin/backup-manager: line 181: [: > /sdb/backups/daily/www/vhosts/test/httpdocs/vhosts is a symlink to > /var/www/vhosts/ > > I had to kill backup-manager by hand otherwise it would still run. Isn't there a circular symlink in your fs? $ find /sdb -type l > I dont know which of both bugs it was but all files in /var/www/vhosts > expect folders and .hidden files got deleted. You don't use /var/www/vhosts as the archives repository, do you? If so, that's a bad idea. You have to use a dedicated place to store your archives. My advice would be to upgrade to 0.6.2-0bpo1, sarge version is deprecated and full of known bugs. Best regards. -- Alexis Sukrieh <[EMAIL PROTECTED]> 0x1EE5DD34 Debian http://www.debian.org Backup Manager http://www.backup-manager.org -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]