Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: pnmls on February 13, 2007, 05:59:13 PM

Title: dar2 problem
Post by: pnmls on February 13, 2007, 05:59:13 PM
Hi,
This post was published inside another topic by error, so I'm republishing it as a topic.
I'm having some dificulty working with dar2.
I've installed last version on sme 7.1 server and configured a full backup job manual. However, I don't get the desired backup in my usb-disk. It is mounted and rw mode. In the /var/log/messages, I get this:
|Action|S50rewind-tape|Start|1171057152 467773|End|1171057152 593518|Elapsed|0.125745
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password|11.FZdpvs|Prune||Slice|650|Target|/dev/sdc1|Username|admin|VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password|11.FZdpvs|Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password|11.FZdpvs|Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|1|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|17:05|status|enabled
Feb 9 21:42:25 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31264]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb 9 21:42:51 www kernel: kjournald starting. Commit interval 5 seconds
Feb 9 21:42:51 www kernel: EXT3 FS on sdc1, internal journal
Feb 9 21:42:51 www kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb 9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/dev/sdc1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb 9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb 9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/dev/sdc1|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb 9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb 9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:43|status|enabled
Feb 9 21:43:39 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31308]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb 9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/mnt/dar2|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb 9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb 9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/mnt/dar2|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb 9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb 9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:45|status|enabled
Feb 9 21:45:32 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31375]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb 9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb 9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb 9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb 9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk1|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb 9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: OLD backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk1|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:47|status|enabled
Feb 9 21:46:48 www /etc/e-smith/web/panels/manager/cgi-bin/dar2[31410]: /home/e-smith/db/dar2: NEW backup_total=dar2|Backup|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,root|Compression|3|Description|backup__total|Exclude||Expiry|0|Mount|/media/usbdisk1|Password||Prune||Slice|650|Target|/media/usbdisk1|Username||VFSType|ext3|Verbose|off|backupDay|manual|backupTime|21:48|status|enabled
Feb 9 21:47:00 www kernel: kjournald starting. Commit interval 5 seconds
Feb 9 21:47:00 www kernel: EXT3 FS on sdc1, internal journal
Feb 9 21:47:00 www kernel: EXT3-fs: mounted filesystem with ordered data mode.
Feb 9 21:47:00 www esmith::event[31436]: Processing event: pre-backup
Feb 9 21:47:00 www esmith::event[31436]: Running event handler: /etc/e-smith/events/pre-backup/S10mysql-delete-dumped-tables
Feb 9 21:47:00 www esmith::event[31436]: S10mysql-delete-dumped-tables=action|Event|pre-backup|Action|S10mysql-delete-dumped-tables|Start|1171057620 947971|End|1171057620 951465|Elapsed|0.003494
Feb 9 21:47:00 www esmith::event[31436]: Running event handler: /etc/e-smith/events/pre-backup/S20mysql-dump-tables
Feb 9 21:47:00 www esmith::event[31436]: mysqldump: Got error: 1045: Access denied for user 'root'@'localhost' (using password: YES) when trying to connect
Feb 9 21:47:00 www esmith::event[31436]: S20mysql-dump-tables=action|Event|pre-backup|Action|S20mysql-dump-tables|Start|1171057620 951786|End|1171057620 962112|Elapsed|0.010326|Status|512
Feb 9 21:47:00 www esmith::event[31436]: Running event handler: /etc/e-smith/events/pre-backup/S50rewind-tape
Feb 9 21:47:01 www esmith::event[31436]: S50rewind-tape=action|Event|pre-backup|Action|S50rewind-tape|Start|1171057620 962306|End|1171057621 88497|Elapsed|0.126191

If I do it manualy, I only get to the pre-processing event and it stops.
Anyone have an ideia?!?!?!?!

Thanks
Pedro
Title: dar2 problem
Post by: dmay on February 13, 2007, 11:53:12 PM
You show a broken mysql root password:
Code: [Select]
mysqldump: Got error: 1045: Access denied for user 'root'@'localhost'
This is not directly an smeserver-dar2 issue. It just became visible to you because the dar2-backup script exits if critical errors are encountered during processing. This Bugzilla entry may help you:

http://bugs.contribs.org/show_bug.cgi?id=778

Darrell
Title: Thanks
Post by: pnmls on February 14, 2007, 12:58:15 PM
Darrell,

Thanks for the tip. :D
Pedro